Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing entrypoint in v3.2.0 #620

Closed
1 task done
F0rce opened this issue Dec 24, 2024 · 2 comments
Closed
1 task done

Missing entrypoint in v3.2.0 #620

F0rce opened this issue Dec 24, 2024 · 2 comments
Labels
bug [Issue] Something isn't working

Comments

@F0rce
Copy link

F0rce commented Dec 24, 2024

Describe the issue you're facing

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.

Reproduction

not needed

Steps to reproduce

  1. Upgrade to v3.2.0
  2. Build
  3. Error
  4. Downgrade to v3.1.9
  5. Build
  6. Success

System Info

System:
    OS: macOS 15.2
    CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
    Memory: 550.72 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.local/state/fnm_multishells/44236_1735079062500/bin/node
    npm: 10.2.3 - ~/.local/state/fnm_multishells/44236_1735079062500/bin/npm
    pnpm: 9.15.1 - ~/.local/state/fnm_multishells/44236_1735079062500/bin/pnpm
    bun: 1.1.36 - ~/.bun/bin/bun
  Browsers:
    Chrome: 131.0.6778.205
    Safari: 18.2

Used Package Manager

pnpm

Error logs (Optional)

No response

Validations

@F0rce F0rce added pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised labels Dec 24, 2024
@edodusi
Copy link
Contributor

edodusi commented Dec 27, 2024

Should have been solved in #619

@edodusi 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
@F0rce
Copy link
Author

F0rce commented Dec 27, 2024

Thank you very much, that fixed it :)

@F0rce F0rce closed this as completed Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [Issue] Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants