AlexTatiyants / pev

Postgres Explain Visualizer
MIT License
2.77k stars 194 forks source link

Docker compose exits with error #27

Open sudev opened 7 years ago

sudev commented 7 years ago

Hi,

Really love this project, thanks !!

I was trying to build and run using docker compose but it's currently exiting with errors.

Starting pev_pev_1
Attaching to pev_pev_1
pev_1  |
pev_1  | > pev@0.0.0 start /var/www/pev
pev_1  | > gulp serve --env dev
pev_1  |
pev_1  | [06:28:08] Failed to load external module ts-node/register
pev_1  | [06:28:08] Failed to load external module typescript-node/register
pev_1  | [06:28:08] Failed to load external module typescript-register
pev_1  | [06:28:08] Failed to load external module typescript-require
pev_1  | [06:28:08] Local gulp not found in /var/www/pev
pev_1  | [06:28:08] Try running: npm install gulp
pev_1  |
pev_1  | npm ERR! Linux 4.9.13-moby
pev_1  | npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
pev_1  | npm ERR! node v4.8.1
pev_1  | npm ERR! npm  v2.15.11
pev_1  | npm ERR! code ELIFECYCLE
pev_1  | npm ERR! pev@0.0.0 start: `gulp serve --env dev`
pev_1  | npm ERR! Exit status 1
pev_1  | npm ERR!
pev_1  | npm ERR! Failed at the pev@0.0.0 start script 'gulp serve --env dev'.
pev_1  | npm ERR! This is most likely a problem with the pev package,
pev_1  | npm ERR! not with npm itself.
pev_1  | npm ERR! Tell the author that this fails on your system:
pev_1  | npm ERR!     gulp serve --env dev
pev_1  | npm ERR! You can get information on how to open an issue for this project with:
pev_1  | npm ERR!     npm bugs pev
pev_1  | npm ERR! Or if that isn't available, you can get their info via:
pev_1  | npm ERR!
pev_1  | npm ERR!     npm owner ls pev
pev_1  | npm ERR! There is likely additional logging output above.
pev_1  |
pev_1  | npm ERR! Please include the following file with any support request:
pev_1  | npm ERR!     /var/www/pev/npm-debug.log
pev_pev_1 exited with code 1

Never worked on npm and related tools I'm not able to debug any of this, anyone facing similar issues? Any workaround?

robertoaloi commented 7 years ago

I can confirm the issue. The project config and dependencies don't seem to play well with recent versions of node/npm. Unfortunately, I don't have the expertise to troubleshoot the issue. A pity, since the app looks really interesting.

MattForshaw commented 7 years ago

I can also confirm the issue. I will be happy to test out any proposed fixes.

xenophenes commented 7 years ago

I have this same issue as well.

Azim0313 commented 6 years ago

Anyone faced such issue using pev with a docker image built-in

"You haven't submitted a valid input". Though its running in our other 3 env. Its not running on my prod. Any Clue ? will be really appreciated.....