Skip to content

Vite/rollup Illegal reassignment of import #29

@adamnyberg

Description

@adamnyberg

I'm getting the following error, is there a known way of working around it?

Illegal reassignment of import "commonjsRequire" in "../../node_modules/clone-deep/utils.js".
file: node_modules/clone-deep/utils.js:10:0
 8: var fn = require;
 9: 
10: require = utils;
    ^
11: require('is-plain-object', 'isObject');
12: require('shallow-clone', 'clone');

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