#Persistent error after upgrading to latest Astro

3 messages · Page 1 of 1 (latest)

past folio
#

Getting this error with astro-portabletext since updating from Astro v2.0.9 to v2.1.2

Error: Missing "./." specifier in "astro-portabletext" package
    at e (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:14845:25)
    at n (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:14845:627)
    at o (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:14845:1276)
    at resolveExports (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:22033:20)
    at resolveDeepImport (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:22052:31)
    at tryNodeResolve (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:21737:20)
    at Context.resolveId (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:21488:28)
    at Object.resolveId (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41612:46)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Context.resolve (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41363:23)
    at async Context.resolveId (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/astro@2.1.2_sass@1.57.1/node_modules/astro/dist/vite-plugin-config-alias/index.js:48:26)
    at async Object.resolveId (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41612:32)
    at async TransformContext.resolve (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41363:23)
    at async normalizeUrl (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:39698:34)
    at async TransformContext.transform (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:39840:47)
    at async Object.transform (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41685:30)
    at async loadAndTransform (file:///Users/joao/projects/mz-astro-site/node_modules/.pnpm/vite@4.1.4_sass@1.57.1/node_modules/vite/dist/node/chunks/dep-ca21228b.js:39479:29)
past folio
#

Now I can't seem to get past this error deleting node_modules, resetting everything I mentioned back to previous versions... what

past folio
#

Persistent error after upgrading to latest Astro