question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cold start doesn't work

See original GitHub issue

Hi,

Following the instructions in the README doesn’t result in a working app. Not sure what is going on.

I cloned the repo, ran npm install --production, then npm start. There was a warning about admin account being disabled:

james@emma hoodie-app-mapchat[master]$ npm start

> hoodie-app-mapchat@1.0.2 start /home/james/repos/hoodie_stuff/hoodie-app-mapchat
> hoodie

WARN log 2017-02-14T17:34:31.769Z [ 'account' ] Admin account disabled: `options.adminPassword` not set
Your Hoodie app has started on: http://localhost:8080
Stop server with control + c

Navigating to localhost:8080 on my laptop shows a blank blue screen and a search bar:

screenshot_20170214_093902

The firefox developer dialog shows no issues with missing network files, but the console does show the message:

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead[Learn More]  jquery.min.js:1
Error: hoodie.account not yet accessible, wait for hoodie.ready to resolve  client.js:1069:15
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.  jquery.min.js:3:31293
Error: hoodie.account not yet accessible, wait for hoodie.ready to resolve  client.js:1069:15

Clearly I need to somehow activate “hoodie.account” but not sure what to do.

node version v7.2.0 firefox 50.1.0 running couchdb 1.6.2, but it didn’t seem like the hoodie app cared about that at all, and I couldn’t see where/how to link that up.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jmarcacommented, Feb 15, 2017

Sure I’m sure I can hack that out.

Give me a day or two to get to it.

0reactions
jmarcacommented, Jul 21, 2017

yep, those problems seem to be gone.

What I did: 0. checked out master (git checkout master)

  1. pulled from github:master (git pull)
  2. npm install --production

See some warnings:

hoodie-app-mapchat[master]$ npm install --production
npm WARN deprecated nodemailer@2.7.2: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/

> hoodie@28.2.1 postinstall /home/james/repos/hoodie_stuff/hoodie-app-mapchat/node_modules/hoodie
> node ./bin/setup.js

info setup Start your Hoodie app with "npm start"
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN hoodie-app-mapchat@1.0.2 No repository field.
npm WARN hoodie-app-mapchat@1.0.2 No license field.

added 169 packages, removed 193 packages and updated 630 packages in 34.072s
  1. started the app:
 hoodie-app-mapchat[master]$ npm start

> hoodie-app-mapchat@1.0.2 start /home/james/repos/hoodie_stuff/hoodie-app-mapchat
> hoodie

Your Hoodie app has started on: http://localhost:8080
Stop server with control + c
  1. Navigated to 127.0.0.1:8080 using firefox, I can see the map, can log in, etc.

Some other issues, (had an alert icon about not logged in until reloaded page; can’t add markers; can’t recenter map on my location (even though on start it picks Los Angeles fine)) but those are other issues. I’m going to close this one. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Won't My Car Start in the Cold? | The Family Handyman
Cold temperatures call for richer fuel mixture when starting your engine. A defective coolant temperature or malfunctioning air intake ...
Read more >
What to Do When Your Car Won't Start on a Cold Morning
Another sneaky trick that can sometimes work is dipping the clutch slightly as you turn the ignition. This actually reduces the amount of...
Read more >
Why Your Car Won't Start In Cold Weather (+ Fixes & Tips)
Your car may refuse to start in the cold for so many reasons. Sometimes it could be a dead battery or a failed...
Read more >
Car won't start in the cold? Possible causes and preventative ...
If your car won't start in cold conditions, by far the most likely cause is the battery. A vast number of RAC Patrol...
Read more >
My Car Struggles to Start When the Engine Is Cold - AxleAddict
Often, lack of proper car maintenance can be blamed for problems during a cold start. Worn out spark plugs and plug wires, clogging...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found