-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Hello,
I follow the readme instruction.
Its say
:> I installed mongodb
next
:> cd server
npm install
but there is no package.json file under server directory, so the command ### npm install do nothing.
So I do "npm install" at the root of the project.
The install is ok.
When I do "npm run start"
I get the following exception:
`npm run start
stripe-connect-rocketrides@0.0.1 start /home/jacquesbonet/Documents/boaton/stripe-connect-custom-rocketdeliveries
node app.js
(node:1162) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
(node:1162) DeprecationWarning: Mongoose: the isAsync option for custom validators is deprecated. Make your async validators return a promise instead: https://mongoosejs.com/docs/validation.html#async-custom-validators
_http_outgoing.js:479
throw new ERR_INVALID_CHAR('header content', name);
^
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Authorization"]
at ClientRequest.setHeader (_http_outgoing.js:488:3)
at new ClientRequest (_http_client.js:221:14)
at Object.request (https.js:309:10)
at makeRequest (/home/jacquesbonet/Documents/boaton/stripe-connect-custom-rocketdeliveries/node_modules/stripe/lib/StripeResource.js:364:57)
at /home/jacquesbonet/Documents/boaton/stripe-connect-custom-rocketdeliveries/node_modules/stripe/lib/StripeResource.js:447:9
at /home/jacquesbonet/Documents/boaton/stripe-connect-custom-rocketdeliveries/node_modules/stripe/lib/stripe.js:199:7
at /home/jacquesbonet/Documents/boaton/stripe-connect-custom-rocketdeliveries/node_modules/stripe/lib/stripe.js:219:7
at ChildProcess.exithandler (child_process.js:286:7)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Socket. (internal/child_process.js:430:11)
at Socket.emit (events.js:210:5)
at Pipe. (net.js:659:12) {
code: 'ERR_INVALID_CHAR'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! stripe-connect-rocketrides@0.0.1 start: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the stripe-connect-rocketrides@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jacquesbonet/.npm/_logs/2020-01-27T21_57_15_281Z-debug.log
`
NB: I have no probleme with this project: https://github.com/stripe/stripe-connect-rocketrides
Thks for your help.