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

[Bug] Fresh npm install does not work #5

Closed
piotrpoz opened this issue Jan 7, 2022 · 4 comments
Closed

[Bug] Fresh npm install does not work #5

piotrpoz opened this issue Jan 7, 2022 · 4 comments

Comments

@piotrpoz
Copy link

piotrpoz commented Jan 7, 2022

Version

1.5.0

Reproduction link

Fresh install, nothing to share

Operating System

Ubuntu

Device

mac

Browser & Version

It didn't go that far...

Steps to reproduce

In the documentation it says to extract zip file and run npm install command.
I am running npm install.

What is expected?

Node modules should be installed.

What is actually happening?

npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: now-ui-kit-pro-react@1.5.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.5.0" from react-datetime@3.0.4
npm ERR! node_modules/react-datetime
npm ERR! react-datetime@"3.0.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-01-07T16_50_02_196Z-debug.log


Solution

I don't have any.

Additional comments

I suggest test prod build on a machine that wasn't previously used for development purposes.

@edbitio
Copy link

edbitio commented Apr 12, 2022

Has anyone resolved this problem? I am running into the same issue.

@sajadevo
Copy link
Contributor

Hi @piotrpoz & @edbitio

We've updated the product and the is fixed now.

Note: To get the latest updates and supports for the products and other related things to Creative Tim please join our Discord Community.

All the best,
Sajad

React Developer @ Creative-Tim.com

@karthikraja95
Copy link

I Still get this error. Dependency Issues. Could you please change the package.json to working dependencies?

Screen Shot 2022-08-11 at 1 12 00 PM

@sajadevo
Copy link
Contributor

On the package.json place replace the following:

"peerDependencies": {
    "react": ">=16.8.0",
    "react-dom": ">=16.8.0"
  },

With

"peerDependencies": {
    "react": ">=16.0.0",
    "react-dom": ">=16.0.0"
  },

Note: To get the latest updates and supports for the products and other related things to Creative Tim please join our Discord Community.

All the best,
Sajad

React Developer @ Creative-Tim.com

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

4 participants