Skip to content

Module not found: Error: Can't resolve 'module' in 'node_modules/testdouble/lib' #531

Description

@patrick99e99

I have an angular app, and testdouble in my devDependencies of my package file. When I try to run my angular test suite, I am getting:

./node_modules/testdouble/lib/can-register-loader.js:1:15-32 - Error: Module not found: Error: Can't resolve 'module' in '/path/to/project/node_modules/testdouble/lib'

literally require('module'); is breaking...

I am wondering why this isn't an internal dependency of testdouble?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions