nuxt-hub / starter

Full-stack application running on Cloudflare Pages, with zero configuration. Support D1, R2 and KV storages.
102 stars 8 forks source link

`npm run typecheck` does not works #3

Open Barbapapazes opened 4 months ago

Barbapapazes commented 4 months ago

Hello,

I was trying the command npm run typecheck on this repo but it raises this error:

error TS5090: Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?

Found 1 error.

[11:27:30 AM]  ERROR  Command failed with exit code 2: /home/esteban/dev/r/hub-starter-typecheck/node_modules/.pnpm/vue-tsc@2.0.16_typescript@5.4.5/node_modules/vue-tsc/bin/vue-tsc.js --noEmit

  at makeError (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/chunks/index3.mjs:1272:11)
  at handlePromise (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/chunks/index3.mjs:2510:26)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async Object.run (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/chunks/typecheck.mjs:76:7)
  at async runCommand$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1648:16)
  at async runCommand$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1639:11)
  at async runMain$1 (node_modules/.pnpm/nuxi@3.11.1/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1777:7)

[11:27:30 AM]  ERROR  Command failed with exit code 2: /home/esteban/dev/r/hub-starter-typecheck/node_modules/.pnpm/vue-tsc@2.0.16_typescript@5.4.5/node_modules/vue-tsc/bin/vue-tsc.js --noEmit

I try to update deps and prepare the repo but nothing works.