0
我想將我的jhipster版本從4.8.2升級到4.9.0。jhipster升級過程中出錯
當我啓動型升級,我有這樣的錯誤:
C:\Users\VLR\AppData\Local\Yarn\config\global\node_modules\semver\semver.js:279
throw new TypeError('Invalid Version: ' + version);
^
TypeError: Invalid Version: undefined
at new SemVer (C:\Users\VLR\AppData\Local\Yarn\config\global\node_modules\semver\semver.js:279:11)
at compare (C:\Users\VLR\AppData\Local\Yarn\config\global\node_modules\semver\semver.js:566:10)
at Function.lt (C:\Users\VLR\AppData\Local\Yarn\config\global\node_modules\semver\semver.js:600:10)
at shelljs.exec (C:\Users\VLR\AppData\Local\Yarn\config\global\node_modules\generator-jhipster\generators\upgrade\index.js:152:28)
at C:\Users\VLR\AppData\Local\Yarn\config\global\node_modules\shelljs\src\exec.js:199:9
at ChildProcess.exithandler (child_process.js:189:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)`
我在Windows 10專業版,以解版本:
- NPM:3.10.10
- 節點:V6 .11.2
- 一飲而盡:CLI 3.9.1
- 紗:0.27.5
你有解決這個錯誤的想法嗎?
感謝