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

How to work with Next JS? #22

Open
LorhanSohaky opened this issue Sep 1, 2021 · 5 comments
Open

How to work with Next JS? #22

LorhanSohaky opened this issue Sep 1, 2021 · 5 comments

Comments

@LorhanSohaky
Copy link

Error: Cannot find module 'core-js/modules/es.object.define-property'
Require stack:
- /workspaces/project/node_modules/redux-in-worker/dist/index.js
- /workspaces/project/.next/server/pages/_app.js
- /workspaces/project/node_modules/next/dist/next-server/server/require.js
- /workspaces/project/node_modules/next/dist/next-server/server/load-components.js
- /workspaces/project/node_modules/next/dist/next-server/server/api-utils.js
- /workspaces/project/node_modules/next/dist/next-server/server/next-server.js
- /workspaces/project/node_modules/next/dist/server/next.js
- /workspaces/project/node_modules/next/dist/server/lib/start-server.js
- /workspaces/project/node_modules/next/dist/cli/next-dev.js
- /workspaces/project/node_modules/next/dist/bin/next
@dai-shi
Copy link
Owner

dai-shi commented Sep 1, 2021

Thanks for reporting. I think I should update the way to build, which may fix something. I'll work on it.

@dai-shi
Copy link
Owner

dai-shi commented Sep 2, 2021

Would you try the codesandbox build?
https://ci.codesandbox.io/status/dai-shi/redux-in-worker/pr/23
See "Local Install Instructions"

@dai-shi
Copy link
Owner

dai-shi commented Sep 6, 2021

@LorhanSohaky
Copy link
Author

@dai-shi , is it possible to use with this wrapper?

https://codesandbox.io/s/next-worker-l92x4

@dai-shi
Copy link
Owner

dai-shi commented Sep 11, 2021

hmm, I'm not familiar with the wrapper. It creates store on demand? multiple times?
all I could say is give it a try...

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