Issues with dynamic imports. #2927
Unanswered
WilsontheWolf
asked this question in
Troubleshooting
Replies: 1 comment 3 replies
-
Just an update there is a new alpha build to the module. Tying it out causes a new error Any idea of what causes it or how to fix it? Thanks |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there. I am trying to use a dependency
@skyra/discord-components-react
. This dependancy imports the module@skyra/discord-components-core
dynamically. Originally I was getting this errorENOENT: no such file or directory, open '/home/shorty/projects/craig-dashboard/node_modules/.cache/snowpack/development/@skyra/discord-attachment_7.entry.js'
I then updated my snowpack to the latest. Which got me this error
Error: Dynamic requires are not currently supported by @rollup/plugin-commonjs
I tried searching and saw something telling me to install
snowpack@next
but that didn't work either. Any ideas how to fix this. The module's source code is here if it helps. ThanksBeta Was this translation helpful? Give feedback.
All reactions