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
It could be something really stupid and maybe I overlooked something, so tried it first with a few clean installs to confirm that somehow the recent changes from pull-request #359 don't seem to be part of the compiled code when pulling in the update though npm update going from version 1.14.0 to 1.14.1 and also when doing a complete clean npm install with the whole node_modules folder removed.
Once Echo is installed, I created a new lib using an Echo instance using Pusher in my application's JavaScript as src/lib/echo.js with the following code:
When compiling I kept running into an error regarding a duplicate declaration of AbortSignal, a small search learned me that an update of @types/node to ^18.11.9 was needed in you package.json because of conflicting types. I do not take responsibility for compatibility issues ;-) I just wanted to get rid of the error and everything seems to work fine this way at my end.
Description:
It could be something really stupid and maybe I overlooked something, so tried it first with a few clean installs to confirm that somehow the recent changes from pull-request #359 don't seem to be part of the compiled code when pulling in the update though
npm update
going from version 1.14.0 to 1.14.1 and also when doing a complete cleannpm install
with the wholenode_modules
folder removed.The added instantiation of Pusher in src/connector/pusher-connector.ts therefor doesn't work and gives the error:
When I go to the folder
node_modules/laravel-echo/
and runnpm install
it starts compiling the source and updates the dist resulting in working code.Steps To Reproduce:
I used a clean install of https://github.com/laravel/breeze-next and went though all the steps provided in the readme. After that I added
laravel-echo
as a dependency:Once Echo is installed, I created a new lib using an Echo instance using Pusher in my application's JavaScript as
src/lib/echo.js
with the following code:Now when you run
npm run build
it will fail resulting in the error:When compiling the source within
node_modules
and runningnpm run build
again, it will continue and successfully build.The text was updated successfully, but these errors were encountered: