Upon creating a fresh project using the command nest new [project name]
, selecting my preferred package manager, and running either yarn start
or npm start
, my project is encountering the following errors:
$ nest start
node_modules/@types/tapable/index.d.ts:7:15 - error TS2307: Cannot find module './node_modules/tapable' or its corresponding type declarations.
7 export * from './node_modules/tapable';
~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@types/webpack/index.d.ts:32:3 - error TS2305: Module '"tapable"' has no exported member 'Tapable'.
32 Tapable,
~~~~~~~
... (Additional error messages go here)
1085 statement: SyncBailHook;
I have attempted several remedies, including reinstalling the nest cli, switching between npm and yarn, deleting the dist folder, and removing then re-installing the node_modules folder along with the dependencies.