-
Notifications
You must be signed in to change notification settings - Fork 283
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
Verdaccio can't start after updating #2534
Comments
What is your node.js version? run Also what is your verdaccio version? run |
Its node.js version 8.10.0 (which is depcricated now i think? could that be causing the issue?) and i cant see the verdaccio version because it comes up with the same error as posted above, anytime i try to do a verdaccio command it throws it, i'd imagine it would be quite a new version since its updated every month though. |
Node version 8+ shouldn't be causing the issue, as Verdaccio requires 6+. This may require an issue to be opened in verdaccio itself, over here: https://github.com/verdaccio/verdaccio/issues |
@enzy20000 your issue is explained here verdaccio/verdaccio#1753 If you cannot upgrade to node v10 , then use
We have dropped Node 8 after In a nutshell, Verdaccio
|
Thank you Juan!! |
Not sure if this is the right place to put this?
I don't know much about verdaccio as i normally wokr on Windows, verdaccio was working fine, then to update it i types "npm install -g verdaccio" then let it do its thing and restarted both verdaccio and nginx, nginx started fine but verdaccio will not start and is throwing a weird missing syntax token error:
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/verdaccio/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js:18:5)
Can anyone please help me out?
The text was updated successfully, but these errors were encountered: