nuxt/cli

Nuxi doesn't work with volta.

Closed this issue · 0 comments

tmg0 commented

Environment

volta: 1.1.0

Reproduction

https://github.com/zekunjin/volta-node-version

Describe

I used volta in local environment, after pin a node version in package.json, nuxi does not use it, so I have to use volta run to declare a node version.

I'm not sure if it's possible to fetch the current project's Node.js version when executing the nuxi command, and then run it with that specified version without use volta run.