node.js - jasmin-node not working in Windows -
i'm trying run jasmine-node windows cmd no success. package.json @ top level of project, following
{ "devdependencies": { "jasmine-node": "" } }
i run @ top level of project.
npm install
and this
node_modules/jasmine-node/bin/jasmine-node spec/greetspec.js
this result
'node_modules' not recognized internal or external command, operable program or batch file.
what went wrong installing jasmin-node? proper way in windows?
it seems reading same book right now.
all need put node
command before path node_modules/jasmine-node/bin/jasmine-node spec/greetspec.js
, use backslashes \
this:
node node_modules\jasmine-node\bin\jasmine-node spec\greetspec.js
Comments
Post a Comment