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

Client "npm i" failing #30

Open
Rambo-24 opened this issue Feb 14, 2023 · 3 comments
Open

Client "npm i" failing #30

Rambo-24 opened this issue Feb 14, 2023 · 3 comments
Assignees

Comments

@Rambo-24
Copy link

Describe the error/difficulties:

  • Trying to do "npm i" on client throws dependency issues with redux and redux-thunk. After bypassing that there's "node-sass" and "node-gyp" build errors at the end of the "npm i" causing it to fail.

What have you done:

  • Re-installed Python, node and Visual Studio
  • Tried --force, --legacy-peer-deps and downgrading/upgrading respective packages
  • Deleted node modules and retried "npm i"
  • Reconfigured Path env to include Python and VS paths
  • Added python.exe to npm config
  • npm i -g node-sass
  • npm cache clean --force
  • npm install --global windows-build-tools
  • Tried almost everything in this

I am new to MERN but understand enough to be able to customize this code if I can get it to run. But the client side "npm install" process isn't executing without errors. Is this a local error on my behalf or a problem with node-sass? I have my environment paths and installs already configured. Any help would be appreciated if possible. Thank you.

@Alimurrazi
Copy link

I faced the same problem. On the client side, I use - npm install --legacy-peer-deps. This command fixed my problem.

@makethisbuildthat
Copy link

i have the same issue.

@buck2418Q
Copy link

1> Try to install the older version and check if the error remains
2> Install all re requirement as global.

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