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

How to fix "Failed to parse source map from Error: ENOENT: no such file or directory, open" error #6

Open
joshuarobs opened this issue Feb 10, 2022 · 1 comment

Comments

@joshuarobs
Copy link

This is what im getting when I install a custom package in another repo of mine:

@namespace/client-cms: WARNING in ../../node_modules/@joshuarobs/my-framework/dist/esm/framework/utils/simplifyRanges.js
@namespace/client-cms: Module Warning (from ../../node_modules/source-map-loader/dist/cjs.js):
@namespace/client-cms: Failed to parse source map from '/Users/joshua/WebstormProjects/app-cms-monorepo/node_modules/@joshuarobs/my-framework/src/framework/utils/simplifyRanges.ts' file: Error: ENOENT: no such file or directory, open '/Users/joshua/WebstormProjects/cms-monorepo/node_modules/@joshuarobs/my-framework/src/framework/utils/simplifyRanges.ts'

Am I missing something part of the build/release process of the module generated by this package? These errors don't prevent the react app from running, but they slow down the hot reloading process and clog up the terminal

@doughlass
Copy link

utils/simplifyRanges.ts What does this file look like?

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