jasmine-node shows error when ran from command prompt
问题 Installed jasmine-node using this: sudo npm install jasmine-node -g It is successful and shows: /usr/bin/jasmine-node -> /usr/lib/node_modules/jasmine-node/bin/jasmine-node jasmine-node@1.14.3 /usr/lib/node_modules/jasmine-node ├── underscore@1.6.0 ├── mkdirp@0.3.5 ├── walkdir@0.0.7 ├── jasmine-reporters@2.0.0 ├── coffee-script@1.7.1 ├── requirejs@2.1.14 ├── jasmine-growl-reporter@0.0.3 (growl@1.7.0) └── gaze@0.3.4 (minimatch@0.2.14, fileset@0.1.5) But when I try to run this: $ jasmine-node