Skip to content

ERROR in ./node_modules/buffermaker/test/BufferMaker.js Module not found: Error: Can't resolve 'should' #9

@harry524483

Description

@harry524483

When using webpack to build your library we get the the error: ERROR in ./node_modules/buffermaker/test/BufferMaker.js
Module not found: Error: Can't resolve 'should'

This is because 'should' is only a a dev dependency of your project and you have included you tests in the distributed package.

Could you remove your tests from the distributed package or add 'should' to you dependencies?

Thanks Harry

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