Skip to content

Module not found: Can't resolve 'worker-loader' in '/Users/anf/code/jeri-cra/node_modules/jeri/build_npm/utils' #15

Description

@tonyferrell

When I try add the jeri package via npm to an existing react project and try to run it, I get the following error:

./node_modules/jeri/build_npm/utils/image-loading.js
Module not found: Can't resolve 'worker-loader' in '/Users/anf/code/jeri-cra/node_modules/jeri/build_npm/utils'

It looks like this is due to worker-loader being a devDependency (which seems correct given that it's a webpack plugin?) but being used directly in non-dev code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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