N
Nuxt2w ago
MartyNZ

npm dependency issues and deployment failures

I've been bogged down with this for a week, with a web site that was supposed to be live days ago. I made the mistake of bringing all packages, including Nuxt up to their latest release before publishing a site to go live. That site is now broken... Now, on every build, including npx nuxi@latest.. I get the following warnings "npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated npmlog@5.0.1: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported. npm warn deprecated gauge@3.0.2: This package is no longer supported." I don't know how to recover from this. every deployment on Netlify fails with this error following the above. "8:26:51 AM: > postinstall 8:26:51 AM: > nuxt prepare 8:26:52 AM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1" I'm at my wits end with this. Rolling back, rolling forward. Starting a new project,.. nothing works! I had a perfectly functional website, then I deceided to "upgrade". Now it appears to be broken beyond recovery. I would REALLY appreciate any help to get this issue resolved. node 18.20.3 Nuxt 3.12.2 (where the problem started) and rolled back to Nuxt 3.11.1 without a resolution PLEASE HELP!!!
1 Reply
owljackob
owljackob2w ago
Did you use npx nuxi@latest upgrade --force to upgrade?