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

Could not resolve: "react-is". Maybe you need to "bun install"? #1155

Closed
jfigueroapcs opened this issue Aug 26, 2022 · 2 comments · Fixed by #1172
Closed

Could not resolve: "react-is". Maybe you need to "bun install"? #1155

jfigueroapcs opened this issue Aug 26, 2022 · 2 comments · Fixed by #1172
Labels
bug Something isn't working

Comments

@jfigueroapcs
Copy link

Version

bun!! v0.1.10 (bdf7339)

Platform

Darwin iMac.local 16.7.0 Darwin Kernel Version 16.7.0: Sun Jun 2 20:26:31 PDT 2019; root:xnu-3789.73.50~1/RELEASE_X86_64 x86_64

What steps will reproduce the bug?

next-coockies-test bun dev
[353.00ms] bun!! v0.1.10 (bdf7339)

Link: http://localhost:3000

error: Could not resolve: "react-is". Maybe you need to "bun install"?

import * as ReactIs from "react-is";
^
/Users/Imac/projects/next-coockies-test/node_modules/bun-framework-next/renderDocument.tsx:25:26 1002JavaScript VM failed to start.
while loading "/Users/Imac/projects/next-coockies-test/node_modules/bun-framework-next/server.development.tsx"

SegmentationFault at 0xE8FF52F443050000

----- bun meta -----
Bun v0.1.10 (bdf7339) macOS x64 16.7.0
DevCommand: fast_refresh tsconfig filesystem_router framework macros public_folder bunfig
Elapsed: 8004ms | User: 34ms | Sys: 83ms
RSS: 17.76MB | Peak: 17.81MB | Commit: 16.79MB | Faults: 2189
----- bun meta -----

Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues

How often does it reproduce? Is there a required condition?

Forever

What is the expected behavior?

when executing bun dev and then clicking on the Link, the server throws the mentioned error and the execution stops

What do you see instead?

run project :)

Additional information

The error only appears when opening the page localhost:3000

@jfigueroapcs jfigueroapcs added bug Something isn't working needs repro Needs an example to reproduce labels Aug 26, 2022
@Jarred-Sumner Jarred-Sumner removed the needs repro Needs an example to reproduce label Aug 26, 2022
@Jarred-Sumner
Copy link
Collaborator

For now, try bun add react-is

However, there's a few things there that is interesting

bun should not take 353ms to start, basically ever.

@jfigueroapcs
Copy link
Author

react-is currently installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants