Skip to content

critical bug: '"node"' is not recognized as an internal or external command, #2047

@ZJRui

Description

@ZJRui

After being busy for half a day, switching from windows-nvm to volta, I ended up with a pile of shit, and had no choice but to go back to nvm.

40294@antlrv D:\LocalProjects\uniapp小兔鲜儿微信小程序\xiaotuxian-uniapp git:main ?9 ~5
> volta -v
2.0.2
40294@antlrv D:\LocalProjects\uniapp小兔鲜儿微信小程序\xiaotuxian-uniapp git:main ?9 ~5
> volta list node
⚡️ Node runtimes in your toolchain:

    v18.20.8 (default)
    v22.16.0
40294@antlrv D:\LocalProjects\uniapp小兔鲜儿微信小程序\xiaotuxian-uniapp git:main ?9 ~5
> volta setup
success: Setup complete. Open a new terminal to start using Volta!
40294@antlrv D:\LocalProjects\uniapp小兔鲜儿微信小程序\xiaotuxian-uniapp git:main ?9 ~5
> node -v
v18.20.8
40294@antlrv D:\LocalProjects\uniapp小兔鲜儿微信小程序\xiaotuxian-uniapp git:main ?9 ~5
> pnpm run dev:mp-weixin
'"node"' is not recognized as an internal or external command,
operable program or batch file.
40294@antlrv D:\LocalProjects\uniapp小兔鲜儿微信小程序\xiaotuxian-uniapp git:main ?9 ~5
>

Image

Look in my eyes! Tell me why, why baby why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions