Reputation: 1051
I want to run an existing MEAN Stack Project. The steps I am following are first I am running npm install
and then npm run typings -- install
because I can't see any typings folder. But I am getting these errors.
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "typings" "--" "install"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! missing script: typings
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/sami/projects/myappadmin/npm-debug.log
I am not sure how to get rid of this I spent a lot of time on google and tried different solutions but nothing worked for me.
My node version is v6.9.5
. nodejs version is v4.4.7
. MongoDB shell version: 3.0.9
. npm 3.10.10
. nvm 0.31.1
ubuntu : 15.10
.
Upvotes: 0
Views: 1686
Reputation: 37403
why you are using typings use @types instead , read this article:
Upvotes: 1
Reputation: 2701
This issue exists probably because you don't have "typings" script defined in your package.json. If you want to install typings, use
npm install typings -g
Upvotes: 1