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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -