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

i can't run built code #295

Open
samueljim opened this issue Dec 6, 2017 · 4 comments
Open

i can't run built code #295

samueljim opened this issue Dec 6, 2017 · 4 comments

Comments

@samueljim
Copy link

PS C:\Users\thesa\Documents\ia-jn> yarn run start
yarn run v1.1.0
$ cross-env NODE_ENV=production node ./node_modules/.bin/pm2 start server.js -i max --attach
C:\Users\thesa\Documents\ia-jn\node_modules.bin\pm2:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^

SyntaxError: missing ) after argument list
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@Sly777
Copy link
Owner

Sly777 commented Dec 8, 2017

Hey @samueljim, do you give information about your system such as node.js version, windows version, npm version, ran version,...etc?

@samueljim
Copy link
Author

Windows 10 - 16299
Node 8.9.1 ( i also used 6 and 8.4)
I used the latest version of ran that i pulled the same week as the post

@johhansantana
Copy link

I think you need to run yarn build before yarn start

@samueljim
Copy link
Author

I have done that many times

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

3 participants