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

Constant problems with node-modules to install in React Project #776

Closed
Cainuriel opened this issue Sep 19, 2022 Discussed in #775 · 5 comments
Closed

Constant problems with node-modules to install in React Project #776

Cainuriel opened this issue Sep 19, 2022 Discussed in #775 · 5 comments

Comments

@Cainuriel
Copy link

Discussed in #775

Originally posted by Cainuriel September 19, 2022
There has been no way to test their attractive service. At first I get the error module not found: can't resolve '@react-stately/collections and I have followed your solution without success listed here:
#541
If I install what I am asked for I get a failure in another module:
node_modules/@nextui-org/react/esm/dropdown/use-dropdown.js

I am trying to use it in a React project, with npm version 7.24.0, node version 16.10.0 and windows 10.

@TIMMLOPK
Copy link
Contributor

Which version of nextui?

@jrgarciadev
Copy link
Member

Hey @Cainuriel this issue was fixed here #616, please be sure you are using the latest version of NextUI 1.0.0-beta.10,

  1. delete your node_modules
  2. delete your yarn.lock / package-lock.json
  3. upgrade the NextUI version to v10
  4. try again 👍🏻

@Cainuriel
Copy link
Author

Cainuriel commented Sep 20, 2022

My solution:
I remove the next-ui installation.
I switched to the latest stable version of npm....
in my case 8.19.2. My before version was 7.24.0.

I cleaned cache again... npm cache clean --force
I remove modules folders and lock.json file.
npm install
Finally I make sure to install the latest version npm install @nextui-org/react@latest.
It worked.

@Cainuriel
Copy link
Author

Which version of nextui?

the last.

@Cainuriel
Copy link
Author

Hey @Cainuriel this issue was fixed here #616, please be sure you are using the latest version of NextUI 1.0.0-beta.10,

  1. delete your node_modules
  2. delete your yarn.lock / package-lock.json
  3. upgrade the NextUI version to v10
  4. try again 👍🏻

sorry I didn't see your messages before looking for the solution I shared.

On the other hand, I take this opportunity to ask a question.
How can I make a popover work with hover? I do not have to click to get the text. Thank you very much, I love your service.

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

3 participants