maven - how to upgrade package in npm -


i new maven/npm , use maven build project. error occurs when execute mvn clean install -dskiptests:

[info] unpacking /usr/local/mavenrepository_be/org/opendaylight/odlparent/odl-license/0.0.1-beryllium/odl-license-0.0.1-beryllium.jar /home/chenxing05/beryllium/dlux/dlux-web/target/classes includes "" , excludes "meta-inf/**" [info] [info] --- frontend-maven-plugin:0.0.24:install-node-and-npm (npm) @ dlux-web --- [info] node v0.12.7 installed. [info] found npm version 3.1.3 [info] [info] --- frontend-maven-plugin:0.0.24:npm (npm) @ dlux-web --- [info] running 'npm install --color=false' in /home/chenxing05/beryllium/dlux/dlux-web [error] npm warn deprecated minimatch@0.4.0: please update minimatch 3.0.2 or higher avoid regexp dos issue [info] underscore@1.4.4 node_modules/jshint/node_modules/underscore -> node_modules/grunt-contrib-jshint/node_modules/underscore [info] minimatch@0.4.0 node_modules/jshint/node_modules/minimatch -> node_modules/grunt-contrib-jshint/node_modules/minimatch [info] - console-browserify@0.1.6 node_modules/console-browserify ... [info] `-- peakle@0.0.1  extraneous [info] [error] npm err! linux 3.2.60 [error] npm err! argv "/home/chenxing05/beryllium/dlux/dlux-web/node/node" "/home/chenxing05/beryllium/dlux/dlux-web/node/npm/bin/npm-cli.js" "install" "--color=false" [error] npm err! node v0.12.7 [error] npm err! npm  v3.1.3 [error] npm err! path /home/chenxing05/beryllium/dlux/dlux-web/node_modules/jshint/node_modules/underscore [error] npm err! code enoent [error] npm err! errno -2 [error] [error] npm err! enoent enoent, rename '/home/chenxing05/beryllium/dlux/dlux-web/node_modules/jshint/node_modules/underscore' [error] npm err! enoent not problem npm [error] npm err! enoent , related npm not being able find file. [error] npm err! enoent [error] [error] npm err! please include following file support request: [error] npm err!     /home/chenxing05/beryllium/dlux/dlux-web/npm-debug.log [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 1:08.442s [info] finished at: tue sep 13 10:40:59 cst 2016 [info] final memory: 30m/981m [info] ------------------------------------------------------------------------ [error] failed execute goal com.github.eirslett:frontend-maven-plugin:0.0.24:npm (npm) on project dlux-web: failed run task: 'npm install --color=false' failed. (error code 254) -> [help 1] [error] ... 

as shown [error] npm warn deprecated minimatch@0.4.0: please update minimatch 3.0.2 or higher avoid regexp dos issue, how update minimatch, looks npm update minimatch not work, suggestions issue? thanks~

here comes package.json:

{   "author": "mathieu lemay",   "name": "opendaylight-dlux",   "description": "opendaylight user experience",   "version": "0.2.0",   "homepage": "http://opendaylight.org",   "license": "epl-1.0",   "bugs": "https://bugs.opendaylight.org/",   "repository": {     "type": "git",     "url": "https://git.opendaylight.org/gerrit/dlux.git"   },   "dependencies": {},   "devdependencies": {     "bower": "~1.3.12",     "karma":"~0.12.0",     "grunt": "~0.4.5",     "grunt-cli": "~0.1.13",     "grunt-contrib-copy": "~0.4.1",     "grunt-contrib-concat": "~0.3.0",     "grunt-contrib-coffee": "~0.7.0",     "grunt-contrib-uglify": "~0.2.0",     "grunt-contrib-compass": "~0.3.0",     "grunt-contrib-jshint": "~0.4.0",     "grunt-contrib-cssmin": "~0.6.0",     "grunt-contrib-connect": "~0.3.0",     "grunt-contrib-clean": "~0.4.1",     "grunt-contrib-htmlmin": "~0.1.3",     "grunt-contrib-imagemin": "~0.1.4",     "grunt-contrib-watch": "~0.6.1",     "grunt-usemin": "~0.1.11",     "grunt-svgmin": "~0.2.0",     "grunt-rev": "~0.1.0",     "grunt-karma": "~0.8.0",     "grunt-open": "~0.2.0",     "grunt-concurrent": "~0.3.0",     "matchdep": "~0.1.2",     "connect-livereload": "~0.2.0",     "grunt-google-cdn": "~0.2.0",     "connect-modrewrite": "~0.5.4",     "grunt-recess": "~0.5.0",     "grunt-contrib-less": "~0.8.2",     "grunt-conventional-changelog": "~1.0.0",     "grunt-bump": "0.0.13",     "grunt-html2js": "~0.2.4",     "grunt-coffeelint": "0.0.8",     "requirejs": "~2.1.19",     "karma-requirejs": "~0.2.2",     "grunt-shell": "~0.7.0",     "grunt-ng-annotate": "~0.3.2",     "grunt-replace": "~0.7.8",     "karma-chrome-launcher": "~0.1.4",     "karma-firefox-launcher": "~0.1.3",     "karma-jasmine": "~0.1.5",     "karma-coffee-preprocessor": "~0.2.1",     "karma-coverage": "~0.2.6",     "karma-phantomjs-launcher": "~0.1.4",     "angular-mocks": "~1.2.22",     "jasmine": "~2.0.1"   },   "engines": {     "node": ">=0.8.0"   },   "scripts": {     "test": "grunt test"   } } 

i think need install npm , grunt-cli platform. once do, change version in package.json


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -