Skip to content

Does not work in React project #131

@nijatmursali

Description

@nijatmursali

I'm trying to import the library, but it gives following error:

data.js:6 Uncaught TypeError: path.resolve is not a function
    at ./node_modules/numjs/src/images/data.js (data.js:6:1)
    at options.factory (react refresh:6:1)
    at __webpack_require__ (bootstrap:24:1)
    at fn (hot module replacement:62:1)
    at ./node_modules/numjs/src/images/index.js (index.js:12:1)
    at options.factory (react refresh:6:1)
    at __webpack_require__ (bootstrap:24:1)
    at fn (hot module replacement:62:1)
    at ./node_modules/numjs/src/index.js (index.js:860:1)
    at options.factory (react refresh:6:1)

Is there any way to solve it?

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