three.js - Trouble with npm trying to install ThreeJS with Nuxt3 and Deno v2 on Windows - Stack Overflow

admin2025-04-16  3

Nuxt3js is working fine with Deno v2. But when I'm trying to install ThreeJS for a project using Nuxt3 with Deno v2 on Windows 10 with Powershell, I have an infinite loading that doesn't install anything when I kill the command. It seems to be a broader problem. I enter the command:

deno run -A --allow-scripts npm:npm install 

in the terminal in my project folder; I get this result charging forever:

npm warn cli npm v11.1.0 does not support Node.js v20.11.1. This version of npm supports the following node versions: `^20.17.0 || >=22.9.0`. You can find the latest version at /.
⠏

The deno version is:

deno 2.1.9 (stable, release, x86_64-pc-windows-msvc)
v8 13.0.245.12-rusty
typescript 5.6.2

Can someone understand what I might be doing wrong?

转载请注明原文地址:http://anycun.com/QandA/1744814641a87991.html