Skip to content

module is not defined (loadsh) #1

Description

@ddduarte

I´m running "npm install && ./node_modules/karma/bin/karma start --single-run", but I´m getting the error below:

Uncaught ReferenceError: module is not defined
at node_modules/lodash/index.js:1:1

ReferenceError: module is not defined
at node_modules/lodash/index.js:1:1

karma.config
files: [
'test-main.js',
{pattern: 'node_modules/lodash/index.js', included: true},
{pattern: 'app//*.js', included: false},
{pattern: 'test/
/*Test.js', included: false}
],

test-main
paths: {
'lodash': 'node_modules/lodash/index'
},

Please help me.

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