Skip to content

Webpack Production Build: paths is not iterable #1012

Closed
@lukepolo

Description

During booting of the app we get an error n.paths is not iterable , which points to this function below

// Determine the project root
// https://stackoverflow.com/a/18721515
function getPkgJsonDir() {
    console.info("module", module)
    for (const modPath of module.paths) {    

module is {children: [], exports: [Setter] } and seems to be missing the paths key

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions