-
Notifications
You must be signed in to change notification settings - Fork 31
Description
If you run "./absolute webpack" many times, you would see the error comming
$ ./absolute webpack
[14:04:32] Requiring external module ts-node/register
[14:04:32] Using gulpfile /absolute/gulpfile.ts
[14:04:32] Starting 'webpack'...
ts-loader: Using typescript@2.6.1 and /absolute/tsconfig.json
stream.js:74
throw er; // Unhandled stream error in pipe.
^
Error: absolute/node_modules/@types/supertest/index.d.ts
(27,20): error TS2304: Cannot find name 'RegExp' /absolute/node_modules/@types/supertest/index.d.ts
....
I think this error is due to the line in push_service_worker.ts.
/// <reference path="../../node_modules/typescript/lib/lib.webworker.d.ts"/>
When I removed that line or modifying from /// to // made no command error.
I'm not sure why that leads to the build error but if owners can agree of my experimental test,
I will upload the patch.