2017-03-21 4 views
0

Ich habe gerade angefangen, UIKit3 (getuitkit.com) zu verwenden, und ich bekomme diesen Fehler, wenn npm run watch läuft - ich kann auch nicht npm run compile entweder verwenden. Irgendwelche Ideen? Dies ist der Fehler, den ich mit Uhr bekommen ...npm ist nicht kompilierbar - uikit3

[compile-less] /Users/Michael/Sites/uikit-3/build/icons.js:10 
glob(custom, (err, folders) => 
          ^^ 
SyntaxError: Unexpected token => 
    at exports.runInThisContext (vm.js:73:16) 
    at Module._compile (module.js:443:25) 
    at Object.Module._extensions..js (module.js:478:10) 
    at Module.load (module.js:355:32) 
    at Function.Module._load (module.js:310:12) 
    at Function.Module.runMain (module.js:501:10) 
    at startup (node.js:129:16) 
    at node.js:814:3 
[compile-less] [nodemon] app crashed - waiting for file changes before starting... 

Und das für Kompilierung ...

/Users/Michael/Sites/uikit-3/build/icons.js:10 
glob(custom, (err, folders) => 
          ^^ 
SyntaxError: Unexpected token => 
    at exports.runInThisContext (vm.js:73:16) 
    at Module._compile (module.js:443:25) 
    at Object.Module._extensions..js (module.js:478:10) 
    at Module.load (module.js:355:32) 
    at Function.Module._load (module.js:310:12) 
    at Function.Module.runMain (module.js:501:10) 
    at startup (node.js:129:16) 
    at node.js:814:3 

npm ERR! Darwin 16.1.0 
npm ERR! argv "node" "/usr/local/bin/npm" "run" "icons" 
npm ERR! node v0.12.0 
npm ERR! npm v2.5.1 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] icons: `node build/icons` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] icons script 'node build/icons'. 
npm ERR! This is most likely a problem with the uikit package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node build/icons 
npm ERR! You can get their info via: 
npm ERR!  npm owner ls uikit 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  /Users/Michael/Sites/uikit-3/npm-debug.log 

npm ERR! Darwin 16.1.0 
npm ERR! argv "node" "/usr/local/bin/npm" "run" "compile-less" 
npm ERR! node v0.12.0 
npm ERR! npm v2.5.1 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] compile-less: `npm run icons && node build/less` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] compile-less script 'npm run icons && node build/less'. 
npm ERR! This is most likely a problem with the uikit package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  npm run icons && node build/less 
npm ERR! You can get their info via: 
npm ERR!  npm owner ls uikit 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  /Users/Michael/Sites/uikit-3/npm-debug.log 

npm ERR! Darwin 16.1.0 
npm ERR! argv "node" "/usr/local/bin/npm" "run" "compile" 
npm ERR! node v0.12.0 
npm ERR! npm v2.5.1 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] compile: `npm run compile-less && npm run compile-js` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] compile script 'npm run compile-less && npm run compile-js'. 
npm ERR! This is most likely a problem with the uikit package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  npm run compile-less && npm run compile-js 
npm ERR! You can get their info via: 
npm ERR!  npm owner ls uikit 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  /Users/Michael/Sites/uikit-3/npm-debug.log 

Antwort

0

Sie scheinen Knoten v0.12.0 zu laufen. Die Build-Tools von UIkit benötigen eine Mindestversion von 4.4+. Bitte aktualisieren Sie auf eine aktuelle Node-Version. https://nodejs.org/en/

Verwandte Themen