Skip to content

When installed in my app and run build I got warnings #42

@stefanak-michal

Description

@stefanak-michal

I have reactjs app with this project. When I run "react-scripts build" I get a lot of these errors:

Failed to parse source map from 'C:\Projects\cyphergui\node_modules\@memgraph\orb\src\common\color.ts' file: Error: ENOENT: no such file or directory, open 'C:\Projects\cyphergui\no
de_modules\@memgraph\orb\src\common\color.ts'

Failed to parse source map from 'C:\Projects\cyphergui\node_modules\@memgraph\orb\src\common\distance.ts' file: Error: ENOENT: no such file or directory, open 'C:\Projects\cyphergui
\node_modules\@memgraph\orb\src\common\distance.ts'

I don't understand why it tries to reach "src" directory while in my node_modules it contains only "dist". I've added the package with "npm install @memgraph/orb".

image

It is not problem when I run it locally where it takes it as warnings and build is finished and works. But when I run it in CI it acts like errors and it crash.

What I can do about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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