Open NovaAstra opened 10 months ago
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:
Thanks!
https://github.com/NovaAstra/Nova/tree/pnpm
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
Node: v18.17.0 (current @ D:\Nova\package.json) pnpm: v8.12.0 (current @ D:\Nova\package.json) Tool binaries available: pnpm, pnpx (default)
I turned on the experimental pnpm, set up the pnpm workspace according to the process, and set up the script command in the sub-project, but the root directory cannot run; I can't make it work; another problem is that I use volta install pnpm another After a version and pinned it, I went to pnpm run dev:vue, which prompted me another problem, such as the existence of volta was not the same as the new cache; here are some examples I can provide
https://github.com/NovaAstra/Nova