Closed as not planned
Description
- Check if updating to the latest Preact version resolves the issue
No
Describe the bug
A clear and concise description of what the bug is.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './compat/server.browser' is not defined by "exports" in /XXX/node_modules/preact/package.json
To Reproduce
Nextjs 13, Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './compat/server.browser' is not defined by "exports" in /XXX/node_modules/preact/package.json is error
If possible, please provide a CodeSandbox/Codepen that demonstrates the issue. You can use the following template: https://codesandbox.io/s/preact-x-preact-cli-3-starter-vj285y2rn3
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- See error
Expected behavior
What should have happened when following the steps above?