orb icon indicating copy to clipboard operation
orb copied to clipboard

Warning while making build

Open stefanak-michal opened this issue 1 year ago • 1 comments

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?

stefanak-michal avatar Mar 20 '24 09:03 stefanak-michal

Hi @stefanak-michal, thank you for opening this issue. Someone from the team is going to pick this up and take a look

matea16 avatar Mar 20 '24 11:03 matea16