Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
642 views
in Technique[技术] by (71.8m points)

amazon web services - Laravel echo server start is giving me error

i have laravel 6 application and have installed redis ( ping-pong ) is successful but when i'm trying to run laravel-echo-server start it is giving me following error 

laravel-echo-server start
/usr/lib/node_modules/laravel-echo-server/node_modules/ioredis/built/redis/index.js:171
Redis.createClient = function (...args) {
                               ^^^

SyntaxError: Unexpected token ...
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/lib/node_modules/laravel-echo-server/node_modules/ioredis/built/index.js:3:28)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)


please help what is wrong with it also npm run production is giving some issues .. 

is there any issue with versioning of i need something else prior to run this command . IMO redis is installed properly and its ping outputs pong so it is woking .. i think there is some issue with NPM packages or module .

question from:https://stackoverflow.com/questions/65907206/laravel-echo-server-start-is-giving-me-error

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...