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

module resolution issue in vue3 #6046

Closed
3 tasks done
eunjae-lee opened this issue Aug 18, 2021 · 4 comments · Fixed by #6050
Closed
3 tasks done

module resolution issue in vue3 #6046

eunjae-lee opened this issue Aug 18, 2021 · 4 comments · Fixed by #6050
Assignees
Labels
🐛 Bug 🎒 Bundler Refers to CodeSandbox's In-Browser Bundler

Comments

@eunjae-lee
Copy link

eunjae-lee commented Aug 18, 2021

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

My sandbox fails to run with "ModuleNotFoundError".

image

When I download the sandbox as zip, it works locally.

How has this issue affected you? What are you trying to accomplish?

It should successfully resolve the module and run.

To Reproduce

Visit the sandbox, and you will see the error right away.

Link to sandbox: link

Your Environment

Software Name/Version
Сodesandbox e37e8f3
Browser Firefox 91.0 (64-bit)
Operating System macOS BigSur 11.5.2
@DeMoorJasper DeMoorJasper self-assigned this Aug 18, 2021
@DeMoorJasper DeMoorJasper added 🎒 Bundler Refers to CodeSandbox's In-Browser Bundler 🐛 Bug labels Aug 18, 2021
@DeMoorJasper
Copy link
Member

Hey, thanks for reporting this error, will look into this later today and keep you updated

@eunjae-lee
Copy link
Author

Thanks :)

@DeMoorJasper
Copy link
Member

DeMoorJasper commented Aug 18, 2021

Went digging into the errors and found this file, which our resolver stumbles on as it thinks it's a json file: https://unpkg.com/browse/vue-instantsearch@4.0.0-beta.1/dist/vue3/es/package.json.js

Opened a PR with a fix: #6050

@eunjae-lee
Copy link
Author

@DeMoorJasper thanks, it works fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug 🎒 Bundler Refers to CodeSandbox's In-Browser Bundler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants