You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on the latest version of Snowpack & all plugins.
I use package manager npm (Fill in: npm, yarn, pnpm, etc).
I run Snowpack on OS Linux (Fill in: Windows, Mac, Linux, etc).
I run Snowpack on Node.js v12+
Describe the bug
After upgrading from 3.0.11 to 3.1.2 I am receiving an esinstall error after running npm run dev:
[13:41:17] [snowpack] + {internal-private-package}
[13:41:17] [esinstall:{the-private-package}] Failed to load ../dist/icons/{filename}.svg
Unexpected token (Note that you need plugins to import files that are not JavaScript)
[13:41:17] [snowpack] Install failed.
When I comment out the imports for that SVG file, I am also receiving errors described in #2970 for .scss extensions.
To Reproduce
Import a private npm package that includes a file that imports an .svg file.
Bug Report Quick Checklist
Describe the bug
After upgrading from
3.0.11
to3.1.2
I am receiving an esinstall error after runningnpm run dev
:When I comment out the imports for that SVG file, I am also receiving errors described in #2970 for
.scss
extensions.To Reproduce
Import a private npm package that includes a file that imports an
.svg
file.Use the following config:
Expected behavior
Expecting the initial snowpack caching to complete and to proceed with serving my React application.
I have temporarily downgraded to
3.0.11
and everything works as expected.The text was updated successfully, but these errors were encountered: