npm WARN generates a Maven ERROR
See original GitHub issueIn my npm install phase some node_modules generate some warnings about deprecated versions (like grunt). But in the Maven log, this is an ERROR instead of a WARNING. We’re using Jenkins as our build tool and these errors cause wrong log analysis.
[INFO] --- frontend-maven-plugin:0.0.27:npm (install node, npm and dependencies) @ theme ---
[INFO] Found proxies: []
[INFO] Running 'npm install --color=false' in C:\theme
[ERROR] npm WARN deprecated lodash@0.9.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
[ERROR] npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
[ERROR] npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
[ERROR] npm WARN prefer global node-gyp@3.2.1 should be installed with -g
Changing the logging from ERROR to WARNING would be nice.
Issue Analytics
- State:
- Created 8 years ago
- Comments:20 (6 by maintainers)
Top Results From Across the Web
Ask Question - Stack Overflow
NPM install not working with maven (Error: Cannot find module '../lib/utils/unsupported.js') ... I am using a MAC. The Node_Path environment ...
Read more >Solved: Re: [ERROR] Failed to execute goal com.github.eirs...
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.6:npm (npm install) on project aem-magazine.ui.frontend: Failed to run task: 'npm ...
Read more >[#NIFI-3936] Follow the instructions step, maven build fails
When i execute “mvn -T 2.0C clean install ” or "mvn clean install" to compile nifi source, The following error occurred. How can...
Read more >Eclipse Scout » Cannot build project
Hi, I created new Scout 10 project using latest Eclipse. I have Node installed. I can run app localy. But problem is when...
Read more >Running NPM Scripts through maven - Popular Blocks
Running NPM Scripts through maven. I am in the process of introducing single page applications to where I work. For development, using node...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Even with the --verbose flag too, I do not see any additional error messages:
Also, tried to with -X command to see if maven prints any additional log messages, still do not really see anything in particular.
Is the plugin reporting this [ERROR], which is causing our CI to break? @eirslett @mriehema
Though upgrading to frontend-maven-plugin 1.10.0 fixed it for me.