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

Not able setup react boilerplate on Windows 10 Home Single Language #3089

Open
chouguleraviraj opened this issue Feb 28, 2023 · 0 comments
Open

Comments

@chouguleraviraj
Copy link

Machine and other details as below

  1. OS : Windows 10
  2. Node : 10.19.0
  3. Npm : 6.3

When I try to run the npm run setup the following error is encountered

[email protected] postinstall D:\react-boilerplate\node_modules\gifsicle
node lib/install.js

‼ connect ETIMEDOUT 49.44.79.236:443
‼ gifsicle pre-build test failed
i compiling from source
× Error: Command failed: C:\Windows\system32\cmd.exe /s /c "autoreconf -ivf"
'autoreconf' is not recognized as an internal or external command,
operable program or batch file.

at Promise.all.then.arr (D:\react-boilerplate\node_modules\execa\index.js:231:11)
at process._tickCallback (internal/process/next_tick.js:68:7)

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\watchpack\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of react-redux@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of styled-components@^2.0.0 || ^3.0.2 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node lib/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\LENOVO\AppData\Roaming\npm-cache_logs\2023-02-28T11_35_36_392Z-debug.log

Screenshot of the same below

image

Please suggest. Have tried the below

  1. Tried uninstalling and installing almost every version of node > 8.15.0
  2. Changed IP address from ipv6 to ipv4.
  3. Tried doing set up on different machines.
  4. Tried installing a basic 'npx create-react-app <PROJECT_NAME>'. This works as expected.
  5. Tried running 'npm add --legacy-peer-dep'.

Note: Before trying to fix have cleared the cache and deleted node_modules.

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

1 participant