You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run bun start with docusaurus-latest works, but initially sends an error in console (likely unrelated to webpack) and then reports a second error about webpack's WebsocketServer.js in console repeatedly.
What is the current behavior?
❖bunstart$docusaurusstart[INFO]Startingthedevelopmentserver...216|Object.assign(this.options.headers,source.headers);217|}218|});219|this.on('newListener',event=>{220|if(event==='retry'&&this.listenerCount('retry')>0){221|thrownewError('A retry listener has been attached already.');^
error: Aretrylistenerhasbeenattachedalready.at/ssd/dev/t/web/docutest/node_modules/got/dist/source/core/index.js:221:23atmakeRequest(/ssd/dev/t/web/docutest/node_modules/got/dist/source/as-promise/index.js:107:13)at/ssd/dev/t/web/docutest/node_modules/got/dist/source/as-promise/index.js:125:9at/ssd/dev/t/web/docutest/node_modules/p-cancelable/index.js:63:4atnewPromise(:1:21)atnewPCancelable(/ssd/dev/t/web/docutest/node_modules/p-cancelable/index.js:31:19)atasPromise(/ssd/dev/t/web/docutest/node_modules/got/dist/source/as-promise/index.js:21:21)atlastHandler(/ssd/dev/t/web/docutest/node_modules/got/dist/source/create.js:42:27)atiterateHandlers(/ssd/dev/t/web/docutest/node_modules/got/dist/source/create.js:49:19)[SUCCESS]Docusauruswebsiteisrunning at: http://localhost:3000/●Client█████████████████████████building(46%)2/3entries703/783dependencies157/248modules60activemdx-loader›blog/2019-05-28-first-blog-post.md●Client█████████████████████████building(46%)2/3entries710/787dependencies167/250modules65activemdx-loader›docs/tutorial-basics/markdown-features.mdx[WARNING]Theimageat"/ssd/dev/t/web/docutest/static/img/docusaurus.png"can't be read correctly. Please ensure it'savalidimage.handle.closeisnotafunction.(In'handle.close()','handle.close'isundefined)✔ClientCompiledsuccessfullyin9.78sclient(webpack5.89.0)compiledsuccessfully71|72|return;73|}74|75|client.isAlive=false;76|client.ping(()=>{});^
TypeError: client.pingisnotafunction.(In'client.ping(() => { })','client.ping'isundefined)at/ssd/dev/t/web/docutest/node_modules/webpack-dev-server/lib/servers/WebsocketServer.js:76:11atforEach(:1:21)at/ssd/dev/t/web/docutest/node_modules/webpack-dev-server/lib/servers/WebsocketServer.js:64:765|/**66 | * @param {ClientConnection} client67 | */68|(client)=>{69|if(client.isAlive===false){70|client.terminate();^
If the current behavior is a bug, please provide the steps to reproduce.
bun create docusaurus
... name it docutest
... pick js or ts, happens in both
cd docutest
bun start
What is the expected behavior?
Running the code with bun start shouldn't output type errors.
Other relevant information:
Webpack version: 5.89.0
Operating System: Linux (gentoo)
Additional tools: bun 1.0.20
Dependencies versions:
Just as I finished writing this report I continued searching for more keywords.
Apparently there seems to be an ongoing thread about bun having issues with compatibility with some parts of nodejs.
Please close this issue, or @ me to close it, if it is not relevant to this repository.
Bug report
Trying to run
bun start
with docusaurus-latest works, but initially sends an error in console (likely unrelated to webpack) and then reports a second error about webpack'sWebsocketServer.js
in console repeatedly.What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Running the code with
bun start
shouldn't output type errors.Other relevant information:
Webpack version:
5.89.0
Operating System:
Linux (gentoo)
Additional tools:
bun 1.0.20
Dependencies versions:
The text was updated successfully, but these errors were encountered: