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

Crash: The requested module lz-string does not provide an export named 'decompressFromBase64' #1341

Closed
iStefo opened this issue Feb 27, 2024 · 2 comments · Fixed by #1343 or #1348
Closed
Labels
bug Something isn't working

Comments

@iStefo
Copy link

iStefo commented Feb 27, 2024

Describe the bug
When initialising a new project using pnpm create, the public URL stays blank and Chrome logs the error

Uncaught SyntaxError: The requested module '/node_modules/.pnpm/[email protected]/node_modules/lz-string/libs/lz-string.js?v=6bd9ceb9' does not provide an export named 'decompressFromBase64' (at ShikiMagicMove.vue:5:10)

This is probably related to e199010

To Reproduce
Steps to reproduce the behavior:

  1. Create new project using pnpm create <name>
  2. Open dev server on /

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Slidev version: v0.48.0-beta.16
@iStefo
Copy link
Author

iStefo commented Feb 27, 2024

One more comment: maybe the install guides should point to a stable version, as this was not a very good first user experience with the software :)

@KermanX KermanX added the bug Something isn't working label Feb 27, 2024
@KermanX KermanX reopened this Feb 27, 2024
@antfu
Copy link
Member

antfu commented Feb 27, 2024

v0.48.0-beta.18 should fix it with 76ae95d

Thanks for reporting.

Having the beta version as the latest tag on npm is our intentional strategy to encourage trying and providing feedback. The beta status doesn't necessarily imply it's unstable, but more like a state we are not ready for everything (#1335) and that's why feedbacks are important to us. For the case of this issue, it's an unintentional regression that was introduced back in a few "stable" versions back but only surfaced in the recent change - anyway, thanks for reporting and the suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants