I see the following warning/error at build time when using await-lock in my project:
WARNING in ./node_modules/await-lock/build/AwaitLock.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'D:\src\MyProject\node_modules\await-lock\src\AwaitLock.ts' file: Error: ENOENT: no such file or directory, open 'D:\src\gui\MyProject\node_modules\await-lock\src\AwaitLock.ts'
It's a TypeScript project based on Create React App (preconfigured WebPack); package.json contains:
If I understand it correctly the error occurs because the source map refers to a file AwaitLock.ts which is not included in the package. Assuming that is the case please could you include it, to eliminate the dangling reference?
Thanks for sharing this useful library. Regards, Matt
I see the following warning/error at build time when using
await-lock
in my project:It's a TypeScript project based on Create React App (preconfigured WebPack);
package.json
contains:I note that the node package consists of:
and AwaitLock.js.map contains (reformatted):
If I understand it correctly the error occurs because the source map refers to a file
AwaitLock.ts
which is not included in the package. Assuming that is the case please could you include it, to eliminate the dangling reference?Thanks for sharing this useful library. Regards, Matt