-
Notifications
You must be signed in to change notification settings - Fork 564
ReferenceError: TextDecoder is not defined #683
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
Comments
+1 my legacy project pipeline started breaking since a week. Nodejs v10.24.1 with Gulp 4.0.0 ReferenceError: TextDecoder is not defined |
来信已经收到,谢谢!--by Crazy Chester
|
I am also seeing this issue. Same situation: my pipeline that was previously working is now failing here. Adding This line was added in 6.5.0, but it seems that the proper libraries were not imported: https://github.com/socketio/engine.io/blame/9608781efe32aa4a5f2800923aabc2a3be8c7148/lib/server.ts#L23 |
Disabled NPM package |
/Users/aa/Documents/work/dd/pass/static/node_modules/engine.io/build/server.js:16
const TEXT_DECODER = new TextDecoder();
^
ReferenceError: TextDecoder is not defined
at Object. (/Users/aa/Documents/work/dd/pass/static/node_modules/engine.io/build/server.js:16:22)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
The text was updated successfully, but these errors were encountered: