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
This is sort of the exact same issue I created over at the @storyblok/astro repository (ref storyblok/storyblok-astro#1033)
When upgrading to v3.2.0 and running a build command in CI (or any clean environment) the following error message will appear:
[commonjs--resolver] Failed to resolve entry for package "@storyblok/js". The package may have incorrect main/module/exports specified in its package.json.
Stack trace:
at packageEntryFailure (file:///home/runner/work/<project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:16462:15)
at tryNodeResolve (file:///home/runner/work/<project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:16324:18)
at Object.handler (file:///home/runner/work/<project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BZMjGe_U.js:51064:15)
at async PluginDriver.hookFirstAndGetPlugin (file:///home/runner/work/<project>/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:207[74](https://github.com/<org>/<project>/actions/runs/12486658390/job/34847004770#step:10:75):28)
at async ModuleLoader.resolveId (file:///home/runner/work/<project>/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19807:15)
ELIFECYCLE Command failed with exit code 1.
edodusi
added
bug
[Issue] Something isn't working
and removed
pending-author
[Issue] Awaiting further information or action from the issue author
pending-triage
[Issue] Ticket is pending to be prioritised
labels
Dec 27, 2024
Describe the issue you're facing
When upgrading to
v3.2.0
and running a build command in CI (or any clean environment) the following error message will appear:Reproduction
not needed
Steps to reproduce
v3.2.0
v3.1.9
System Info
Used Package Manager
pnpm
Error logs (Optional)
No response
Validations
The text was updated successfully, but these errors were encountered: