Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gather 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- frontend-maven-plugin:0.0.24:install-node-and-npm (install node and n
pm) @ gather ---
[INFO] Installing node version v0.10.33
[INFO] No proxy was configured, downloading directly
[INFO] Installed node.exe locally.
[INFO] Installing npm version 1.3.8
[INFO] Downloading NPM from http://registry.npmjs.org/npm/-/npm-1.3.8.tgz to C:\
Users\username\gather\npm.tar.gz
[INFO] No proxy was configured, downloading directly
[INFO] Extracting NPM files in node/
[INFO] Unpacking C:\Users\username\gather\npm.tar.gz into C:\Users\username\gather/node
[INFO] Installed NPM locally.
[INFO]
[INFO] --- frontend-maven-plugin:0.0.24:npm (npm install) @ gather ---
[INFO] Running 'npm install --color=false' in C:\Users\username\gather\src\main\resources\static
[ERROR] npm ERR! install Couldn't read dependencies
[ERROR] npm ERR! Error: ENOENT, open 'C:\Users\username\gather\src\main\resources\static\package.json'
[ERROR] npm ERR! If you need help, you may report this log at:
[ERROR] npm ERR!     
[ERROR] npm ERR! or email it to:
[ERROR] npm ERR!     <npm-@googlegroups.com>
[ERROR]
[ERROR] npm ERR! System Windows_NT 6.1.7601
[ERROR] npm ERR! command "C:\\Users\\username\\gather\\node\\node.exe" "C:\\Users\\
username\\gather\\node\\npm\\bin\\npm-cli.js" "install" "--color=false"
[ERROR] npm ERR! cwd C:\Users\username\gather\src\main\resources\static
[ERROR] npm ERR! node -v v0.10.33
[ERROR] npm ERR! npm -v 1.3.8
[ERROR] npm ERR! path C:\Users\username\gather\src\main\resources\static\package.js
on
[ERROR] npm ERR! code ENOENT
[ERROR] npm ERR! errno 34
[ERROR] npm
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.096 s
[INFO] Finished at: 2016-02-14T20:19:47-05:00
[INFO] Final Memory: 16M/208M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.24:
npm (npm install) on project gather: Failed to run task: 'npm install --color=false' failed. (error code 34) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException


What I have tried:

I was trying to build a spring boot maven project via git bash (cmd) (also with eclipse) and getting following errors while compiling. I also have the nodejs installed in "C:\Program Files\nodejs". The same exact project runs fine on MAC without any errors and not sure why windows gives me these errors.

Thanks in advance!
Posted
Updated 15-Feb-16 4:51am
v2
Comments
Richard MacCutchan 15-Feb-16 11:31am    
You have a file or directory name mis-spelled or missing, as noted in the error messages.
Member 12328730 15-Feb-16 13:32pm    
could be more specific?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900