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

Package path ./runtime.js is not exported from package #565

Closed
apostolos opened this issue Jan 15, 2022 · 4 comments · Fixed by #576 or palantir/blueprint#5642
Closed

Package path ./runtime.js is not exported from package #565

apostolos opened this issue Jan 15, 2022 · 4 comments · Fixed by #576 or palantir/blueprint#5642

Comments

@apostolos
Copy link

react-refresh started using the exports field in package.json
facebook/react@2f26eb8

Since then, the following error is thrown:

[0] ERROR in ./node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js 4:23-58
[0] Module not found: Error: Package path ./runtime.js is not exported from package ./node_modules/react-refresh
(see exports field in ./node_modules/react-refresh/package.json)
@pmmmwh
Copy link
Owner

pmmmwh commented Jan 15, 2022

react-refresh started using the exports field in package.json

facebook/react@2f26eb8

Since then, the following error is thrown:


[0] ERROR in ./node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js 4:23-58

[0] Module not found: Error: Package path ./runtime.js is not exported from package ./node_modules/react-refresh

(see exports field in ./node_modules/react-refresh/package.json)

I believe this is not published yet?

@apostolos
Copy link
Author

It is on the @experimental channel.

@apostolos
Copy link
Author

@pmmmwh React 18 is now published.
https://reactjs.org/blog/2022/03/29/react-v18.html

@pmmmwh
Copy link
Owner

pmmmwh commented Apr 4, 2022

Released in 0.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants