开发者

Getting error when tying to import p5-svelte

开发者 https://www.devze.com 2022-12-07 17:20 出处:网络
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 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:

Getting error when tying to import p5-svelte

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:

Getting error when tying to import p5-svelte

I'm not sure if this is a bug or if I am doing something wrong. Thanks in advance for the help!

0

精彩评论

暂无评论...
验证码 换一张
取 消