creativetimofficial / argon-dashboard-react

React version of Argon Dashboard
MIT License
442 stars 756 forks source link

[Bug] npm not install #67

Closed UmangD85 closed 2 years ago

UmangD85 commented 3 years ago

Version

1.2.1

Reproduction link

https://github.com/creativetimofficial/argon-dashboard-react

Operating System

Windows

Device

Lenovo

Browser & Version

Chrome

Steps to reproduce

Download code from this link : https://github.com/creativetimofficial/argon-dashboard-react

go to project folder & run npm install, its not working properly.

my node version is 14.16.1

What is expected?

install & run properly

What is actually happening?

not install


Solution

Additional comments

lucasdiedrich commented 3 years ago

Yeap, it this seems a problem. Using npm i --force ignores this to run the project. image

The error on npm i sugests a incompatibility with: image

UmangD85 commented 3 years ago

Hello @lucasdiedrich,

Thanks for your time.

im downgrade the version of react-datetime to 3.0.3 & try command npm install but its not working & then im go with npm install --force but im having none or more issues with this,

attach a log file for your reference. & my Node version is 16.4.1 Thank You,

2021-07-30T18_49_28_686Z-debug.log

Klausmd5 commented 3 years ago

Hello @lucasdiedrich,

Thanks for your time.

im downgrade the version of react-datetime to 3.0.3 & try command npm install but its not working & then im go with npm install --force but im having none or more issues with this,

attach a log file for your reference. & my Node version is 16.4.1 Thank You,

2021-07-30T18_49_28_686Z-debug.log

same here

Klausmd5 commented 3 years ago

Got it working!

Here is what I did:

It seems that fontawsome had some api changes for the free api so you can't really download older versions without premium.

spacjar commented 2 years ago

Somehow got it working.

This is what I did:

  1. Go to package.json and remove the following:
    "node-sass": "6.0.1",
    "node-sass-package-importer": "5.3.2",
  2. Install all dependencies from package.json (you may need to use --force) npm install --force
  3. Replace node-sass with sass npm install sass
  4. Start your development server npm start

Note

It may also be worth looking at your Node version and comparing it with minimum and maximum supported versions of node-sass. More info here: https://www.npmjs.com/package/node-sass