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.
Map files in dist directory contains paths like this "../src/index.ts".
I have orb installed in my project with
npm install @memgraph/orb
When I run build, console shows some warnings related to orb.
And it goes like this. Installed orb in node_modules doesn't contain
src
directory, so this warnings makes sense.Map files in
dist
directory contains paths like this"../src/index.ts"
.How this can be fixed?