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
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Running laravel-echo-server inside supervisor results in the following error message
Error: Cannot find module '../dist/cli'
Require stack:
- /usr/bin/laravel-echo-server
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/usr/bin/laravel-echo-server:10:28)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/bin/laravel-echo-server' ]
}
To Reproduce
Steps to reproduce the behavior:
Installed Node 12.18.3 via NVM
Installed laravel-echo-server globally
Created laravel-echo-server.json inside project folder
Additional context
The module is present, but on a completely different place. It is: /home/web/.nvm/versions/node/v12.18.3/lib/node_modules/laravel-echo-server/dist/cli
Running laravel-echo-server inside supervisor results in the following error message
To Reproduce
Steps to reproduce the behavior:
laravel-echo-server.jsoninside project folderAdditional context
The module is present, but on a completely different place. It is:
/home/web/.nvm/versions/node/v12.18.3/lib/node_modules/laravel-echo-server/dist/cli