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.

Issue with now dev

See original GitHub issue

Hi,

Everything works if I use now, but now dev doesn’t work. If __sapper__/build/index.js doesn’t exist I get

404: The page could not be found
Code: FILE_NOT_FOUND

But if __sapper__/build/index.js exist I get

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3000
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at Server.setupListenHandle [as _listen2] (net.js:1367:14)
    at listenInCluster (net.js:1408:12)
    at Server.listen (net.js:1492:7)
    at Object.<anonymous> (/private/var/folders/4m/kshkpbbs27s8m77s6kw9v9cw0000gn/T/zeit-fun-f1d67544251ea/launcher.js:39:8)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)

Furthermore, it would be great if we didn’t have to manually build and then deploy.

I followed every change in https://github.com/thgh/sapper-template/commit/220307c800525633063df3e3373bc76d0e62cd86

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
jorngeorgcommented, Sep 12, 2020

Should this be flagged higher up in the readme? I suspect it’s a deal breaker for many.

3reactions
thghcommented, Jul 9, 2020

Thinking realistically, now dev will never support Sapper. OTOH if you restart your server every 5 minutes, you are pretty much there, no?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ServiceNow outages reported in the last 24 hours
Real-time problems and outages for ServiceNow. Is the website down? Log-in not working? Here you see what is going on.
Read more >
developer Instance down today?? - ServiceNow Community
Unfortunatly there is no resolution for that as of now. Its a Known issue these days. Instance help is no longer monitored by...
Read more >
ServiceNow Development Handbook - Third Edition: A ...
ServiceNow Development Handbook - Third Edition: A compendium of ServiceNow "NOW" platform development and architecture pro-tips, guidelines, and best practices.
Read more >
[now dev] Error! Your codebase isn't linked to a project on ...
I just upgraded now and now I get the following on now dev: Error! Your codebase isn't linked to a project on ZEIT...
Read more >
Jira | Issue & Project Tracking Software - Atlassian
Developers want to focus on code, not update issues. We get it! Open DevOps makes it easier to do both regardless of the...
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