Closed tmar89 closed 5 years ago
npm install fails because of a syntax error after I check out the repository.
npm http 200 https://registry.npmjs.org/isarray/1.0.0 npm http GET https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz npm http 200 https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz > webpack-cli@3.3.2 postinstall /usr/OpenMCT/openmct-tutorial/node_modules/openmct/node_modules/painterro/node_modules/webpack-cli > node ./bin/opencollective.js /usr/OpenMCT/openmct-tutorial/node_modules/openmct/node_modules/painterro/node_modules/webpack-cli/bin/opencollective.js:12 function print(str = "", color = "dim") { ^ SyntaxError: Unexpected token = at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:945:3 npm ERR! weird error 8 npm ERR! not ok code 0 [tm@tel openmct-tutorial]#
Needed to upgrade node/npm
npm install fails because of a syntax error after I check out the repository.