I am getting the error “TypeError: Module specifier, ‘three’ does not start with “/”, “./”, or “…/”. Referenced from http://127.0.0.1:5500/” when trying to install threes from con or static hosting, here is my code:
<body>
<script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module- shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.140.1/build/three.module.js"
}
}
</script>
<script type="module">
import * as THREE from 'three';
const scene = new THREE.Scene();
</script>
</body>
screenshot: