When attempting to import a library, I encountered this error.
https://i.sstatic.net/NYYQX.png
The command used to obtain this library was: npm i queue
Here is how I attempted to import it in my javascript:
import Queue from "./node_modules/queue/index.js"
In my HTML file, I have included the following script tag:
<script type="module" src="./gamescript.js"></script>
Any suggestions on how to resolve this issue?