Skip to content

failed to parse source map #204

@abdulhaseeb13mar

Description

@abdulhaseeb13mar

`Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/BaseProvider.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/BaseProvider.ts'

Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/MetaMaskInpageProvider.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/MetaMaskInpageProvider.ts'

Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/extension-provider/createExternalExtensionProvider.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/extension-provider/createExternalExtensionProvider.ts'

Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/index.ts'

Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/initializeInpageProvider.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/initializeInpageProvider.ts'

Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/messages.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/messages.ts'

Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/shimWeb3.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/shimWeb3.ts'

Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/siteMetadata.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/siteMetadata.ts'

Failed to parse source map from '/home/haseeb/work/migration/node_modules/@metamask/providers/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/home/haseeb/work/migration/node_modules/@metamask/providers/src/utils.ts'`

also when i check the .js.map files in the dist folder i realized the source path is incorrect e.g all the source paths are directing to src folder but in reality there is no src folder and no .ts file
e.g {"version":3,"file":"ObjectMultiplex.js","sourceRoot":"","sources":["../src/ObjectMultiplex.ts"],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions