Three js not installing

How do I deploy three js on replit?

import * as THREE from "three"; 

const scene = new THREE.Scene();

. . .

free code camp told me to put this code to install but it is not working

please respond fast, im trying to make my website

Can you try entering npm install three into the Shell?

1 Like

i tried, but it is still not running

1 Like

Could you please evaluate on this?

(Ex. error message or something)

i went on a tutorial on free code camp, and i used this code
import * as THREE from “three”;

const scene = new THREE.Scene();

. . .
i don’t know why it is not working

1 Like

By not working, do you mean there is some error being outputted, or it’s just not acting as expected?

nothing is loading for me

1 Like

Hm, could you send your Repl link?

Please send a link to your Repl so we can take a look.

1 Like