No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    cant install quasar-cli with npm or yarn

    CLI
    2
    3
    1391
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Salamandr last edited by Salamandr

      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.log

      in 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’

      1 Reply Last reply Reply Quote 0
      • N
        Narmer23 last edited by

        npm ERR! Unexpected end of JSON input while parsing near ‘…s":"^4.1.2","jsonfile’ could you post your package.json?

        1 Reply Last reply Reply Quote 0
        • S
          Salamandr last edited by

          can fix:
          npm install reinstall -g
          reinstall
          npm install -g quasar-cli

          1 Reply Last reply Reply Quote 0
          • First post
            Last post