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

Unexpected token case #2360

Closed
Cxeep opened this issue Aug 29, 2016 · 2 comments
Closed

Unexpected token case #2360

Cxeep opened this issue Aug 29, 2016 · 2 comments

Comments

@Cxeep
Copy link

Cxeep commented Aug 29, 2016

This's my environment:
npm : 2.14.12
node : 4.2.4
pm2 : 1.1.3
sinopia : 1.4.0
OS : window 8

I want use pm2 manage my sinopia process.

command like this :
pm2 start which sinopia

but, I can't visit my sinopia website. and the error-log tell me :

SyntaxError: Unexpected token case
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:414:25)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Function._load (c:\Users\Administrator\AppData\Roaming\npm\node_modules\pm2\node_modules\pmx\lib\transaction.js:62:21)
    at Object.<anonymous> (c:\Users\Administrator\AppData\Roaming\npm\node_modules\pm2\lib\ProcessContainerFork.js:46:21)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)

So, I don't know what happened?

@vmarchaud
Copy link
Contributor

Duplicate #2037, only happening on windows, look like an error of javascript parsing, we dont know where its coming from.

@Cxeep
Copy link
Author

Cxeep commented Aug 30, 2016

3ks & f*ck windows

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