argon-dashboard-react icon indicating copy to clipboard operation
argon-dashboard-react copied to clipboard

[Bug] npm not install

Open UmangD85 opened this issue 3 years ago • 5 comments

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

UmangD85 avatar Jul 29 '21 18:07 UmangD85

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

lucasdiedrich avatar Jul 30 '21 01:07 lucasdiedrich

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

UmangD85 avatar Jul 30 '21 18:07 UmangD85

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 avatar Aug 11 '21 22:08 Klausmd5

Got it working!

Here is what I did:

  • Install node ltd (I don't think that this solved it..)
  • Modified package.json and replaced fontawsome dependency with "@fortawesome/fontawesome-free": "^5.15.4",
  • use yarn install (I also don't think that this helped a lot)

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

Klausmd5 avatar Aug 11 '21 22:08 Klausmd5

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",
  1. Install all dependencies from package.json (you may need to use --force) npm install --force
  2. Replace node-sass with sass npm install sass
  3. 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

spacjar avatar Aug 02 '22 08:08 spacjar