Skip to content

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

@joshuarobs

Description

@joshuarobs

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

Activity

doughlass

doughlass commented on Nov 19, 2022

@doughlass

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      How to fix "Failed to parse source map from Error: ENOENT: no such file or directory, open" error · Issue #6 · tomchen/example-typescript-package