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

Problem building fxa-auth-server on debian9 #18

Open
laubosslink opened this issue Aug 12, 2017 · 1 comment
Open

Problem building fxa-auth-server on debian9 #18

laubosslink opened this issue Aug 12, 2017 · 1 comment

Comments

@laubosslink
Copy link

Hey I tried to run ./build.sh then ./setup.sh mydomain, the setup didn't have 9 container setup, so I checked each build line by line, and the following have a problem :

root@firefox:~/fxa-self-hosting# docker build -f ./docs/self-host.docker -t fxa-auth-server https://github.com/mozilla/fxa-auth-server.git
...
npm WARN engine [email protected]: wanted: {"node":">=0.11.0","iojs":"*"} (current: {"node":"0.10.38","npm":"2.8.4"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.10.38","npm":"2.8.4"})

> [email protected] postinstall /home/fxa/fxa-auth-server/node_modules/fxa-geodb
> LOG=quiet node scripts/start-db-download.js

{"Timestamp":1502511457097000000,"Logger":"fxa-geodb","Type":"uncaughtException","Severity":0,"Pid":161,"EnvVersion":"2.0","Fields":{"error":"TypeError: Object #<Object> has no method 'parse'","stack":"\n    at setupDownloadList (/home/fxa/fxa-auth-server/node_modules/fxa-geodb/lib/maxmind-db-downloader.js:58:33)\n    at Object.<anonymous> (/home/fxa/fxa-auth-server/node_modules/fxa-geodb/scripts/start-db-download.js:18:54)\n    at Module._compile (module.js:456:26)\n    at Object.Module._extensions..js (module.js:474:10)\n    at Module.load (module.js:356:32)\n    at Function.Module._load (module.js:312:12)\n    at Function.Module.runMain (module.js:497:10)\n    at startup (node.js:119:16)\n    at node.js:935:3"}}
npm WARN optional dep failed, continuing [email protected]
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.10.38","npm":"2.8.4"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.10.38","npm":"2.8.4"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.10.38","npm":"2.8.4"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.10.38","npm":"2.8.4"})
npm WARN engine [email protected]: wanted: {"iojs":">= 1.0.0","node":">= 0.12.0"} (current: {"node":"0.10.38","npm":"2.8.4"})
npm ERR! Linux 4.9.0-3-amd64
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--production"
npm ERR! node v0.10.38
npm ERR! npm  v2.8.4
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `LOG=quiet node scripts/start-db-download.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'LOG=quiet node scripts/start-db-download.js'.
npm ERR! This is most likely a problem with the fxa-geodb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     LOG=quiet node scripts/start-db-download.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls fxa-geodb
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/fxa/fxa-auth-server/npm-debug.log
@vladikoff
Copy link

npm ERR! node v0.10.38

@laubosslink You need node v4

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