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

Broken demo in development mode #82

Closed
andres-calvo opened this issue Jun 24, 2022 · 1 comment
Closed

Broken demo in development mode #82

andres-calvo opened this issue Jun 24, 2022 · 1 comment

Comments

@andres-calvo
Copy link

Hello, I created an app using this command
yarn create r3f-app next my-app styled -ts

Then in the index page it says that if i click de box it should go to the box page, but it doesnt. Also the events like onPointerOver and onPointerOut are not getting called.

Finally when I start the app in development mode it display this warning on the vscode terminal.

(node:16492) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin (Use "node --trace-deprecation ..." to show where the warning was created) Defining routes from exportPathMap (node:16492) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated. BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation. Do changes to assets earlier, e. g. in Compilation.hooks.processAssets. Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.

@RenaudRohlinger
Copy link
Member

This warning is related to the service worker package and should be harmless:
https://github.com/hanford/next-offline

I updated the CLI tool in order to fix styled-components with typescript:
utsuboco/create-r3f-app@2b91093

The issue:
DefinitelyTyped/DefinitelyTyped#59765

It should now work if you try to install it again. Otherwise you can just update react to the latest version with yarn add react 👍

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