Git Product home page Git Product logo

email_survey_system's People

Contributors

younggillee avatar

Watchers

 avatar  avatar

email_survey_system's Issues

Issue - initial setting for mongoDB

events.js:160
throw er; // Unhandled 'error' event
^
MongoError: Authentication failed.
at Function.MongoError.create (/Users/gil/WorkSpace/Email_Survey_System/server/node_modules/mongodb-core/lib/error.js:31:11)

Issue - testing email using send grid

axios.post('api/surveys',survey);'

Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined}

xhr.js:178 POST http://localhost:3000/api/surveys 500 (Internal Server Error)
dispatchXhrRequest @ xhr.js:178
xhrAdapter @ xhr.js:12
dispatchRequest @ dispatchRequest.js:52
Promise resolved (async)
request @ Axios.js:58
Axios.(anonymous function) @ Axios.js:78
wrap @ bind.js:9
(anonymous) @ VM1070:1
createError.js:16 Uncaught (in promise) Error: Request failed with status code 500
at createError (createError.js:16)
at settle (settle.js:18)
at XMLHttpRequest.handleLoad (xhr.js:77)

Issue - After refactoring from chaining(.then) to async

In server side......

async (accessToken, refreshToken, profile, done) => {
[0] ^
[0]
[0] SyntaxError: Unexpected token (
[0] at createScript (vm.js:56:10)
[0] at Object.runInThisContext (vm.js:97:10)
[0] at Module._compile (module.js:542:28)
[0] at Object.Module._extensions..js (module.js:579:10)
[0] at Module.load (module.js:487:32)
[0] at tryModuleLoad (module.js:446:12)
[0] at Function.Module._load (module.js:438:3)
[0] at Module.require (module.js:497:17)
[0] at require (internal/module.js:20:19)
[0] at Object. (/Users/gil/Work

issue - after pending request using axios.pose('/api/surveys')

xhr.js:178 POST http://localhost:3000/api/surveys net::ERR_EMPTY_RESPONSE
dispatchXhrRequest @ xhr.js:178
xhrAdapter @ xhr.js:12
dispatchRequest @ dispatchRequest.js:52
Promise resolved (async)
request @ Axios.js:58
Axios.(anonymous function) @ Axios.js:78
wrap @ bind.js:9
(anonymous) @ VM326:1
createError.js:16 Uncaught (in promise) Error: Network Error
at createError (createError.js:16)
at XMLHttpRequest.handleError (xhr.js:87)

issingSchemaError

issingSchemaError: Schema hasn't been registered for model "users".
Use mongoose.model(name, schema)
at MongooseError.MissingSchemaError (/Users/gil/WorkSpace/Email_Survey_System/server/node_modules/mongoose/lib/error/missingSchema.js:20:11)
at Mongoose.model (/Users/gil/WorkSpace/Email_Survey_System/server/node_modules/mongoose/lib/index.js:391:13)

DeprecationWarning - Node (After setting mongoose)

(node:1036) DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-client
Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.

Issue - Logout

Anchor tag, log out dose not working..

I set the redirection to get back to the landing page, but it is not working.

Proxy in package.json seem to working well

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.