create-react-library icon indicating copy to clipboard operation
create-react-library copied to clipboard

TypeError: Command failed: npm install timedPromise.finally is not a function

Open abhion opened this issue 5 years ago • 1 comments

I followed the instructions and I get this after I run npx create-react-library: ` √ Copying default template to D:\DCT\tasks\react-analog-clock

Initializing npm dependencies. This will take a minute.

  • Running npm install in root directory × Running npm install in root directory { TypeError: Command failed: npm install timedPromise.finally is not a function at setExitHandler (C:\Users\abhi_\AppData\Roaming\npm\node_modules\create-react-library\node_modules\execa\lib\kill.js:102:29) at execa (C:\Users\abhi_\AppData\Roaming\npm\node_modules\create-react-library\node_modules\execa\index.js:100:22) at pEachSeries (C:\Users\abhi_\AppData\Roaming\npm\node_modules\create-react-library\lib\create-library.js:118:12) at pEachSeries (C:\Users\abhi_\AppData\Roaming\npm\node_modules\create-react-library\node_modules\p-each-series\index.js:8:9) at originalMessage: 'timedPromise.finally is not a function', shortMessage: 'Command failed: npm install\ntimedPromise.finally is not a function', command: 'npm install', exitCode: undefined, signal: undefined, signalDescription: undefined, stdout: '', stderr: '', failed: true, timedOut: false, isCanceled: false, killed: false } `

abhion avatar Jun 12 '20 07:06 abhion

Did you have this error straight after executing npx create-react-library ? Could you provide your version of nodejs (node -v) and the version of npm as well? (npm -v)

psyycker avatar Jun 17 '20 21:06 psyycker