jakblak / ng4_CRUD

Angular 4 CRUD example app
34 stars 49 forks source link

geting error while npm install #1

Open Neetesh1 opened 7 years ago

Neetesh1 commented 7 years ago

Hi,

I am getting bewlo issue while doing npm install. ( i have node version v6.11.0, npm version 3.10.10)

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os ":"win32","arch":"x64"}) npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Users\neetesh.vishwakarma\angular2\node.exe" "C:\Users\neetesh.vishwakarma\angular2\node_modules\npm\bin\npm -cli.js" "install" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! Angular2-Boilerplate@1.0.0 postinstall: typings install npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the Angular2-Boilerplate@1.0.0 postinstall script 'typings install'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the Angular2-Boilerplate package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! typings install npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs Angular2-Boilerplate npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls Angular2-Boilerplate npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\neetesh\angular-crud\npm-debug.log

SiddharthaSarma commented 7 years ago

Hey @Neetesh1, First install typings globally using the following command npm install typings --global

After that run the command npm install

The above procedure worked for me.

UmeshShelke06 commented 6 years ago

when i run npm install it saying typings.json is missing and project not able to run it says it will run in npm module only