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

Add Waku Support #22

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add Waku Support #22

wants to merge 1 commit into from

Conversation

HorusGoul
Copy link
Owner

Currently not working because of a bug with waku dev that shows up in this monorepo:

❯ pnpm dev             

> waku-stylex-demo@0.0.0 dev /home/horus/projects/vite-plugin-stylex/apps/waku-demo
> waku dev --with-ssr

ready: Listening on http://localhost:3000/
Cannot render RSC Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /home/horus/projects/vite-plugin-stylex/node_modules/.pnpm/node_modules/react-dom/package.json imported from /home/horus/projects/vite-plugin-stylex/node_modules/.pnpm/waku@0.18.1_@hono+node-server@1.3.3_@swc+core@1.3.100_@vitejs+plugin-react@4.2.1_hono@3.11.7__sr4ugvryn4wenlmrvf3vp2koxi/node_modules/waku/dist/lib/rsc/html-renderer.js
    at new NodeError (node:internal/errors:406:5)
    at exportsNotFound (node:internal/modules/esm/resolve:268:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:598:9)
    at packageResolve (node:internal/modules/esm/resolve:772:14)
    at moduleResolve (node:internal/modules/esm/resolve:838:20)
    at defaultResolve (node:internal/modules/esm/resolve:1043:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
    at ModuleLoader.import (node:internal/modules/esm/loader:315:34) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

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

Successfully merging this pull request may close these issues.

None yet

1 participant