Skip to content

Warning while making build #99

Description

@stefanak-michal

I have orb installed in my project with npm install @memgraph/orb

When I run build, console shows some warnings related to orb.

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

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

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

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

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

And it goes like this. Installed orb in node_modules doesn't contain src directory, so this warnings makes sense.

image

Map files in dist directory contains paths like this "../src/index.ts".

How this can be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions