cant install quasar-cli with npm or yarn
-
H:\develop\salamandr.dev\JS\Vue>yarn global add quasar-cli@0.17.19
yarn global v0.15.1
warning No license field
[1/4] Resolving packages…
warning quasar-cli > @babel/preset-stage-2@7.0.0-beta.54:We’ve deprecated any official stage presets in favor of users explicitly opt-ing into the proposals they want to use versus any perceived convenience. You can also check https://github.com/babel/babel/issues/7770 for more information.
warning quasar-cli > @babel/preset-stage-2 > @babel/preset-stage-3@7.0.0-beta.54:We’ve deprecated any official stage presets in favor of users explicitly opt-ing into the proposals they want to use versus any perceived convenience. You can also check https://github.com/babel/babel/issues/7770 for more information.
[2/4] Fetching packages…
warning fsevents@1.2.4: The platform “win32” is incompatible with this module.
info “fsevents@1.2.4” is an optional dependency and failed compatibility check. Excluding it from installation.
error quasar-cli@0.17.19: The engine “yarn” is incompatible with this module. Expected version “>= 1.6.0”.
error Found incompatible module
info Visit http://yarnpkg.com/en/docs/cli/global for documentation about this command.****H:\develop\salamandr.dev\JS\Vue>npm install -g quasar-cli
npm WARN deprecated @babel/preset-stage-2@7.0.0-beta.54:We’ve deprecated any official stage presets in favor of users explicitly opt-ing into the proposals they want to use versus any perceived convenience. You can also check https://github.com/babel/babel/issues/7770 for more information.
npm ERR! Unexpected end of JSON input while parsing near ‘…s":"^4.1.2","jsonfile’npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Salamandr\AppData\Roaming\npm-cache_logs\2018-11-20T06_59_20_055Z-debug.login log:
689 http fetch GET 200 https://registry.npmjs.org/fs-extra 18ms (from cache)
690 silly fetchPackageMetaData error for fs-extra@^1.0.0 Unexpected end of JSON input while parsing near '…s":"^4.1.2","jsonfile’ -
npm ERR! Unexpected end of JSON input while parsing near ‘…s":"^4.1.2","jsonfile’
could you post yourpackage.json
? -
can fix:
npm install reinstall -g
reinstall
npm install -g quasar-cli