superstruct
superstruct copied to clipboard
[v1.0.3] Failed to parse source map from 'xxx/node_modules/superstruct/src/struct.ts' (ENOENT: no such file or directory)
After superstruct 1.0.3 update I get multiple warnings, such as:
WARNING in ./node_modules/superstruct/dist/index.mjs
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'xxx/node_modules/superstruct/src/struct.ts' file: Error: ENOENT: no such file or directory, open 'xxx/node_modules/superstruct/src/struct.ts'
This is a Create React App project ([email protected]
).
No warnings on superstruct 0.16.7.
bump - still seeing this
Failed to parse source map from '/node_modules/superstruct/src/error.ts' file: Error: ENOENT: no such file or directory, open '/node_modules/superstruct/src/error.ts'
Failed to parse source map from '/node_modules/superstruct/src/struct.ts' file: Error: ENOENT: no such file or directory, open '/node_modules/superstruct/src/struct.ts'
Failed to parse source map from '/node_modules/superstruct/src/structs/coercions.ts' file: Error: ENOENT: no such file or directory, open '/node_modules/superstruct/src/structs/coercions.ts'
Failed to parse source map from '/node_modules/superstruct/src/structs/refinements.ts' file: Error: ENOENT: no such file or directory, open '/node_modules/superstruct/src/structs/refinements.ts'
Failed to parse source map from '/node_modules/superstruct/src/structs/types.ts' file: Error: ENOENT: no such file or directory, open '/node_modules/superstruct/src/structs/types.ts'
Failed to parse source map from '/node_modules/superstruct/src/structs/utilities.ts' file: Error: ENOENT: no such file or directory, open '/node_modules/superstruct/src/structs/utilities.ts'
Failed to parse source map from '/node_modules/superstruct/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/node_modules/superstruct/src/utils.ts'
I'm now encountering this issue as well since a dependent package added superstruct as a dependency. Any chance of getting traction on this?