{"action":"created","issue":{"url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/343","repository_url":"https://api.github.com/repos/eirslett/frontend-maven-plugin","labels_url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/343/comments","events_url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/343/events","html_url":"https://github.com/eirslett/frontend-maven-plugin/issues/343","id":127953647,"number":343,"title":"npm WARN generates a Maven ERROR","user":{"login":"mriehema","id":2276886,"avatar_url":"https://avatars3.githubusercontent.com/u/2276886?v=4","gravatar_id":"","url":"https://api.github.com/users/mriehema","html_url":"https://github.com/mriehema","followers_url":"https://api.github.com/users/mriehema/followers","following_url":"https://api.github.com/users/mriehema/following{/other_user}","gists_url":"https://api.github.com/users/mriehema/gists{/gist_id}","starred_url":"https://api.github.com/users/mriehema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mriehema/subscriptions","organizations_url":"https://api.github.com/users/mriehema/orgs","repos_url":"https://api.github.com/users/mriehema/repos","events_url":"https://api.github.com/users/mriehema/events{/privacy}","received_events_url":"https://api.github.com/users/mriehema/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-01-21T15:46:16Z","updated_at":"2017-08-28T14:18:43Z","closed_at":"2016-03-10T11:38:29Z","body":"In 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.\n\n```\n[INFO] --- frontend-maven-plugin:0.0.27:npm (install node, npm and dependencies) @ theme ---\n[INFO] Found proxies: []\n[INFO] Running 'npm install --color=false' in C:\\theme\n[ERROR] npm WARN deprecated lodash@0.9.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0\n[ERROR] npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0\n[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\n[ERROR] npm WARN prefer global node-gyp@3.2.1 should be installed with -g\n```\n\nChanging the logging from ERROR to WARNING would be nice.\n"},"comment":{"url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/comments/325366406","html_url":"https://github.com/eirslett/frontend-maven-plugin/issues/343#issuecomment-325366406","issue_url":"https://api.github.com/repos/eirslett/frontend-maven-plugin/issues/343","id":325366406,"user":{"login":"findpritz","id":6035047,"avatar_url":"https://avatars3.githubusercontent.com/u/6035047?v=4","gravatar_id":"","url":"https://api.github.com/users/findpritz","html_url":"https://github.com/findpritz","followers_url":"https://api.github.com/users/findpritz/followers","following_url":"https://api.github.com/users/findpritz/following{/other_user}","gists_url":"https://api.github.com/users/findpritz/gists{/gist_id}","starred_url":"https://api.github.com/users/findpritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/findpritz/subscriptions","organizations_url":"https://api.github.com/users/findpritz/orgs","repos_url":"https://api.github.com/users/findpritz/repos","events_url":"https://api.github.com/users/findpritz/events{/privacy}","received_events_url":"https://api.github.com/users/findpritz/received_events","type":"User","site_admin":false},"created_at":"2017-08-28T14:18:43Z","updated_at":"2017-08-28T14:18:43Z","body":"With plugin version 1.4, I am still seeing this, two npm WARN messages being translated to an ERROR.\r\n\r\n```\r\n[INFO]\r\n[WARNING] npm WARN sample-typescript-project@1.0.0 No repository field.\r\n[WARNING] npm WARN sample-typescript-project@1.0.0 No license field.\r\n[ERROR]\r\n[INFO] added 806 packages in 132.853s\r\n```\r\n\r\nAny thoughts on how I can resolve this?"}}
{"actor":{"display_login":"findpritz"}}