npm - Error on jhipster:upgrade -
when try upgrade version of jhipster in application following error:
lothrimond@lothrimond-k53sd:~/workspace/nscanner$ npm list generator-jhipster n-scanner@0.0.0 /home/lothrimond/workspace/nscanner └── generator-jhipster@3.6.1 lothrimond@lothrimond-k53sd:~/workspace/nscanner$ yo jhipster:upgrade welcome jhipster upgrade sub-generator upgrade current application codebase latest jhipster version looking latest generator-jhipster version... /home/lothrimond/workspace/nscanner/node_modules/semver/semver.js:279 throw new typeerror('invalid version: ' + version); ^ typeerror: invalid version: undefined @ new semver (/home/lothrimond/workspace/nscanner/node_modules/semver/semver.js:279:11) @ compare (/home/lothrimond/workspace/nscanner/node_modules/semver/semver.js:566:10) @ function.lt (/home/lothrimond/workspace/nscanner/node_modules/semver/semver.js:600:10) @ null.<anonymous> (/home/lothrimond/workspace/nscanner/node_modules/generator-jhipster/generators/upgrade/index.js:93:28) @ /home/lothrimond/workspace/nscanner/node_modules/shelljs/src/exec.js:172:7 @ childprocess.exithandler (child_process.js:194:7) @ emittwo (events.js:87:13) @ childprocess.emit (events.js:172:7) @ maybeclose (internal/child_process.js:818:16) @ process.childprocess._handle.onexit (internal/child_process.js:211:5)
what doing wrong? please write down in comment if useful information missing in question.
yo:jhipster:upgrade working 3.4.0+
source: jhipster support chat
Comments
Post a Comment