I’m following discoverthreejs.com tutorial and I’m stuck…
Steps I did:
npm init
npm i three
Created folder structure and files as needed
In main.js I try importing:
Using live server I get this error…
Uncaught TypeError: Error resolving module specifier “three”. Relative module specifiers must start with “./”, “…/” or “/”. main.js:9:7
So I tried using Skypack CDN instead.
Error:
What can I try?