chart-stock-market icon indicating copy to clipboard operation
chart-stock-market copied to clipboard

Error when running npm start

Open ghost opened this issue 8 years ago • 2 comments

Hi, I'm really keen to take a look at this in action, however running npm start throws the following error:

url.js:91 throw new TypeError('Parameter "url" must be a string, not ' + typeof url);

I believe I have exported all the correct .env variables / set up twitter keys etc. Would you be able to provide a few more instructions on how to get this running?

ghost avatar Nov 02 '16 11:11 ghost

Hi Edan, Thanks for checking out the project. I can't tell from the message where the error occurs but it looks like one of the parameters needs to be a string. Make sure your .env variables are all string types. I'll write up a guide on starting the project over the next week and post a readme file. Hope this helps!

On Wed, Nov 2, 2016 at 4:07 AM, Edan Edison [email protected] wrote:

Hi, I'm really keen to take a look at this in action, however running npm start throws the following error:

url.js:91 throw new TypeError('Parameter "url" must be a string, not ' + typeof url);

I believe I have exported all the correct .env variables / set up twitter keys etc. Would you be able to provide a few more instructions on how to get this running?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jmcilhargey/chart-stock-market/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AMgKiTfCiVDMjcL3UREZR4p5NQ6Spcblks5q6G7dgaJpZM4KnHK2 .

jmcilhargey avatar Nov 03 '16 00:11 jmcilhargey

@edanedison You'll need to set the MLAB_URI environment variable for this to work.

@jmcilhargey Is this project dead? - Your heroku example app didn't work. I got it running fine on my machine—localhost: Connected to MongoDB—but same output as your Heroku app (blank)

SamuelMarks avatar Aug 29 '17 14:08 SamuelMarks