Replies: 5 comments 1 reply
-
|
How are you importing it? |
Beta Was this translation helpful? Give feedback.
-
|
just import Button from '@ies/semi-ui-react/button/Button'; |
Beta Was this translation helpful? Give feedback.
-
|
Is this a private package/module? It would be nice if you could share a minimal example that shows the problem. |
Beta Was this translation helpful? Give feedback.
-
|
Yea, I'm not sure I follow either. Does "@ies/semi-ui-react" not exist with your other packages in node_modules? |
Beta Was this translation helpful? Give feedback.
-
|
I found why, because the file is a jsx file,esinstall package can't handle this type correctly. In my project, jsx file the imported without extname, and can't be as a package, also can't be handled by require.resolve, so snowpack will throw this error, so how to handle this situation, our project has so many,it's not possible to add extname,I need your help, please!!! @FredKSchott |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I import a package file from node_module,but snowpack assume it is a package, so install failed:
my config:
please help me!! thx.
Beta Was this translation helpful? Give feedback.
All reactions