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

Using Preact example is broken -- no scheduler module #33562

Closed
OmerWow opened this issue Jan 22, 2022 · 2 comments
Closed

Using Preact example is broken -- no scheduler module #33562

OmerWow opened this issue Jan 22, 2022 · 2 comments
Labels
bug Issue was opened via the bug report template. examples Issue/PR related to examples

Comments

@OmerWow
Copy link

OmerWow commented Jan 22, 2022

What example does this report relate to?

using-preact

What version of Next.js are you using?

12.0.8

What version of Node.js are you using?

17

What browser are you using?

Brave, Safari

What operating system are you using?

macOS

How are you deploying your application?

Vercel & next dev

Describe the Bug

The Using-Preact example is broken, it throws an error: Error: Cannot find module 'scheduler/package.json'.

I saw that there are other issues open regarding this problem but they offer a fix that doesn't work anymore, which is just installing scheduler as a dependency/dev dependency.

I really want to switch to Preact, is that not possible anymore?

Expected Behavior

Everything should just work with Preact instead of React.

To Reproduce

Just clone and run the example or follow the installation steps in your own repo.
It's simply broken.

Also you can open the example StackBlitz link from it's README.md and you'll get the same error.

@OmerWow OmerWow added the bug Issue was opened via the bug report template. label Jan 22, 2022
@balazsorban44 balazsorban44 added the examples Issue/PR related to examples label Jan 22, 2022
@balazsorban44
Copy link
Member

Duplicate of #31240

@balazsorban44 balazsorban44 marked this as a duplicate of #31240 Jan 23, 2022
@github-actions
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template. examples Issue/PR related to examples
Projects
None yet
Development

No branches or pull requests

2 participants