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!
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论