-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the build error when "./absolute webpack" intermittently #526
Comments
@haeungun, is that line is really required? |
If that causes an error, you can delete it. |
@nadongguri OK. soon i'll make PR about that. |
Merged
romandev
pushed a commit
that referenced
this issue
Nov 13, 2017
Remove the reference tag in push_service_worker.ts. It makes some trouble when running webpack to build. ISSUE=#526
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 [email protected] 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.
The text was updated successfully, but these errors were encountered: