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

vite error: ReferenceError: module is not defined #124

Closed
btakita opened this issue Jul 17, 2021 · 1 comment
Closed

vite error: ReferenceError: module is not defined #124

btakita opened this issue Jul 17, 2021 · 1 comment

Comments

@btakita
Copy link

btakita commented Jul 17, 2021

Looks like there needs to be a esm "module" export needed.

2:21:41 AM [vite] ✨ dependencies updated, reloading page...
2:21:41 AM [vite] new dependencies found: @ctx-core/array, @ctx-core/event-log, fast-deep-equal/es6, updating...
2:21:42 AM [vite] Error when evaluating SSR module /@fs/user/project/node_modules/.pnpm/[email protected]/node_modules/fast-deep-equal/es6/index.js:
ReferenceError: module is not defined
at /@fs/home/user/project/node_modules/.pnpm/[email protected]/node_modules/fast-deep-equal/es6/index.js:9:1
at instantiateModule (/home/user/project/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-11db14da.js:73323:166)

@epoberezkin
Copy link
Owner

duplicate of #105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants