angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng run error on ubuntu

Open sombochea opened this issue 9 years ago • 22 comments

root@localhost:$ ng /usr/local/lib/node_modules/angular-cli/node_modules/@ngtools/json-schema/src/schema-class-factory.js:33 result.push(...indices); ^^^

SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object. (/usr/local/lib/node_modules/angular-cli/node_modules/@ngtools/json-schema/src/index.js:2:30) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10)

How to resolve it! Please me! on Ubuntu 16.04 LTS

sombochea avatar Feb 18 '17 12:02 sombochea

Thank you Ionaru you the new repo and update worked well for me.

bclincy avatar Oct 04 '17 03:10 bclincy

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.