Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning while making build #99

Open
stefanak-michal opened this issue Mar 20, 2024 · 1 comment
Open

Warning while making build #99

stefanak-michal opened this issue Mar 20, 2024 · 1 comment

Comments

@stefanak-michal
Copy link
Contributor

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?

@matea16
Copy link

matea16 commented Mar 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants