Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

now cant run it #7

Closed
johnfelipe opened this issue Oct 13, 2017 · 1 comment
Closed

now cant run it #7

johnfelipe opened this issue Oct 13, 2017 · 1 comment

Comments

@johnfelipe
Copy link

this is my steps:

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

sudo apt-get install -y nodejs

sudo apt-get update && sudo apt-get install libcairo2-dev libjpeg62-dev libpango1.0-dev libgif-dev build-essential g++ git

sudo su
ufw allow 9002/tcp

exit

git clone https://github.com/OpeningDesign/draw.git

cd draw

bin/run.sh

and this is error show:

Ensure that all dependencies are up to date...
start...
DirtyDB is used. This is fine for testing but not recommended for production.
/home/felipe/draw/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/felipe/draw/node_modules/contextify/build/contextify.node
 → /home/felipe/draw/node_modules/contextify/build/Debug/contextify.node
 → /home/felipe/draw/node_modules/contextify/build/Release/contextify.node
 → /home/felipe/draw/node_modules/contextify/out/Debug/contextify.node
 → /home/felipe/draw/node_modules/contextify/Debug/contextify.node
 → /home/felipe/draw/node_modules/contextify/out/Release/contextify.node
 → /home/felipe/draw/node_modules/contextify/Release/contextify.node
 → /home/felipe/draw/node_modules/contextify/build/default/contextify.node
 → /home/felipe/draw/node_modules/contextify/compiled/6.11.4/linux/x64/contextify.node
	at bindings (/home/felipe/draw/node_modules/bindings/bindings.js:93:9)
	at Object.<anonymous> (/home/felipe/draw/node_modules/contextify/lib/contextify.js:1:96)
	at Module._compile (module.js:570:32)
	at Object.Module._extensions..js (module.js:579:10)
	at Module.load (module.js:487:32)
	at tryModuleLoad (module.js:446:12)
	at Function.Module._load (module.js:438:3)
	at Module.require (module.js:497:17)
	at require (internal/module.js:20:19)
	at Object.<anonymous> (/home/felipe/draw/node_modules/jsdom/lib/jsdom/browser/index.js:5:21)

how fix it?

@johnfelipe
Copy link
Author

npm install contextify

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants