Skip to content

Prisma Error #4

Description

@SeanJuice

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions