npx create-react-app --info throws
Created by: rteshnizi
Is this a bug report?
Yes
Environment
See issue title.
node v8.11.1
npm v6.4.1
Steps to Reproduce
npx create-react-app --info
- See error
Expected Behavior
Show environment information. I have tried with different PCs.
Actual Behavior
npx: installed 63 in 3.815s
C:\Users\[Redacted]\AppData\Roaming\npm-cache\_npx\1252\node_modules\create-react-app\index.js
Environment Info:
(node:1252) UnhandledPromiseRejectionWarning: Error: The system cannot find the path specified.
at Function.e.exports.sync (C:\Users\[Redacted]\AppData\Roaming\npm-cache\_npx\1252\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:7778)
at Object.copySync (C:\Users\[Redacted]\AppData\Roaming\npm-cache\_npx\1252\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:104976)
at Object.t.writeSync.e [as writeSync] (C:\Users\[Redacted]\AppData\Roaming\npm-cache\_npx\1252\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:123499)
at C:\Users\[Redacted]\AppData\Roaming\npm-cache\_npx\1252\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:124274
at Promise.all.then.e (C:\Users\[Redacted]\AppData\Roaming\npm-cache\_npx\1252\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:124289)
at <anonymous>
(node:1252) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1252) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.