Git Product home page Git Product logo

Comments (2)

chriskrycho avatar chriskrycho commented on June 1, 2024

The error output there is telling you that the problem is that you have specified an incompatible version of pnpm. 😅

ERR PNPM_ UNSUPPORTED ENGINE Unsupported environment (bad pnpm and/or Node.js version)
Your pnpm version is incompatible with "D:\Nova".

Expected version: >=8.12.1
Got: 8.12.0
This is happening because the package's manifest has an engines.pnpm field specified.

To fix this issue, install the required pnpm version globally.

That means that the thing you are trying to run (presumably at D:\Nova, but possibly somewhere else in the monorepo or its packages) has something like this in its package.json:

{
  "engines": {
    "pnpm": ">=8.12.1"
  }
}

Beyond that, it is hard to say what was going on in the other problems you hit! If you can create an isolated reproduction of the problem, that would be helpful in debugging.


Additionally, please share actual code from the package.json files and so on rather than screenshots going forward, for two reasons:

  1. It makes it much easier for people to interact with, including to reproduce things.
  2. It makes it accessible to people who cannot see the screenshot and need to use a screenreader to understand the issue.

Thanks!

from volta.

NovaAstra avatar NovaAstra commented on June 1, 2024

https://github.com/NovaAstra/Nova/tree/pnpm

  1. Volta install [email protected]
  2. Volta pin [email protected]
  3. pnpm install
  4. pnpm dev: vue(success)
  5. Close vscode
  6. Volta install [email protected]
  7. Volta pin [email protected] (I have maintained consistency in the versions of engines and volta in package.json)
  8. pnpm install (the above steps operate normally)
  9. pnpm dev: vue (error exception) [email protected]

This is my simplest operation process, and what I am puzzled about is that even though I have changed the pnpm version and pin, it still prompts me that the pnpm is the same as last time

from volta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.