Bobbo
Upgrading from 3.5.0 to 3.13.2 is breaking build
I used
npx nuxi upgrade
, as described by the documentation.
Now when I try to npm run generate
, which in my package.json maps to nuxt generate
, I get this;
I'm not sure what the issue is to fix, though?
Also, the nuxt
dependency got moved from dependencies
to devDependencies
, which would break my deployment process (npm ci --omit=dev && npm run generate
).14 replies
baseUrl is gone from .nuxt/tsconfig.json, vue-tsc and vitest are now broken.
I was following the instructions on here to setup tests so I could test one of my Pinia stores. I had an issue with vitest failing to resolve
~
and @
aliased imports.
In order to install the extra stuff I didn't already have (@pinia-testing
) I updated a bunch of my dependencies, here is the diff on my package.json;
I now have the issue that baseUrl: ".."
is gone from my .nuxt/tsconfig.json
. I can't seem to bring it back either through any of the documented settings. If I manually edit it, vue-tsc
works again, except now it reports nearly 400 errors (before I had 2, a bunch of these seem to be failed alias imports) vitest
still can't resolve aliased imports.1 replies