Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Multiple issues in dependancies install #98

Closed
nayan27 opened this issue Sep 19, 2018 · 3 comments
Closed

Multiple issues in dependancies install #98

nayan27 opened this issue Sep 19, 2018 · 3 comments

Comments

@nayan27
Copy link

nayan27 commented Sep 19, 2018

Hi,

I am having difficulties in deploying this web-api on a VPS.

The OS is Linux Debian Jessie 8.6.

I first installed Node 0.10.13 and had some errors that seemed version related.
Then installed Node 10.10.0 and still had errors that seemed version related.
Then installed Node 6.14.4 and got rid of what seemed to be the version problems.

I had to install grunt-cli manually.

When using "grunt-run" i get error message "/root/LatexCompiler/clsi-sharelatex/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:31
throw new Error('Please install sqlite3 package manually');"

I tried installing sqlite3 manually with:
sudo apt-get install sqlite3
and still get the same error.

What do i need to do ?
Maybe the readme is missing some steps to get this API running ?
What versions of node/npm are you supporting ?

Thank you

@goklani50
Copy link

Facing similar problems while deploying this, maybe the README instructions are outdated or needs to be changed.
A said installed node-gyp too.
Errors:
`> v8-profiler-node8@6.0.1 preinstall /home/ubuntu/clsi/node_modules/v8-profiler-node8

node -e 'process.exit(0)'

dtrace-provider@0.2.8 install /home/ubuntu/clsi/node_modules/dtrace-provider
node-gyp rebuild

gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Linux 4.15.0-1051-aws
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/clsi/node_modules/dtrace-provider
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

dtrace-provider@0.8.7 install /home/ubuntu/clsi/node_modules/logger-sharelatex/node_modules/dtrace-provider
node-gyp rebuild || node suppress-error.js

gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Linux 4.15.0-1051-aws
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/clsi/node_modules/logger-sharelatex/node_modules/dtrace-provider
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

@google-cloud/profiler@0.2.3 install /home/ubuntu/clsi/node_modules/@google-cloud/profiler
node-gyp rebuild

gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Linux 4.15.0-1051-aws
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/clsi/node_modules/@google-cloud/profiler
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN node-clsi@0.1.4 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.2.8 (node_modules/dtrace-provider):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.2.8 install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/profiler@0.2.3 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/profiler@0.2.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2019-10-06T09_50_03_233Z-debug.log`

@das7pad
Copy link
Member

das7pad commented Oct 6, 2019

@goklani50 this will get you one step forward:

Install the command line tool make via

$ sudo apt-get install make

@das7pad
Copy link
Member

das7pad commented Aug 6, 2021

Hi!

Thank you for taking the time to write up this issue.

We are in the process of migrating to a monorepo at https://github.com/overleaf/overleaf and will mark this repository read-only soon.
You can read more about the monorepo migration at overleaf/overleaf#923.

We are going to close this issue now to avoid any confusion about the inability to comment further.

If you believe this issue still needs addressing, please create a new issue at https://github.com/overleaf/overleaf.

Thanks again!

@das7pad das7pad closed this as completed Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants