Comments (10)
I have the same problem!
from laravel-echo-server.
What is your node version? Must be 6+
from laravel-echo-server.
from laravel-echo-server.
Docs are wrong. i had node v6.2.2 and it didn't work. Upgraded to 6.5.0 and works fine.
from laravel-echo-server.
I'm having the same issue, do we really have to update the the most cutting edge version of node to get this to work?
I took a look at the code, briefly.
Removing .F_OK
from the end of the second parameter here https://github.com/tlaverdure/laravel-echo-server/blob/master/src/cli/cli.ts#L125
gets around the problem, (allow it to run on Node 5), but I don't know what adverse effects that will have.
from laravel-echo-server.
More comments. This could be a homestead vs production server thing
https://laracasts.com/discuss/channels/general-discussion/laravel-echo-server-on-homestead?page=1
from laravel-echo-server.
That line is supposed to make sure that there is a json file in the cwd. Supposed to work since v0.11.15 (Looks like I was deceived). I'm going to omit the second parameter and see if that helps.
https://nodejs.org/api/fs.html#fs_fs_access_path_mode_callback
from laravel-echo-server.
Please test the latest to see if that helps.
from laravel-echo-server.
Please see 1e41fbf#commitcomment-18978492
Perhaps you can use it still...
from laravel-echo-server.
CONFIRMED.
Change fs.constants.F_OK
to fs.F_OK
Bad documentation at node.js
from laravel-echo-server.
Related Issues (20)
- Is the package compromised? HOT 6
- Laravel-echo-server events listeners custom callbacks
- Redis6 ACL Support HOT 1
- 运行一会,就会中断,提示截图显示的错误 HOT 2
- Cannot find module '../dist/cli' - supervisord
- Redis 6 ACL config HOT 1
- Connection refused on docker
- Laravel Echo Server work and client side error only at server HOT 2
- Is there ways to emit data from client (socket.io-client) to laravel-echo-server? HOT 2
- Laravel Echo PresenceChannel vs listen events doesn't work HOT 2
- 使用Laravel 5.8 广播系统,本地研发没有事情,上线后握手阶段,第一次OK,第二次报502,第三次报session id unknown,现在不知道是那个地方出问题了?求帮助 HOT 1
- Is `tlaverdure/laravel-echo-server` abandoned? HOT 6
- Is the cors configuration even working? HOT 1
- echo server socket.io.js error
- support redis cluster
- Redis TTL key is store forever
- CSRF token mismatch after session timeout
- npx laravel-echo-server start HOT 1
- Unable to join channel. Member data for presence channel missing HOT 1
- Is this project compatible with Socket.io v4? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-echo-server.