Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyserve : Throwing error " Use of const in strict mode. - commandLineArgs" #27

Closed
prashanth726 opened this issue May 22, 2016 · 2 comments

Comments

@prashanth726
Copy link

Running polyserve throwing follow error
const commandLineArgs = require('command-line-args'); ^^^^^ SyntaxError: Use of const in strict mode. at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17)

Refer the image for more info
cl

@prashanth726
Copy link
Author

It should be fixed in polyserve #51 commit,
Polymer/polyserve#51
But no luck??
node v0.12.5

@x1ddos
Copy link
Contributor

x1ddos commented Apr 17, 2018

@itspr I'm afraid we will not be fixing this here but we're working on a drop-in replacement using just Custom Elements spec, without Polymer or other frameworks/libs, in https://github.com/googlecodelabs/codelab-elements.

See #49 for more details.

@x1ddos x1ddos closed this as completed Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants