sudo apt-get install -y nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (10.19.0~dfsg-3ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
-
sudo ln -s /usr/bin/nodejs /usr/bin/node
ln: failed to create symbolic link '/usr/bin/node': File exists
-
npm start
npm ERR! missing script: start
npm ERR! A complete log of this run can be found in:
npm ERR! /home/fredo/.npm/_logs/2021-04-07T17_44_46_247Z-debug.log
-
2021-04-07T17_44_46_247Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using npm@6.14.4
3 info using node@v10.19.0
4 verbose stack Error: missing script: start
4 verbose stack at run (/usr/share/npm/lib/run-script.js:155:19)
4 verbose stack at /usr/share/npm/lib/run-script.js:63:5
4 verbose stack at /usr/share/nodejs/read-package-json/read-json.js:116:5
4 verbose stack at /usr/share/nodejs/read-package-json/read-json.js:436:5
4 verbose stack at checkBinReferences_ (/usr/share/nodejs/read-package-json/read-json.js:391:45)
4 verbose stack at final (/usr/share/nodejs/read-package-json/read-json.js:434:3)
4 verbose stack at then (/usr/share/nodejs/read-package-json/read-json.js:161:5)
4 verbose stack at /usr/share/nodejs/read-package-json/read-json.js:281:12
4 verbose stack at /usr/share/nodejs/graceful-fs/graceful-fs.js:115:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
5 verbose cwd /home/fredo/Development/Javascript/Vue.js: Testes unitários automatizados com Jest/vue-test-master
6 verbose Linux 5.8.0-48-generic
7 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
8 verbose node v10.19.0
9 verbose npm v6.14.4
10 error missing script: start
11 verbose exit [ 1, true ]
-
npm install
> yorkie@2.0.0 install /home/fredo/Development/Javascript/Vue.js: Testes unitários automatizados com Jest/vue-test-master/node_modules/yorkie
> node bin/install.js
setting up Git hooks
can't find .git directory, skipping Git hooks installation
> core-js@2.6.11 postinstall /home/fredo/Development/Javascript/Vue.js: Testes unitários automatizados com Jest/vue-test-master/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> core-js@3.6.5 postinstall /home/fredo/Development/Javascript/Vue.js: Testes unitários automatizados com Jest/vue-test-master/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
> core-js-pure@3.6.5 postinstall /home/fredo/Development/Javascript/Vue.js: Testes unitários automatizados com Jest/vue-test-master/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"
> ejs@2.7.4 postinstall /home/fredo/Development/Javascript/Vue.js: Testes unitários automatizados com Jest/vue-test-master/node_modules/ejs
> node ./postinstall.js
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1598 packages from 1073 contributors and audited 1602 packages in 17.815s
54 packages are looking for funding
run `npm fund` for details
found 4730 vulnerabilities (4686 low, 8 moderate, 36 high)
run `npm audit fix` to fix them, or `npm audit` for details
-