Migrating from npm should be a fairly easy process for most users. Yarn can consume the same package.json format as npm, and can install any package from the npm registry. If you want to try Yarn out on your existing npm project, just try running.
I'm trying to install my npm packages, however I'm getting the following error. What do I need to do to fix this? Code EINVALIDTYPEnpm ERR! Typeerror Error: Argument #5: Expected object but got stringnpm ERR! Typeerror at inflatableChild (C:Program Filesnodejsnodemodulesnpmlibinstallinflate-shrinkwrap.js:93:3)npm ERR! Typeerror at BB.each (C:Program Filesnodejsnodemodulesnpmlibinstallinflate-shrinkwrap.js:55:12)npm ERR!
Typeerror at tryCatcher (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleaseutil.js:16:23)npm ERR! Typeerror at Object.gotValue (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleasereduce.js:155:18)npm ERR! Typeerror at Object.gotAccum (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleasereduce.js:144:25)npm ERR! Typeerror at Object.tryCatcher (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleaseutil.js:16:23)npm ERR! Typeerror at Promise.settlePromiseFromHandler (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleasepromise.js:512:31)npm ERR! Typeerror at Promise.settlePromise (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleasepromise.js:569:18)npm ERR!
Typeerror at Promise.settlePromise0 (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleasepromise.js:614:10)npm ERR! Typeerror at Promise.settlePromises (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleasepromise.js:694:18)npm ERR! Typeerror at drainQueueStep (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleaseasync.js:138:12)npm ERR!
Typeerror at drainQueue (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleaseasync.js:131:9)npm ERR! Typeerror at Async.drainQueues (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleaseasync.js:147:5)npm ERR! Typeerror at Immediate.Async.drainQueues as onImmediate (C:Program Filesnodejsnodemodulesnpmnodemodulesbluebirdjsreleaseasync.js:17:14)npm ERR! Typeerror at processImmediate (timers.js:637:19)npm ERR! Typeerror This is an error with npm itself. Please report this error at:npm ERR!
Typeerror npm ERR! A complete log of this run can be found in:npm ERR! C:Usersuser81AppDataRoamingnpm-cachelogs2019-08-27T063701928Z-debug.logVersions: @angular/cli: 1.3.1node -v v11.9.0npm -v 6.5.0.
Npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@0. I'll try to do my best with it!npm ERR! Code EINVALIDTYPEnpm ERR! Typeerror Error: Argument: Expected object but got stringnpm ERR!
Typeerror at inflatableChild (/usr/local/lib/nodemodules/npm/lib/install/inflate-shrinkwrap.js:70:3)npm ERR! Typeerror at BB.each (/usr/local/lib/nodemodules/npm/lib/install/inflate-shrinkwrap.js:52:12)npm ERR! Typeerror at tryCatcher (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/util.js:16:23)npm ERR! Typeerror at Object.gotValue (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/reduce.js:155:18)npm ERR! Typeerror at Object.gotAccum (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/reduce.js:144:25)npm ERR! Typeerror at Object.tryCatcher (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/util.js:16:23)npm ERR!
Typeerror at Promise.settlePromiseFromHandler (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/promise.js:512:31)npm ERR! Typeerror at Promise.settlePromise (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/promise.js:569:18)npm ERR! Typeerror at Promise.settlePromiseCtx (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/promise.js:606:10)npm ERR! Typeerror at Async.drainQueue (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/async.js:138:12)npm ERR!
Typeerror at Async.drainQueues (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/async.js:143:10)npm ERR! Typeerror at Immediate.Async.drainQueues as onImmediate (/usr/local/lib/nodemodules/npm/nodemodules/bluebird/js/release/async.js:17:14)npm ERR!
Typeerror at runCallback (timers.js:757:18)npm ERR! Typeerror at tryOnImmediate (timers.js:718:5)npm ERR! Typeerror at processImmediate as immediateCallback (timers.js:698:5)npm ERR! Typeerror This is an error with npm itself. Please report this error at:npm ERR!