Robby
WWasp-lang
•Created by Robby on 6/27/2024 in #đŸ™‹questions
rollup causing initiating error
I am getting this error upon attempting to wasp start a fresh project:
[ Wasp ] tsconfig.json(2,14): error TS6053: File '@tsconfig/node18/tsconfig.json' not found. [ 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/hildrobby/MyApp/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'. I have tried setting the module Resolution to node16, nodenext, and bundler but none of them have worked. I have also found the parseAst.d.ts file from the roll up repo and manually put it in the folder, but that is not working either.
[ Wasp ] tsconfig.json(2,14): error TS6053: File '@tsconfig/node18/tsconfig.json' not found. [ 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/hildrobby/MyApp/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'. I have tried setting the module Resolution to node16, nodenext, and bundler but none of them have worked. I have also found the parseAst.d.ts file from the roll up repo and manually put it in the folder, but that is not working either.
6 replies