Skip to content
New issue

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

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

Already on GitHub? # to your account

the SDK not including source maps throws Warning #146

Open
IrinaSouth opened this issue Mar 12, 2023 · 2 comments
Open

the SDK not including source maps throws Warning #146

IrinaSouth opened this issue Mar 12, 2023 · 2 comments

Comments

@IrinaSouth
Copy link
Contributor

the SDK not including source maps - anyone who needs them will get this error:

`Warning installing todo-frontend

WARNING in ../../featurehub-javascript-client-sdk/node_modules/cross-sha256/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/irina/featurehub-javascript-sdk/featurehub-javascript-client-sdk/node_modules/cross-sha256/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/irina/featurehub-javascript-sdk/featurehub-javascript-client-sdk/node_modules/cross-sha256/index.js.map'`

@SantiagoRevelo
Copy link

I am experiencing the same issue, does anyone have a fix or workaround?

@rvowles
Copy link
Contributor

rvowles commented Oct 18, 2023

Not without forking the author's repository and sending them a PR and hoping it is included. The package.json is missing the index.js.map file from the files section. If you send them this PR and they release a patch we are happy to included it and bump specially for it?

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

No branches or pull requests

3 participants