Run a polymer command like `polymer help`, it always throws an error -
i trying follow polymer tutorial: https://www.polymer-project.org/1.0/start/toolbox/set-up
when run polymer command polymer help
, allways throws following error:
c:\(...)\npm\node_modules\polymer-cli\bin\polymer.js:19 let lib = path ? require(path) : require('..'); ^^^ syntaxerror: unexpected strict mode reserved word @ exports.runinthiscontext (vm.js:73:16) @ module._compile (module.js:443:25) @ object.module._extensions..js (module.js:478:10) @ module.load (module.js:355:32) @ function.module._load (module.js:310:12) @ function.module.runmain (module.js:501:10) @ startup (node.js:129:16) @ node.js:814:3
i reinstalled polymer cli, returns allways same error.
i found solution!
i reinstalled node js , can run polymer. maybe had unsuported version of node js.
Comments
Post a Comment