Issues with NPM Install on a Nuxt3 project

This is probably going to be embarrassingly obvious, but I've spent the last hour and a half trying to fix the issue and can't seem to make any progress.

The first issue relates to installing the dependencies. This, on every attempt, fails with an error stating that it cannot resolve the dependencies error here:

ran this -> npm install

Error:
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: Portfolio@1.0.0
npm error Found: @pinia/nuxt@0.4.11
npm error node_modules/@pinia/nuxt
npm error   dev @pinia/nuxt@"^0.4.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @pinia/nuxt@"^0.5.1" from @pinia-orm/nuxt@1.9.1
npm error node_modules/@pinia-orm/nuxt
npm error   @pinia-orm/nuxt@"^1.1.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.



I attempted to adjust the dependencies to accommodate the requested versions but to no avail.
After stripping this specific dependency from the project, it seemed to break something else. The error i get this time states that the module @intlify/devtools-if couldn't be found, causing another crash.
I tried to use npm install --force as a last resort but still had the same issue.
Was this page helpful?