Conversation
|
|
|
As noted by @woss, installing Node.js from the npm registry is not the best solution but it is much faster to implement. In the future we'll use https://nodejs.org/download/release/index.json to resolve the version of Node.js and download Node.js from the nodejs org, not from the npm registry. |
|
This is probably feature creep but it would be nice to support fnm, which runs on Windows as well as everywhere else. |
|
@Aankhen do you mean storing the node.js versions in the same place where they are store by fnm? |
|
Sorry, between the name and GitHub having trouble rendering some of the files, I misunderstood what this plugin was doing! I’ve looked again and I see it’s unrelated to the script nvm. Apologies! Please carry on. 😳 |
|
I am going to merge it and release a prerelease for now. If anyone will have comments, I'll make the changes. cc @pnpm/collaborators |
the link for collaborators ^^ is not working, is it because it's private? |
|
I published this change as |
I don't know why, the collaborators team is set to visible. In any case, we don't do any discussions in private. |
|
Does it read Related feature request for |
|
No, it does not read that field. |
TODO:
pnpm node [args...]will autoinstall Node.js and run it.If a project has
use-node-versionset in.npmrc, pnpm will auto-install the specified Node.js version and scripts will run using that version of Node.jsrelated discussion: #3434