Estou tentando colocar o projeto do alura tracker em pé pelo Vercel, porém estou tendo problemas. Já subi o projeto várias vezes para o GitHub porém não funciona. Eu subi copiando todos os arquivos e colando na pasta do Git. Alguma ideia do que pode ser?
Link do repositório Git: https://github.com/NicolasFischer2002/alura-tracker.git Como eu posso subir o projeto Vue3 para o Git hub corretamente? não consigo organizar em pastas, ficam os arquivos todos jogados, creio que o problema esteja em como os arquivos estejam subindo para o Git...
Running build in Cleveland, USA (East) – cle1
Cloning github.com/NicolasFischer2002/alura-tracker (Branch: main, Commit: f2737ee)
Previous build cache not available
Cloning completed: 598.612ms
Running "vercel build"
Vercel CLI 28.18.3
Installing dependencies...
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
added 1012 packages in 12s
111 packages are looking for funding
run npm fund
for details
Detected package-lock.json
generated by npm 7+...
Running "npm run build"
alura-tracker@0.1.0 build vue-cli-service build All browser targets in the browserslist configuration have supported ES module. Therefore we don't build two separate bundles for differential loading.
- Building for production... ERROR Failed to compile with 2 errors5:29:02 PM errorModule not found: Error: Can't resolve './src/main.ts' in '/vercel/path0' error in tsconfig.json TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["src//*.ts","src//.tsx","src/**/.vue","tests//*.ts","tests//*.tsx"]' and 'exclude' paths were '["node_modules"]'. ERROR Error: Build failed with errors. Error: Build failed with errors. at /vercel/path0/nodemodules/@vue/cli-service/lib/commands/build/index.js:207:23 at /vercel/path0/nodemodules/webpack/lib/webpack.js:148:8 at /vercel/path0/node_modules/webpack/lib/HookWebpackError.js:68:3 at Hook.eval [as callAsync] (eval at create (/vercel/path0/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1) at Hook.CALL_ASYNC_DELEGATE [as callAsync] (/vercel/path0/nodemodules/webpack/node_modules/tapable/lib/Hook.js:18:14) at Cache.shutdown (/vercel/path0/node_modules/webpack/lib/Cache.js:150:23) at /vercel/path0/node_modules/webpack/lib/Compiler.js:1225:15 at Hook.eval [as callAsync] (eval at create (/vercel/path0/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1) at Hook.CALL_ASYNC_DELEGATE [as callAsync] (/vercel/path0/nodemodules/webpack/node_modules/tapable/lib/Hook.js:18:14) at Compiler.close (/vercel/path0/node_modules/webpack/lib/Compiler.js:1218:23) Error: Command "npm run build" exited with 1 BUILD_UTILS_SPAWN_1: Command "npm run build" exited with 1