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] npm not install #67

Closed
UmangD85 opened this issue Jul 29, 2021 · 5 comments
Closed

[Bug] npm not install #67

UmangD85 opened this issue Jul 29, 2021 · 5 comments

Comments

@UmangD85
Copy link

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
Copy link

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
Copy link
Author

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
Copy link

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
Copy link

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.

@spacjar
Copy link

spacjar commented Aug 2, 2022

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

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

5 participants