react-input icon indicating copy to clipboard operation
react-input copied to clipboard

Module not found: Error: Can't resolve '@react-input/core'

Open pgruetznergridx opened this issue 2 years ago • 3 comments

I was trying to run the script "storybook" but got the mentioned error node: v18.17.0 npm: 9.6.7

pgruetznergridx avatar Sep 25 '23 10:09 pgruetznergridx

Could you provide a link to the repository with the project that has the problem?

GoncharukBro avatar Sep 26 '23 23:09 GoncharukBro

Got the same problem just cloning this repo, installing dependencies and trying to run tests or storybook. The problem is that storybook expects to have installed package @react-input/core (while global package.json doesnt have one required) in node_modules or it might be solved by adding aliases to monorepo just to fix this while you develop some package. @GoncharukBro

anshmain avatar Dec 09 '23 04:12 anshmain

Got the same problem just cloning this repo, installing dependencies and trying to run tests or storybook. The problem is that storybook expects to have installed package @react-input/core (while global package.json doesnt have one required) in node_modules or it might be solved by adding aliases to monorepo just to fix this while you develop some package. @GoncharukBro

I resolved this building the core package. I think that this is due to the "main" field in the package.json of the package

dfontalv20 avatar Jan 11 '24 02:01 dfontalv20