when i try to create simple project as adonis new awesome-project i get error:
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
mahdi@HP-EliteBook:/var/www/adonisjs$
My linux operating system is ubuntu and i'm familiar nodejs, i don't have any problem for work with that
nodejsversion is v4.5.0 andnpmversion is 2.15.9npm i -g npmnpm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})