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

swisseph-api won't run #1

Open
miquael opened this issue Feb 26, 2015 · 5 comments
Open

swisseph-api won't run #1

miquael opened this issue Feb 26, 2015 · 5 comments

Comments

@miquael
Copy link

miquael commented Feb 26, 2015

$:swisseph-api mac$ npm start

[email protected] start /Users/mac/_INTRA/_APPS/AION/ephemeris_engines/swisseph-api
node ./bin/server

module.js:338
throw err;
^
Error: Cannot find module 'serve-favicon'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Users/mac/_INTRA/_APPS/AION/ephemeris_engines/swisseph-api/app.js:3:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)

npm ERR! Darwin 12.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node ./bin/server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node ./bin/server'.
npm ERR! This is most likely a problem with the swisseph-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/server
npm ERR! You can get their info via:
npm ERR! npm owner ls swisseph-api
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/mac/_INTRA/_APPS/AION/ephemeris_engines/swisseph-api/npm-debug.log
$:swisseph-api mac$ node --version
v0.12.0

$:swisseph-api mac$ node app.js
module.js:338
throw err;
^
Error: Cannot find module 'serve-favicon'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Users/mac/_INTRA/_APPS/AION/ephemeris_engines/swisseph-api/app.js:3:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
$:swisseph-api mac$

@miquael
Copy link
Author

miquael commented Feb 26, 2015

npm imstall

(!!!)

@mivion
Copy link
Owner

mivion commented Feb 27, 2015

Before run you have to:

npm install

in project folder.
Does it start now?

@miquael
Copy link
Author

miquael commented Feb 27, 2015

yes, it works! thank you ~

@miquael
Copy link
Author

miquael commented Feb 27, 2015

... er ... well, it was working perfectly yesterday. now the page comes up at localhost:3000, but there are no body numbers showing.

@mivion
Copy link
Owner

mivion commented Feb 28, 2015

I have commited some changes. Check this out.
Also checkout the http://swisseph.com, this is online working version.

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