Hello! I am currently running the saas wasp template for the very first time and I faced this problem:
> wasp db migrate-dev🐝 --- Compiling wasp project... --------------------------------------------------✅ --- Successfully completed npm install. ----------------------------------------🐝 --- Setting up database... -----------------------------------------------------✅ --- Database successfully set up. ----------------------------------------------🐝 --- Building SDK... ------------------------------------------------------------[ Wasp ] tsconfig.json(2,14): error TS6053: File '@tsconfig/node18/tsconfig.json' not found.[ Wasp ] ../../../../node_modules/@testing-library/jest-dom/types/jest.d.ts(1,23): error TS2688: Cannot find type definition file for 'jest'.[ Wasp ] ../../../../node_modules/@testing-library/jest-dom/types/jest.d.ts(9,27): error TS2304: Cannot find name 'expect'.[ Wasp ] ../../../../node_modules/vitest/node_modules/vite/dist/node/index.d.ts(5,41): error TS2307: Cannot find module 'rollup/parseAst' or its corresponding type declarations.[ Wasp ] There are types at '/home/jorge/SimplyUp/app/node_modules/vitest/node_modules/rollup/dist/parseAst.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.❌ --- [Error] Your wasp project failed to compile: -------------------------------- SDK build failed with exit code: 2
> wasp db migrate-dev🐝 --- Compiling wasp project... --------------------------------------------------✅ --- Successfully completed npm install. ----------------------------------------🐝 --- Setting up database... -----------------------------------------------------✅ --- Database successfully set up. ----------------------------------------------🐝 --- Building SDK... ------------------------------------------------------------[ Wasp ] tsconfig.json(2,14): error TS6053: File '@tsconfig/node18/tsconfig.json' not found.[ Wasp ] ../../../../node_modules/@testing-library/jest-dom/types/jest.d.ts(1,23): error TS2688: Cannot find type definition file for 'jest'.[ Wasp ] ../../../../node_modules/@testing-library/jest-dom/types/jest.d.ts(9,27): error TS2304: Cannot find name 'expect'.[ Wasp ] ../../../../node_modules/vitest/node_modules/vite/dist/node/index.d.ts(5,41): error TS2307: Cannot find module 'rollup/parseAst' or its corresponding type declarations.[ Wasp ] There are types at '/home/jorge/SimplyUp/app/node_modules/vitest/node_modules/rollup/dist/parseAst.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.❌ --- [Error] Your wasp project failed to compile: -------------------------------- SDK build failed with exit code: 2
My setup is:
> wasp version0.13.2> npm -v10.7.0> node -vv18.20.3> nvm -v0.39.7
> wasp version0.13.2> npm -v10.7.0> node -vv18.20.3> nvm -v0.39.7
Thanks for your help
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.