What is the solution to getting around this React problem?
It happens when i run npx create-react-app in the terminal?
if so do you know anyway i can get around this problem.
I need to add more detail.
npx create-react-app my-react-app
npx: installed 1 in 2.024s
The "path" argument must be of type string. Received type undefined
C:UsersnbatrAppDataRoamingnpmnode_modulescreate-react-appindex.js
Creating a new React app in C:Usersnbatrbookmark-appmy-react-app.
Installing packages. This might take a couple of minutes.
(node:7828) ExperimentalWarning: The fs.promises API is experimental
Installing react, react-dom, and react-scripts...
yarn add v1.12.3
(node:3716) ExperimentalWarning: The fs.promises API is experimental
[1/4] Resolving packages...
[2/4] Fetching packages...
error https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.1.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "Unexpected end of
data"info Visit https://yarnpkg.com/en/docs/cli/add for documentation about
this
command.
Aborting installation.
yarnpkg add --exact react react-dom react-scripts --cwd
C:Usersnbatrbookmark-appmy-react-app has failed.
Deleting generated file... package.json
Deleting generated file... yarn.lock
Deleting my-react-app/ from C:Usersnbatrbookmark-app
Done.
node.js reactjs yarnpkg
add a comment |
It happens when i run npx create-react-app in the terminal?
if so do you know anyway i can get around this problem.
I need to add more detail.
npx create-react-app my-react-app
npx: installed 1 in 2.024s
The "path" argument must be of type string. Received type undefined
C:UsersnbatrAppDataRoamingnpmnode_modulescreate-react-appindex.js
Creating a new React app in C:Usersnbatrbookmark-appmy-react-app.
Installing packages. This might take a couple of minutes.
(node:7828) ExperimentalWarning: The fs.promises API is experimental
Installing react, react-dom, and react-scripts...
yarn add v1.12.3
(node:3716) ExperimentalWarning: The fs.promises API is experimental
[1/4] Resolving packages...
[2/4] Fetching packages...
error https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.1.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "Unexpected end of
data"info Visit https://yarnpkg.com/en/docs/cli/add for documentation about
this
command.
Aborting installation.
yarnpkg add --exact react react-dom react-scripts --cwd
C:Usersnbatrbookmark-appmy-react-app has failed.
Deleting generated file... package.json
Deleting generated file... yarn.lock
Deleting my-react-app/ from C:Usersnbatrbookmark-app
Done.
node.js reactjs yarnpkg
It happens when i run npx create-react-app in the terminal? – is this a question or a statement? If that's a question, how do you suppose we can answer that provided the current information? Please format the input and output properly (have I separated them correctly?) Describe in detail what you do, what you expect and what actually happens, otherwise, it's really difficult to help.
– YakovL
Nov 24 '18 at 21:31
Thanks and appreciate it. I just restored my computer to factory setting and it worked just fine.
– Shawn Lee
Feb 15 at 2:12
add a comment |
It happens when i run npx create-react-app in the terminal?
if so do you know anyway i can get around this problem.
I need to add more detail.
npx create-react-app my-react-app
npx: installed 1 in 2.024s
The "path" argument must be of type string. Received type undefined
C:UsersnbatrAppDataRoamingnpmnode_modulescreate-react-appindex.js
Creating a new React app in C:Usersnbatrbookmark-appmy-react-app.
Installing packages. This might take a couple of minutes.
(node:7828) ExperimentalWarning: The fs.promises API is experimental
Installing react, react-dom, and react-scripts...
yarn add v1.12.3
(node:3716) ExperimentalWarning: The fs.promises API is experimental
[1/4] Resolving packages...
[2/4] Fetching packages...
error https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.1.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "Unexpected end of
data"info Visit https://yarnpkg.com/en/docs/cli/add for documentation about
this
command.
Aborting installation.
yarnpkg add --exact react react-dom react-scripts --cwd
C:Usersnbatrbookmark-appmy-react-app has failed.
Deleting generated file... package.json
Deleting generated file... yarn.lock
Deleting my-react-app/ from C:Usersnbatrbookmark-app
Done.
node.js reactjs yarnpkg
It happens when i run npx create-react-app in the terminal?
if so do you know anyway i can get around this problem.
I need to add more detail.
npx create-react-app my-react-app
npx: installed 1 in 2.024s
The "path" argument must be of type string. Received type undefined
C:UsersnbatrAppDataRoamingnpmnode_modulescreate-react-appindex.js
Creating a new React app in C:Usersnbatrbookmark-appmy-react-app.
Installing packages. This might take a couple of minutes.
(node:7828) ExperimentalWarning: The fs.promises API is experimental
Installing react, react-dom, and react-scripts...
yarn add v1.12.3
(node:3716) ExperimentalWarning: The fs.promises API is experimental
[1/4] Resolving packages...
[2/4] Fetching packages...
error https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.1.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "Unexpected end of
data"info Visit https://yarnpkg.com/en/docs/cli/add for documentation about
this
command.
Aborting installation.
yarnpkg add --exact react react-dom react-scripts --cwd
C:Usersnbatrbookmark-appmy-react-app has failed.
Deleting generated file... package.json
Deleting generated file... yarn.lock
Deleting my-react-app/ from C:Usersnbatrbookmark-app
Done.
node.js reactjs yarnpkg
node.js reactjs yarnpkg
edited Nov 27 '18 at 10:16
onetwo12
1,46151428
1,46151428
asked Nov 24 '18 at 17:35
Shawn LeeShawn Lee
12
12
It happens when i run npx create-react-app in the terminal? – is this a question or a statement? If that's a question, how do you suppose we can answer that provided the current information? Please format the input and output properly (have I separated them correctly?) Describe in detail what you do, what you expect and what actually happens, otherwise, it's really difficult to help.
– YakovL
Nov 24 '18 at 21:31
Thanks and appreciate it. I just restored my computer to factory setting and it worked just fine.
– Shawn Lee
Feb 15 at 2:12
add a comment |
It happens when i run npx create-react-app in the terminal? – is this a question or a statement? If that's a question, how do you suppose we can answer that provided the current information? Please format the input and output properly (have I separated them correctly?) Describe in detail what you do, what you expect and what actually happens, otherwise, it's really difficult to help.
– YakovL
Nov 24 '18 at 21:31
Thanks and appreciate it. I just restored my computer to factory setting and it worked just fine.
– Shawn Lee
Feb 15 at 2:12
It happens when i run npx create-react-app in the terminal? – is this a question or a statement? If that's a question, how do you suppose we can answer that provided the current information? Please format the input and output properly (have I separated them correctly?) Describe in detail what you do, what you expect and what actually happens, otherwise, it's really difficult to help.
– YakovL
Nov 24 '18 at 21:31
It happens when i run npx create-react-app in the terminal? – is this a question or a statement? If that's a question, how do you suppose we can answer that provided the current information? Please format the input and output properly (have I separated them correctly?) Describe in detail what you do, what you expect and what actually happens, otherwise, it's really difficult to help.
– YakovL
Nov 24 '18 at 21:31
Thanks and appreciate it. I just restored my computer to factory setting and it worked just fine.
– Shawn Lee
Feb 15 at 2:12
Thanks and appreciate it. I just restored my computer to factory setting and it worked just fine.
– Shawn Lee
Feb 15 at 2:12
add a comment |
0
active
oldest
votes
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%2f53460749%2fwhat-is-the-solution-to-getting-around-this-react-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f53460749%2fwhat-is-the-solution-to-getting-around-this-react-problem%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
It happens when i run npx create-react-app in the terminal? – is this a question or a statement? If that's a question, how do you suppose we can answer that provided the current information? Please format the input and output properly (have I separated them correctly?) Describe in detail what you do, what you expect and what actually happens, otherwise, it's really difficult to help.
– YakovL
Nov 24 '18 at 21:31
Thanks and appreciate it. I just restored my computer to factory setting and it worked just fine.
– Shawn Lee
Feb 15 at 2:12