node.js - I am new to Node js; and am having trouble using starting using it -
i have installed node.js website, when type in install npm after directions in command line; states "unexpected token: illegal". how fix this? there specific step step way install node.js , package.json?
it depends on want do:
if want create new application scratch:
md myapp npm init
then answer questions npm
asks you. npm init
creates package.json
you.
now can install other packages express
using npm installl --save express
if have been cloning node.js app or module github, change directory, run:
npm install
Comments
Post a Comment