2016-09-22 5 views
0

wenn ich versuche, einfaches Projekt zu erstellen, wie neue awesome-Projekt adonis i erhalten Fehler:NodeJS installieren adonis-Framework erhalten Fehler

adonis new awesome-project 

Cloning into 'awesome-project'... 
cleaning project 
setting up app key 
Fixing ace file 
installing dependencies may take a while 
installing dependencies... | 
> [email protected] postinstall /home/mahdi/Desktop/Home/www/adonisjs/awesome-project/node_modules/spawn-sync 
> node postinstall 

installing dependencies... | ERR! Linux 3.19.0-32-generic 
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" 
npm ERR! node v4.5.0 
npm ERR! npm v2.15.9 
npm ERR! code EBADPLATFORM 

npm ERR! notsup Unsupported 
npm ERR! notsup Not compatible with your operating system or architecture: [email protected] 
npm ERR! notsup Valid OS: darwin 
npm ERR! notsup Valid Arch: any 
npm ERR! notsup Actual OS: linux 
npm ERR! notsup Actual Arch: x64 
installing dependencies.../
npm ERR! Please include the following file with any support request: 
npm ERR!  /home/mahdi/Desktop/Home/www/adonisjs/awesome-project/npm-debug.log 
undefined 
[email protected]:/var/www/adonisjs$ 

Mein Linux-Betriebssystem ist ubuntu und ich bin vertraut nodejs, i don‘ t haben ein Problem für die Arbeit mit diesem

+0

Welche Version von Knoten und npm verwenden Sie? – l0rin

+0

@ l0rin 'nodejs' Version ist v4.5.0 und' npm' Version ist 2.15.9 –

+0

Aus der Adonis Dokumentation: Node.js Version 4.0 oder höher. npm Version 3.0 oder höher. versuche 'npm i -g npm' – l0rin

Antwort