Comments (7)
I don't know if it's the issue but using the git clone method, in oauthd/ folder, just write npm install
because with npm install oauthd, i get the following error trying to reproducing the issue:
~/tmp ❯❯❯ git clone https://github.com/oauth-io/oauthd.git
Cloning into 'oauthd'...
remote: Counting objects: 460, done.
remote: Compressing objects: 100% (351/351), done.
remote: Total 460 (delta 96), reused 458 (delta 94)
Receiving objects: 100% (460/460), 14.03 MiB | 354 KiB/s, done.
Resolving deltas: 100% (96/96), done.
~/tmp2 ❯❯❯ cd oauthd
~/tmp/oauthd git:master ❯❯❯ npm install oauthd
npm WARN install Refusing to install oauthd as a dependency of itself
npm install
should install all the required package
~/tmp2 ❯❯❯ git clone https://github.com/oauth-io/oauthd.git
Cloning into 'oauthd'...
remote: Counting objects: 460, done.
remote: Compressing objects: 100% (351/351), done.
remote: Total 460 (delta 96), reused 458 (delta 94)
Receiving objects: 100% (460/460), 14.03 MiB | 354 KiB/s, done.
Resolving deltas: 100% (96/96), done.
~/tmp2 ❯❯❯ cd oauthd
~/tmp2/oauthd git:master ❯❯❯ npm install
npm http GET https://registry.npmjs.org/hiredis
npm http GET https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/restify
npm http GET https://registry.npmjs.org/async
...
~/tmp2/oauthd git:master ❯❯❯ npm start
> [email protected] start /home/thyb/tmp2/oauthd
> forever -c coffee --minUptime 1000 --spinSleepTime 1000 -a -l forever.log -o out.log -e err.log start lib/oauthd.coffee
info: Forever processing file: lib/oauthd.coffee
Then, my http://localhost:6284/admin works.
Does it helps you ?
from oauthd.
Nope still the same:
Error: Cannot find module 'restify-oauth2-private'
I even deleted the entire node_modules
directory and did npm install
again. Still the same problem.
from oauthd.
restify-oauth2-private is a versionned folder in node_modules (it's a modification of restify-oauth2) so you can't just delete node_modules.
from oauthd.
Use git checkout -- ./node_modules to recreate this folder.
from oauthd.
On debian, I'm having a similar problem. I tried both npm install and npm install oauthd. No errors, but 👍
/tmp/oauthd$ npm start
[email protected] start /tmp/oauthd
forever -c coffee --minUptime 1000 --spinSleepTime 1000 -a -l forever.log -o out.log -e err.log start lib/oauthd.coffee
info: Forever processing file: lib/oauthd.coffee
and then there is no server. I did see this warning during install thou:
npm WARN package.json [email protected] No repository field.
from oauthd.
Indeed, the errors are stored in err.log like apache would log errors in a file. But we still need some checks at start (there is still grunt test to run basic tests).
The missing restify-oauth2-private bug will be fixed very soon (as a distinct package)
from oauthd.
We published v0.1.2 to get rid of this module. It's now a separated package (https://github.com/oauth-io/restify-oauth2-oauthd forked from the original restify-oauth2) with the same modifications.
You can npm update or delete / npm install again (redis database remains unchanged but you might remodify config.js)
from oauthd.
Related Issues (20)
- Oauthd updates HOT 6
- XSS Vulnerability in Firefox HOT 3
- Can't seem to create new profile HOT 29
- Web frontend is broken HOT 1
- You must provide a state when server-side auth HOT 1
- Slack Issues for "incoming webhooks" HOT 8
- Moving to a new server - best method? HOT 1
- Shopify - missing option to specify shop?
- Still supported / active? HOT 1
- Reset admin password? HOT 3
- XSS Vulnerability with upper cased Javascript protocol HOT 2
- vk.com me() function returns 500 HOT 1
- Fix CI
- I am just wondering where does oauthd persist the api keys? HOT 1
- Provider: google - Legacy People API HOT 1
- This is a dead project.. right??? HOT 2
- The service is offline HOT 7
- Update JS SDK
- Investigate LinkedIn v2 migration
- Always return raw values after authentication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oauthd.