AlexTatiyants / pev

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

Error Install #17

Open emerchalegre opened 8 years ago

emerchalegre commented 8 years ago

Hello. When I run npm install the following error appears:

pev@0.0.0 start /var/www/html/pev gulp serve --env dev

[14:11:45] Requiring external module ts-node/register

⨯ Unable to compile TypeScript

gulpfile.ts (1,23): Cannot find module 'gulp'. (2307) tools/config.ts (1,28): Cannot find module 'fs'. (2307) tools/config.ts (61,27): Cannot find name 'require'. (2304) tools/typings/merge-stream.d.ts (2,36): Cannot find namespace 'NodeJS'. (2503) tools/typings/merge-stream.d.ts (3,33): Cannot find namespace 'NodeJS'. (2503) tools/typings/merge-stream.d.ts (4,17): Cannot find namespace 'NodeJS'. (2503) tools/typings/systemjs-builder.d.ts (4,60): Cannot find name 'Promise'. (2304) tools/typings/systemjs-builder.d.ts (5,65): Cannot find name 'Promise'. (2304) tools/utils.ts (9,17): Cannot find name 'require'. (2304) tools/utils/server.ts (2,26): Cannot find module 'express'. (2307) tools/utils/server.ts (5,30): Cannot find module 'serve-static'. (2307) tools/utils/server.ts (6,23): Cannot find module 'path'. (2307) tools/utils/server.ts (19,20): Cannot find name 'process'. (2304) tools/utils/server.ts (39,25): Cannot find name 'process'. (2304) tools/utils/tasks_tools.ts (1,23): Cannot find module 'gulp'. (2307) tools/utils/tasks_tools.ts (2,23): Cannot find module 'gulp-util'. (2307) tools/utils/tasks_tools.ts (3,24): Cannot find module 'chalk'. (2307) tools/utils/tasks_tools.ts (6,50): Cannot find module 'fs'. (2307) tools/utils/tasks_tools.ts (7,20): Cannot find module 'path'. (2307) tools/utils/tasks_tools.ts (19,10): Cannot find name 'require'. (2304)

tools/utils/template-injectables.ts (2,20): Cannot find module 'path'. (2307)

npm ERR! Linux 2.6.32-358.el6.x86_64 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" npm ERR! node v4.4.3 npm ERR! npm v2.15.1 npm ERR! code ELIFECYCLE npm ERR! pev@0.0.0 start: gulp serve --env dev npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pev@0.0.0 start script 'gulp serve --env dev'. npm ERR! This is most likely a problem with the pev package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gulp serve --env dev npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pev npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls pev npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /var/www/html/pev/npm-debug.log

Do you can help me?

brmzkw commented 7 years ago

Same issue here when using the docker image

docker build -t pev . works (but not without scary warnings), docker run --rm -ti pev doesn't, it fails on npm start.