开发者

Getting error when trying to import p5-svelte

开发者 https://www.devze.com 2022-12-07 22:53 出处:网络
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 trying to import p5-svelte

I don't understand why its doing 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 trying to import p5-svelte

I'm not sure if this is a bug or if I am doing somethin开发者_如何学JAVAg wrong. Thanks in advance for the help!

0

精彩评论

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

关注公众号