tehon:~/workspace (master) $ node -v
v4.6.1
tehon:~/workspace (master) $ npm -v
2.15.9
tehon:~/workspace (master) $ sudo npm cache clean -f
npm WARN using --force I sure hope you know what you are doing.
tehon:~/workspace (master) $ sudo npm install -g n
/home/ubuntu/.nvm/versions/node/v4.6.1/bin/n -> /home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/n/bin/n
n@2.1.4 /home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/n
tehon:~/workspace (master) $ sudo npm install npm -g
/home/ubuntu/.nvm/versions/node/v4.6.1/bin/npm -> /home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/npm/bin/npm-cli.js
npm@4.3.0 /home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/npm
tehon:~/workspace (master) $ npm -v
4.3.0
tehon:~/workspace (master) $ sudo npm install -g npm
/home/ubuntu/.nvm/versions/node/v4.6.1/bin/npm -> /home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/npm/bin/npm-cli.js
/home/ubuntu/.nvm/versions/node/v4.6.1/lib
└── npm@4.3.0
tehon:~/workspace (master) $ nvm install 7
Downloading https://nodejs.org/dist/v7.6.0/node-v7.6.0-linux-x64.tar.xz...
######################################################################## 100.0%
Now using node v7.6.0 (npm v4.1.2)
tehon:~/workspace (master) $ node -v
v7.6.0
tehon:~/workspace (master) $ npm -v
4.1.2
tehon:~/workspace (master) $ sudo npm install -g npm
/home/ubuntu/.nvm/versions/node/v7.6.0/bin/npm -> /home/ubuntu/.nvm/versions/node/v7.6.0/lib/node_modules/npm/bin/npm-cli.js
- core-util-is@1.0.2 node_modules/npm/node_modules/mississippi/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is
- isarray@1.0.0 node_modules/npm/node_modules/mississippi/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/npm/node_modules/mississippi/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/npm/node_modules/mississippi/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/npm/node_modules/mississippi/node_modules/concat-stream/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.6 node_modules/npm/node_modules/mississippi/node_modules/concat-stream/node_modules/readable-stream
- core-util-is@1.0.2 node_modules/npm/node_modules/mississippi/node_modules/through2/node_modules/readable-stream/node_modules/core-util-is
- isarray@1.0.0 node_modules/npm/node_modules/mississippi/node_modules/through2/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/npm/node_modules/mississippi/node_modules/through2/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/npm/node_modules/mississippi/node_modules/through2/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/npm/node_modules/mississippi/node_modules/through2/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.6 node_modules/npm/node_modules/mississippi/node_modules/through2/node_modules/readable-stream
/home/ubuntu/.nvm/versions/node/v7.6.0/lib
└─┬ npm@4.3.0
├── ansi-regex@2.1.1
├── aproba@1.1.1
├── hosted-git-info@2.2.0
├── lazy-property@1.0.0
└─┬ mississippi@1.3.0
├── concat-stream@1.6.0
├── duplexify@3.5.0
├── flush-write-stream@1.0.2
├─┬ parallel-transform@1.1.0
│ └── cyclist@0.2.2
├── pump@1.0.2
├─┬ stream-each@1.2.0
│ └── stream-shift@1.0.0
└── through2@2.0.3
tehon:~/workspace (master) $ npm -v
4.3.0
tehon:~/workspace (master) $ sudo npm install -g
$ npm start
module.js
throw 시키면서 시작 안된다.
toffee_openmct