gi-no/paizaqa

node -v >5.6 always get error because of node-gyp debugger

Opened this issue · 1 comments

hoogw commented

This project never works for me.

`Running "wait" task

Waiting for server reload...
(node:14220) DeprecationWarning: Implicit async custom validators (custom validators that take 2
arguments) are deprecated in mongoose >= 4.9.0. See
http://mongoosejs.com/docs/validation.html#async-custom-validators for more info.
internal/crypto/pbkdf2.js:35
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'digest',
^

TypeError [ERR_INVALID_ARG_TYPE]: The "digest" argument must be one of type string or null
at _pbkdf2 (internal/crypto/pbkdf2.js:35:11)
at Object.pbkdf2 (internal/crypto/pbkdf2.js:25:10)
at model.encryptPassword
(C:/Users/engcid299/node/sample/playground0000001/paizaqa1/server/api/user/user.model.js:217:19)
at
C:/Users/engcid299/node/sample/playground0000001/paizaqa1/server/api/user/user.model.js:120:12
at RandomBytes.ondone
(C:/Users/engcid299/node/sample/playground0000001/paizaqa1/server/api/user/user.model.js:190:9)
Stopping Express server
Done waiting!
`

I have other error, already fixed.

I have
node -v
v9.6.1

npm -v 5.6.0

when run
npm install

error out like:
node-pre-gyp ERR! Tried to download(404):

First this is a excellent project from every aspect,
whether you are angular beginner or learner,
and it could be used for useful meaningful project too.

I see the last update is 2 or 3 years ago, no activity in recent years.

I hope this project still live, add more and more feature, I can see it has good future.

hoogw commented

Can owner make some change to let it works on node version > 5.6.0
For example, node -v9.x.X and -v8.x.x?

So far it only works with node -v5.6.0 and below

I have to downgrade node version from 9.x.x to 5.6.0
On windows, I use nvm-windows