-
Notifications
You must be signed in to change notification settings - Fork 261
Description
I am getting this error when trying to run nest js
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\shaun\node_modules@angular\core\fesm2015\core.mjs not supported.
Instead change the require of C:\Users\shaun\node_modules@angular\core\fesm2015\core.mjs to a dynamic import() which is available in all CommonJS modules.
at Object. (C:\Users\shaun\OneDrive\Documents\MY PROJECTS\Nestjs\tutorial- frecodecamp\bookmark-api\dist\prisma\prisma.service.js:13:16)
at Object. (C:\Users\shaun\OneDrive\Documents\MY PROJECTS\Nestjs\tutorial- frecodecamp\bookmark-api\dist\prisma\prisma.module.js:11:26)
at Object. (C:\Users\shaun\OneDrive\Documents\MY PROJECTS\Nestjs\tutorial- frecodecamp\bookmark-api\dist\app.module.js:14:25)
at Object. (C:\Users\shaun\OneDrive\Documents\MY PROJECTS\Nestjs\tutorial- frecodecamp\bookmark-api\dist\main.js:4:22)