create-react-app Failing to create a new React app in windows 10 Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Got error running existing react js appcreate-react-app not workingcreate-react-app can not run after install a moduleMacbook React Native installI am installing “material-ui-icons” using command npm i -S material-ui-icons but getting error as followI want to upgrade material-ui from version “0.20.0” to “v1.0.0-beta.26” using command “npm install --save material-ui@next”Got an error while executing “create-react-app my-app”How to install react-native?having problems running these command VS code to create a react appHow can I debug the “Process exited with non-zero code: 4294963248” bug?
How do I find out the mythology and history of my Fortress?
macOS: Name for app shortcut screen found by pinching with thumb and three fingers
Lagrange four-squares theorem --- deterministic complexity
The Nth Gryphon Number
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
Significance of Cersei's obsession with elephants?
Tannaka duality for semisimple groups
What to do with repeated rejections for phd position
What's the point of the test set?
How to report t statistic from R
How does the math work when buying airline miles?
Project Euler #1 in C++
AppleTVs create a chatty alternate WiFi network
How can I prevent/balance waiting and turtling as a response to cooldown mechanics
Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?
Why are my pictures showing a dark band on one edge?
Why can't I install Tomboy in Ubuntu Mate 19.04?
How often does castling occur in grandmaster games?
How many morphisms from 1 to 1+1 can there be?
Crossing US/Canada Border for less than 24 hours
What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?
Deconstruction is ambiguous
What is the meaning of 'breadth' in breadth first search?
Time evolution of a Gaussian wave packet, why convert to k-space?
create-react-app Failing to create a new React app in windows 10
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Got error running existing react js appcreate-react-app not workingcreate-react-app can not run after install a moduleMacbook React Native installI am installing “material-ui-icons” using command npm i -S material-ui-icons but getting error as followI want to upgrade material-ui from version “0.20.0” to “v1.0.0-beta.26” using command “npm install --save material-ui@next”Got an error while executing “create-react-app my-app”How to install react-native?having problems running these command VS code to create a react appHow can I debug the “Process exited with non-zero code: 4294963248” bug?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have Create-react-app version 1.4.3 instlalled. When I try to create a new App , I get the following messages in the command prompt. Please help me find and fix the issue.
C:UsersGSI-KOLDesktopserver>create-react-app client
Creating a new React app in C:UsersGSI-KOLDesktopserverclient.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
uglifyjs-webpack-plugin@0.4.6 postinstall C:UsersGSI-KOLDesktopserverclientnode_modulesuglifyjs-webpack-plugin
node lib/post_install.js
npm ERR! path C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules'
npm ERR! Error: EPERM: operation not permitted, lstat 'C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules'
npm ERR! stack: 'Error: EPERM: operation not permitted, lstat 'C:\Users\GSI-KOL\Desktop\server\client\node_modules\fsevents\node_modules'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path: 'C:\Users\GSI-KOL\Desktop\server\client\node_modules\fsevents\node_modules'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersGSI-KOLAppDataRoamingnpm-cache_logs2017-11-08T13_08_03_705Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting client / from C:UsersGSI-KOLDesktopserver
Done.
C:UsersGSI-KOLDesktopserver>
reactjs
add a comment |
I have Create-react-app version 1.4.3 instlalled. When I try to create a new App , I get the following messages in the command prompt. Please help me find and fix the issue.
C:UsersGSI-KOLDesktopserver>create-react-app client
Creating a new React app in C:UsersGSI-KOLDesktopserverclient.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
uglifyjs-webpack-plugin@0.4.6 postinstall C:UsersGSI-KOLDesktopserverclientnode_modulesuglifyjs-webpack-plugin
node lib/post_install.js
npm ERR! path C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules'
npm ERR! Error: EPERM: operation not permitted, lstat 'C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules'
npm ERR! stack: 'Error: EPERM: operation not permitted, lstat 'C:\Users\GSI-KOL\Desktop\server\client\node_modules\fsevents\node_modules'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path: 'C:\Users\GSI-KOL\Desktop\server\client\node_modules\fsevents\node_modules'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersGSI-KOLAppDataRoamingnpm-cache_logs2017-11-08T13_08_03_705Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting client / from C:UsersGSI-KOLDesktopserver
Done.
C:UsersGSI-KOLDesktopserver>
reactjs
add a comment |
I have Create-react-app version 1.4.3 instlalled. When I try to create a new App , I get the following messages in the command prompt. Please help me find and fix the issue.
C:UsersGSI-KOLDesktopserver>create-react-app client
Creating a new React app in C:UsersGSI-KOLDesktopserverclient.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
uglifyjs-webpack-plugin@0.4.6 postinstall C:UsersGSI-KOLDesktopserverclientnode_modulesuglifyjs-webpack-plugin
node lib/post_install.js
npm ERR! path C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules'
npm ERR! Error: EPERM: operation not permitted, lstat 'C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules'
npm ERR! stack: 'Error: EPERM: operation not permitted, lstat 'C:\Users\GSI-KOL\Desktop\server\client\node_modules\fsevents\node_modules'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path: 'C:\Users\GSI-KOL\Desktop\server\client\node_modules\fsevents\node_modules'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersGSI-KOLAppDataRoamingnpm-cache_logs2017-11-08T13_08_03_705Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting client / from C:UsersGSI-KOLDesktopserver
Done.
C:UsersGSI-KOLDesktopserver>
reactjs
I have Create-react-app version 1.4.3 instlalled. When I try to create a new App , I get the following messages in the command prompt. Please help me find and fix the issue.
C:UsersGSI-KOLDesktopserver>create-react-app client
Creating a new React app in C:UsersGSI-KOLDesktopserverclient.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
uglifyjs-webpack-plugin@0.4.6 postinstall C:UsersGSI-KOLDesktopserverclientnode_modulesuglifyjs-webpack-plugin
node lib/post_install.js
npm ERR! path C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules'
npm ERR! Error: EPERM: operation not permitted, lstat 'C:UsersGSI-KOLDesktopserverclientnode_modulesfseventsnode_modules'
npm ERR! stack: 'Error: EPERM: operation not permitted, lstat 'C:\Users\GSI-KOL\Desktop\server\client\node_modules\fsevents\node_modules'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path: 'C:\Users\GSI-KOL\Desktop\server\client\node_modules\fsevents\node_modules'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersGSI-KOLAppDataRoamingnpm-cache_logs2017-11-08T13_08_03_705Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting client / from C:UsersGSI-KOLDesktopserver
Done.
C:UsersGSI-KOLDesktopserver>
reactjs
reactjs
edited Nov 8 '17 at 13:31
YanetP1988
77711226
77711226
asked Nov 8 '17 at 13:14
Sanat PSanat P
212
212
add a comment |
add a comment |
7 Answers
7
active
oldest
votes
It looks like you need admin privileges to write some of the generated files. Can you create a terminal instance with administrator rights then reissue the command?
add a comment |
You probably had "create-react-app" running before, which was the problem in my case anyway. The way I solved this was using npm cache clean --force
and ran create-react-app my-app
again.
add a comment |
I was faced this same problem . It is due to the issue with npm .
please run the following command in command Line
npm cache clean --force
then run
create-react-app <project Name>
If your problem still exist then switch from npm to yarn
run the following commands, it solved my problem
npm install -g yarn
yarn global add create-react-app
create-react-app <projectname>
add a comment |
For me, i wasn't connected to the internet when i tried to run 'create-react-app', so i connected and tried it, it worked, i'm guessing it needed to install some packages from the internet.
add a comment |
I suspect npm has an issue. However, this was how I was able to resolve it
follow this steps, i assure you, you will get it resolved. It worked for me
npm install -g yarn
yarn global add create-react-app
create-react-app
add a comment |
This was my error:
3695 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\****\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--save" "--save-exact" "--loglevel" "error" "react" "react-dom" "react-scripts"
3696 verbose node v6.10.3
3697 verbose npm v6.4.1
3698 error code Z_BUF_ERROR
3699 error errno -5
3700 error zlib: unexpected end of file
This solved the issue:
npm cache clean --force and ran create-react-app my-app
thanks stackoverflow.com/users/2227743/moritz
– Venkat Gupta
Oct 30 '18 at 11:39
add a comment |
Creating a new React app in C:UsersCMDownloadsreactgithub-profile.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
npm ERR! path C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335b1
0893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6
5545008a3cad93d00f806'
npm ERR! { [Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1f
a335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6554500
8a3cad93d00f806']
npm ERR! cause:
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1
fa335b10893d67f7339e4
af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015
eec65545008a3cad93d00f806'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335
b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93
d00f806',
npm ERR! parent: 'postcss-image-set-function'
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a
text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-
check thenpm ERR! permissions of the file and its containing directories, or
try running
npm ERR! the command again as root/Administrator (though this is not
recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersCMAppDataRoamingnpm-cache_logs2019-03-22T10_
27_19_722Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-
scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting github-profile/ from C:UsersCMDownloadsreactDone.``
i was facing similar error but i tried to run create-react-app command many times and finally it was created , this was the problem with my internet connection. check your inernet connection
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47180722%2fcreate-react-app-failing-to-create-a-new-react-app-in-windows-10%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
It looks like you need admin privileges to write some of the generated files. Can you create a terminal instance with administrator rights then reissue the command?
add a comment |
It looks like you need admin privileges to write some of the generated files. Can you create a terminal instance with administrator rights then reissue the command?
add a comment |
It looks like you need admin privileges to write some of the generated files. Can you create a terminal instance with administrator rights then reissue the command?
It looks like you need admin privileges to write some of the generated files. Can you create a terminal instance with administrator rights then reissue the command?
answered Nov 8 '17 at 13:22
duhaimeduhaime
9,26456188
9,26456188
add a comment |
add a comment |
You probably had "create-react-app" running before, which was the problem in my case anyway. The way I solved this was using npm cache clean --force
and ran create-react-app my-app
again.
add a comment |
You probably had "create-react-app" running before, which was the problem in my case anyway. The way I solved this was using npm cache clean --force
and ran create-react-app my-app
again.
add a comment |
You probably had "create-react-app" running before, which was the problem in my case anyway. The way I solved this was using npm cache clean --force
and ran create-react-app my-app
again.
You probably had "create-react-app" running before, which was the problem in my case anyway. The way I solved this was using npm cache clean --force
and ran create-react-app my-app
again.
answered Oct 15 '18 at 19:51
Tobi AdedipeTobi Adedipe
213
213
add a comment |
add a comment |
I was faced this same problem . It is due to the issue with npm .
please run the following command in command Line
npm cache clean --force
then run
create-react-app <project Name>
If your problem still exist then switch from npm to yarn
run the following commands, it solved my problem
npm install -g yarn
yarn global add create-react-app
create-react-app <projectname>
add a comment |
I was faced this same problem . It is due to the issue with npm .
please run the following command in command Line
npm cache clean --force
then run
create-react-app <project Name>
If your problem still exist then switch from npm to yarn
run the following commands, it solved my problem
npm install -g yarn
yarn global add create-react-app
create-react-app <projectname>
add a comment |
I was faced this same problem . It is due to the issue with npm .
please run the following command in command Line
npm cache clean --force
then run
create-react-app <project Name>
If your problem still exist then switch from npm to yarn
run the following commands, it solved my problem
npm install -g yarn
yarn global add create-react-app
create-react-app <projectname>
I was faced this same problem . It is due to the issue with npm .
please run the following command in command Line
npm cache clean --force
then run
create-react-app <project Name>
If your problem still exist then switch from npm to yarn
run the following commands, it solved my problem
npm install -g yarn
yarn global add create-react-app
create-react-app <projectname>
answered Dec 14 '18 at 3:43
Alex VargheseAlex Varghese
639
639
add a comment |
add a comment |
For me, i wasn't connected to the internet when i tried to run 'create-react-app', so i connected and tried it, it worked, i'm guessing it needed to install some packages from the internet.
add a comment |
For me, i wasn't connected to the internet when i tried to run 'create-react-app', so i connected and tried it, it worked, i'm guessing it needed to install some packages from the internet.
add a comment |
For me, i wasn't connected to the internet when i tried to run 'create-react-app', so i connected and tried it, it worked, i'm guessing it needed to install some packages from the internet.
For me, i wasn't connected to the internet when i tried to run 'create-react-app', so i connected and tried it, it worked, i'm guessing it needed to install some packages from the internet.
answered Dec 3 '18 at 19:54
Tobi AdedipeTobi Adedipe
213
213
add a comment |
add a comment |
I suspect npm has an issue. However, this was how I was able to resolve it
follow this steps, i assure you, you will get it resolved. It worked for me
npm install -g yarn
yarn global add create-react-app
create-react-app
add a comment |
I suspect npm has an issue. However, this was how I was able to resolve it
follow this steps, i assure you, you will get it resolved. It worked for me
npm install -g yarn
yarn global add create-react-app
create-react-app
add a comment |
I suspect npm has an issue. However, this was how I was able to resolve it
follow this steps, i assure you, you will get it resolved. It worked for me
npm install -g yarn
yarn global add create-react-app
create-react-app
I suspect npm has an issue. However, this was how I was able to resolve it
follow this steps, i assure you, you will get it resolved. It worked for me
npm install -g yarn
yarn global add create-react-app
create-react-app
answered Jan 13 at 17:17
McbriandavidsMcbriandavids
13
13
add a comment |
add a comment |
This was my error:
3695 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\****\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--save" "--save-exact" "--loglevel" "error" "react" "react-dom" "react-scripts"
3696 verbose node v6.10.3
3697 verbose npm v6.4.1
3698 error code Z_BUF_ERROR
3699 error errno -5
3700 error zlib: unexpected end of file
This solved the issue:
npm cache clean --force and ran create-react-app my-app
thanks stackoverflow.com/users/2227743/moritz
– Venkat Gupta
Oct 30 '18 at 11:39
add a comment |
This was my error:
3695 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\****\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--save" "--save-exact" "--loglevel" "error" "react" "react-dom" "react-scripts"
3696 verbose node v6.10.3
3697 verbose npm v6.4.1
3698 error code Z_BUF_ERROR
3699 error errno -5
3700 error zlib: unexpected end of file
This solved the issue:
npm cache clean --force and ran create-react-app my-app
thanks stackoverflow.com/users/2227743/moritz
– Venkat Gupta
Oct 30 '18 at 11:39
add a comment |
This was my error:
3695 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\****\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--save" "--save-exact" "--loglevel" "error" "react" "react-dom" "react-scripts"
3696 verbose node v6.10.3
3697 verbose npm v6.4.1
3698 error code Z_BUF_ERROR
3699 error errno -5
3700 error zlib: unexpected end of file
This solved the issue:
npm cache clean --force and ran create-react-app my-app
This was my error:
3695 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\****\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--save" "--save-exact" "--loglevel" "error" "react" "react-dom" "react-scripts"
3696 verbose node v6.10.3
3697 verbose npm v6.4.1
3698 error code Z_BUF_ERROR
3699 error errno -5
3700 error zlib: unexpected end of file
This solved the issue:
npm cache clean --force and ran create-react-app my-app
edited Oct 29 '18 at 14:59
ayaio
59.1k20135189
59.1k20135189
answered Oct 29 '18 at 14:05
Venkat GuptaVenkat Gupta
11
11
thanks stackoverflow.com/users/2227743/moritz
– Venkat Gupta
Oct 30 '18 at 11:39
add a comment |
thanks stackoverflow.com/users/2227743/moritz
– Venkat Gupta
Oct 30 '18 at 11:39
thanks stackoverflow.com/users/2227743/moritz
– Venkat Gupta
Oct 30 '18 at 11:39
thanks stackoverflow.com/users/2227743/moritz
– Venkat Gupta
Oct 30 '18 at 11:39
add a comment |
Creating a new React app in C:UsersCMDownloadsreactgithub-profile.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
npm ERR! path C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335b1
0893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6
5545008a3cad93d00f806'
npm ERR! { [Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1f
a335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6554500
8a3cad93d00f806']
npm ERR! cause:
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1
fa335b10893d67f7339e4
af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015
eec65545008a3cad93d00f806'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335
b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93
d00f806',
npm ERR! parent: 'postcss-image-set-function'
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a
text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-
check thenpm ERR! permissions of the file and its containing directories, or
try running
npm ERR! the command again as root/Administrator (though this is not
recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersCMAppDataRoamingnpm-cache_logs2019-03-22T10_
27_19_722Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-
scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting github-profile/ from C:UsersCMDownloadsreactDone.``
i was facing similar error but i tried to run create-react-app command many times and finally it was created , this was the problem with my internet connection. check your inernet connection
add a comment |
Creating a new React app in C:UsersCMDownloadsreactgithub-profile.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
npm ERR! path C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335b1
0893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6
5545008a3cad93d00f806'
npm ERR! { [Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1f
a335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6554500
8a3cad93d00f806']
npm ERR! cause:
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1
fa335b10893d67f7339e4
af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015
eec65545008a3cad93d00f806'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335
b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93
d00f806',
npm ERR! parent: 'postcss-image-set-function'
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a
text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-
check thenpm ERR! permissions of the file and its containing directories, or
try running
npm ERR! the command again as root/Administrator (though this is not
recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersCMAppDataRoamingnpm-cache_logs2019-03-22T10_
27_19_722Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-
scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting github-profile/ from C:UsersCMDownloadsreactDone.``
i was facing similar error but i tried to run create-react-app command many times and finally it was created , this was the problem with my internet connection. check your inernet connection
add a comment |
Creating a new React app in C:UsersCMDownloadsreactgithub-profile.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
npm ERR! path C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335b1
0893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6
5545008a3cad93d00f806'
npm ERR! { [Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1f
a335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6554500
8a3cad93d00f806']
npm ERR! cause:
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1
fa335b10893d67f7339e4
af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015
eec65545008a3cad93d00f806'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335
b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93
d00f806',
npm ERR! parent: 'postcss-image-set-function'
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a
text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-
check thenpm ERR! permissions of the file and its containing directories, or
try running
npm ERR! the command again as root/Administrator (though this is not
recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersCMAppDataRoamingnpm-cache_logs2019-03-22T10_
27_19_722Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-
scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting github-profile/ from C:UsersCMDownloadsreactDone.``
i was facing similar error but i tried to run create-react-app command many times and finally it was created , this was the problem with my internet connection. check your inernet connection
Creating a new React app in C:UsersCMDownloadsreactgithub-profile.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
npm ERR! path C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335b1
0893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6
5545008a3cad93d00f806'
npm ERR! { [Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1f
a335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec6554500
8a3cad93d00f806']
npm ERR! cause:
npm ERR! Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1
fa335b10893d67f7339e4
af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93d00f806'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, lstat
'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996
b1fa335b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015
eec65545008a3cad93d00f806'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path:
npm ERR! 'C:UsersCMAppDataRoamingnpm-cache_cacachecontent-
v2sha51236c6c3e97514319bc1c6d40026e58325e782e1016c996b1fa335
b10893d67f7339e4af62bb688c0da2aaca839d4c9d51e2eb015eec65545008a3cad93
d00f806',
npm ERR! parent: 'postcss-image-set-function'
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a
text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-
check thenpm ERR! permissions of the file and its containing directories, or
try running
npm ERR! the command again as root/Administrator (though this is not
recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersCMAppDataRoamingnpm-cache_logs2019-03-22T10_
27_19_722Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-
scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting github-profile/ from C:UsersCMDownloadsreactDone.``
i was facing similar error but i tried to run create-react-app command many times and finally it was created , this was the problem with my internet connection. check your inernet connection
answered Mar 22 at 11:01
chandra mohanchandra mohan
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47180722%2fcreate-react-app-failing-to-create-a-new-react-app-in-windows-10%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown