-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Error when calling npm start or yarn start #2661
Comments
Thanks for the report. This seems like some sort of Node/Windows compatibility issue. As noted in sass/node-sass#1283 (comment) and npm/npm#11024 (very similar symptoms), it might be related to unusual Windows system permissions, an antivirus running, or something like this. The specific symptom is that neither Yarn nor npm seem to be able to spawn a process. I'm very sorry about closing this but it's just not possible to fix here. |
+1, however, vue-cli just such a great boilerplate, which doesn't come across such problem... |
+1, I have this problem too.the problem is same as what hudibrian described. Is there any solution to this problem ? |
Not that I'm aware of. You could try reinstalling Node, disable any antivirus software, login as system administrator, or run some tool to repair disk permissions. |
after you install the new dependency, |
i deleted my node_module folder and did yarn install. I also rollbacked my npm and yarn versions to more stable versions. |
Probably not related at all to the OP issue. But in case anyone is using windows containers and is trying to build a cra from within in the container and stumbles on this error. Like I did. I fixed it by setting the memory limit to 2048mb instead of the default 1024mb. docker run -m 2048mb ... |
Sorry for being silent on this issue since I created it. I wasn't able to exactly pinpoint the issue but it seemed to be related to my companies access restrictions on my PC and or their antivirus. Shortly after experiencing this issue I moved to a macbook from my windows machine, and it has worked just fine on the mac side, and in parallels on windows 10. That being said, I installed the copy of windows that is running in parallels and have full administrator rights and choice of AV and whether or not it is running. |
did anyone got a solution for this? I tried using other node version , and shutdown the antivirus, that didn't work. |
I've followed the same steps as @belhassen07 and got the same errors too... |
deleting node modules helped in my case. |
strrriiikkkkeee :-) via npm install (call it where the package.json file is located in your example folder) |
Hello, I have been trying to create and work on an app and I have done an
npm install -g create-react-app
, and then executedcreate-react-app testName
, and it finished successfully. But when I cd in to the project and runnpm start
oryarn start
it fails with the following errors:I'm having trouble interpreting the error logs, so if anyone has an idea I would appreciate it!
npm start:
yarn start:
*note: I use nvm and have tried with multiple versions, and nothing has helped. I've also uninstalled node and reinstalled, cleared cache, but it doesn't seem to work.
node -v
: 6.11.0npm -v
: 4.6.1yarn --version
: 0.24.6npm ls react-scripts
: react-scripts@1.0.7Then, specify:
Steps to Reproduce
npm install -g create-react-app
create-react-app test
cd test
npm start or yarn start
Expected Behavior
Expected it to host the app at localhost:3000
Actual Behavior
Package Json
The text was updated successfully, but these errors were encountered: