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

Error while compiling #1

Closed
johnmesh opened this issue Sep 1, 2017 · 3 comments
Closed

Error while compiling #1

johnmesh opened this issue Sep 1, 2017 · 3 comments

Comments

@johnmesh
Copy link

johnmesh commented Sep 1, 2017

i am trying to compile this project on windows using "sbt run" command but i keep getting this error message.

java.io.IOException: Cannot run program "npm" (in directory "S:\play-angular2-java-seed-master\ui"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) java.io.IOException: Cannot run program "npm" (in directory "S:\play-angular2-java-seed-master\ui"): CreateProcess error=2, The system cannot find the file specified
[error] Total time: 0 s, completed Sep 1, 2017 2:59:17 PM

@s4kibs4mi
Copy link
Owner

@johnmesh so far npm is not installed or configured on the system correctly.

@johnmesh
Copy link
Author

johnmesh commented Sep 1, 2017

@s4kibs4mi i had already installed the latest npm on my system...currently its v5.3.0

@johnmesh
Copy link
Author

johnmesh commented Sep 2, 2017

it worked finally. i forgot to prefix "npm install" command with "cmd /c" in UIBuild.scala file.

@johnmesh johnmesh closed this as completed Sep 2, 2017
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