After creating my react app using “npx create-react-app my-app,” npm start is throwing me an ELIFECYCLE error. What do?npm start on new create-react-app build returns ELIFECYCLE errornpm throws error without sudocreate-react-app not workingcreate-react-app can not run after install a modulenpm start refuses to work after adding React-BootstrapI am having this ERR! code ELIFECYCLE error while running npm start locally?npm start error angularjs(frontend)Error after running NPM start on react projectMailchimp API with NodeJS - add a member to list returns me “Error: getaddrinfo ENOTFOUND”Problem while Installing React on Mac OS, using create-react-appReact Native - error running “npm start” and “react-native run-android”
Possibility of faking someone's public key
3 prong range outlet
Is superuser the same as root?
How to keep consistency across the application architecture as a team grows?
A burglar's sunglasses, a lady's odyssey
Time complexity of an algorithm: Is it important to state the base of the logarithm?
Why did Jon Snow do this immoral act if he is so honorable?
Dad jokes are fun
Is there a simple example that empirical evidence is misleading?
Why was this character made Grand Maester?
Why is 'additive' EQ more difficult to use than 'subtractive'?
One word for 'the thing that attracts me'?
Why did other houses not demand this?
If I arrive in the UK, and then head to mainland Europe, does my Schengen visa 90 day limit start when I arrived in the UK, or mainland Europe?
Can a ring of spell storing and access to Find spells produce an endless menagerie?
Can a UK national work as a paid shop assistant in the USA?
Why did Jon Snow admit his fault in S08E06?
Is this homebrew "Cactus Grenade" cantrip balanced?
Shorten or merge multiple lines of `&> /dev/null &`
Why is the Eisenstein ideal paper so great?
Finding all files with a given extension whose base name is the name of the parent directory
Heat lost in ideal capacitor charging
Is my plasma cannon concept viable?
Are runways booked by airlines to land their planes?
After creating my react app using “npx create-react-app my-app,” npm start is throwing me an ELIFECYCLE error. What do?
npm start on new create-react-app build returns ELIFECYCLE errornpm throws error without sudocreate-react-app not workingcreate-react-app can not run after install a modulenpm start refuses to work after adding React-BootstrapI am having this ERR! code ELIFECYCLE error while running npm start locally?npm start error angularjs(frontend)Error after running NPM start on react projectMailchimp API with NodeJS - add a member to list returns me “Error: getaddrinfo ENOTFOUND”Problem while Installing React on Mac OS, using create-react-appReact Native - error running “npm start” and “react-native run-android”
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm going through the official react tutorial and wish to use my own text editor; so I followed their instructions and made it all the way to the point where I create my app via "npx create-react-app my-app". Afterwards when I run the command "npm start" I get the following:
(base) Benjamins-MacBook-Pro:my-app solidiquis$ npm start
my-app@0.1.0 start /Users/solidiquis/Desktop/my-app
react-scripts start
Attempting to bind to HOST environment variable: x86_64-apple-darwin13.4.0
If this was unintentional, check that you haven't mistakenly set it in your shell.
Learn more here: **omitted
events.js:173
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND x86_64-apple-darwin13.4.0
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:26)
Emitted 'error' event at:
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1440:12) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-app@0.1.0 start 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! /Users/solidiquis/.npm/_logs/2019-03-23T20_04_34_120Z-debug.log
(base) Benjamins-MacBook-Pro:my-app solidiquis$
I've uninstalled and re-installed node multiples; I've also tried adding a .env file in my project's root directory as described here:
npm start on new create-react-app build returns ELIFECYCLE error, but to no avail. Any help would greatly be appreciated!
node.js reactjs
add a comment |
I'm going through the official react tutorial and wish to use my own text editor; so I followed their instructions and made it all the way to the point where I create my app via "npx create-react-app my-app". Afterwards when I run the command "npm start" I get the following:
(base) Benjamins-MacBook-Pro:my-app solidiquis$ npm start
my-app@0.1.0 start /Users/solidiquis/Desktop/my-app
react-scripts start
Attempting to bind to HOST environment variable: x86_64-apple-darwin13.4.0
If this was unintentional, check that you haven't mistakenly set it in your shell.
Learn more here: **omitted
events.js:173
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND x86_64-apple-darwin13.4.0
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:26)
Emitted 'error' event at:
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1440:12) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-app@0.1.0 start 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! /Users/solidiquis/.npm/_logs/2019-03-23T20_04_34_120Z-debug.log
(base) Benjamins-MacBook-Pro:my-app solidiquis$
I've uninstalled and re-installed node multiples; I've also tried adding a .env file in my project's root directory as described here:
npm start on new create-react-app build returns ELIFECYCLE error, but to no avail. Any help would greatly be appreciated!
node.js reactjs
add a comment |
I'm going through the official react tutorial and wish to use my own text editor; so I followed their instructions and made it all the way to the point where I create my app via "npx create-react-app my-app". Afterwards when I run the command "npm start" I get the following:
(base) Benjamins-MacBook-Pro:my-app solidiquis$ npm start
my-app@0.1.0 start /Users/solidiquis/Desktop/my-app
react-scripts start
Attempting to bind to HOST environment variable: x86_64-apple-darwin13.4.0
If this was unintentional, check that you haven't mistakenly set it in your shell.
Learn more here: **omitted
events.js:173
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND x86_64-apple-darwin13.4.0
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:26)
Emitted 'error' event at:
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1440:12) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-app@0.1.0 start 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! /Users/solidiquis/.npm/_logs/2019-03-23T20_04_34_120Z-debug.log
(base) Benjamins-MacBook-Pro:my-app solidiquis$
I've uninstalled and re-installed node multiples; I've also tried adding a .env file in my project's root directory as described here:
npm start on new create-react-app build returns ELIFECYCLE error, but to no avail. Any help would greatly be appreciated!
node.js reactjs
I'm going through the official react tutorial and wish to use my own text editor; so I followed their instructions and made it all the way to the point where I create my app via "npx create-react-app my-app". Afterwards when I run the command "npm start" I get the following:
(base) Benjamins-MacBook-Pro:my-app solidiquis$ npm start
my-app@0.1.0 start /Users/solidiquis/Desktop/my-app
react-scripts start
Attempting to bind to HOST environment variable: x86_64-apple-darwin13.4.0
If this was unintentional, check that you haven't mistakenly set it in your shell.
Learn more here: **omitted
events.js:173
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND x86_64-apple-darwin13.4.0
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:26)
Emitted 'error' event at:
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1440:12) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-app@0.1.0 start 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! /Users/solidiquis/.npm/_logs/2019-03-23T20_04_34_120Z-debug.log
(base) Benjamins-MacBook-Pro:my-app solidiquis$
I've uninstalled and re-installed node multiples; I've also tried adding a .env file in my project's root directory as described here:
npm start on new create-react-app build returns ELIFECYCLE error, but to no avail. Any help would greatly be appreciated!
node.js reactjs
node.js reactjs
asked Mar 23 at 23:29
BenjiBenji
111
111
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
For me this was happening because the HOST variable was set to "x86_64-apple-darwin13.4.0". The steps here helped me fix it: https://medium.com/@choy/fixing-create-react-app-when-npm-fails-to-start-because-your-host-environment-variable-is-being-4c8a9fa0b461
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%2f55319333%2fafter-creating-my-react-app-using-npx-create-react-app-my-app-npm-start-is-th%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
For me this was happening because the HOST variable was set to "x86_64-apple-darwin13.4.0". The steps here helped me fix it: https://medium.com/@choy/fixing-create-react-app-when-npm-fails-to-start-because-your-host-environment-variable-is-being-4c8a9fa0b461
add a comment |
For me this was happening because the HOST variable was set to "x86_64-apple-darwin13.4.0". The steps here helped me fix it: https://medium.com/@choy/fixing-create-react-app-when-npm-fails-to-start-because-your-host-environment-variable-is-being-4c8a9fa0b461
add a comment |
For me this was happening because the HOST variable was set to "x86_64-apple-darwin13.4.0". The steps here helped me fix it: https://medium.com/@choy/fixing-create-react-app-when-npm-fails-to-start-because-your-host-environment-variable-is-being-4c8a9fa0b461
For me this was happening because the HOST variable was set to "x86_64-apple-darwin13.4.0". The steps here helped me fix it: https://medium.com/@choy/fixing-create-react-app-when-npm-fails-to-start-because-your-host-environment-variable-is-being-4c8a9fa0b461
answered Apr 7 at 16:08
saurabhgaursaurabhgaur
221
221
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%2f55319333%2fafter-creating-my-react-app-using-npx-create-react-app-my-app-npm-start-is-th%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