Getting error when tying to import p5-svelte
I successfully installed p5-svelte via terminal, the files show up in node_modules. But when I try to import p5 into a component, I get an error message:
I don't understand why its do开发者_开发问答ing this. Here is my import code: <script> import { page } from '$app/stores'; import P5 from 'p5-svelte'; </script>
and here is a picture of what I installed:
I'm not sure if this is a bug or if I am doing something wrong. Thanks in advance for the help!
精彩评论