model-viewer
model-viewer copied to clipboard
Npm installation error
I downloaded the project and ran npm install to install errors
It's in the model viewer master folder
Hello:) This error means that you need to update your node version, because this library is incompatible with your node version
Hello:) This error means that you need to update your node version, because this library is incompatible with your node version
Hi, my nodejs version is v18.19.1. How many versions do I need to upgrade to to meet the needs of this library?
Can you read the read me?
Due to dependency issues on Windows 10 we recommend running
<model-viewer>setup from a WSL2 environment.And installing Node.js & npm via NVM
You should clone model-viewer from inside WSL, not from inside Windows. Otherwise, you might run into line endings and symlink issues.
To clone via HTTPS in WSL (there are known file permissions issues with SSH keys inside WSL):git clone --depth=1 https://github.com/google/model-viewer.git cd model-viewer npm install