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.

Help with first steps

See original GitHub issue

Hi.

Sharplab has been really useful to me and I’d like to extend its functionality. Although, I’m having some issues getting started with local development.

I read the instructions and executed sl setup. It successfully builds everything. However, when I run Server and try to locally connect, I get 404 on my browser.

  1. sl setup outputs Server -> D:\dev\sharplab-vanilla\source\Server\bin\Debug\netcoreapp3.1\publish\
  2. From my cmd I do D:\dev\sharplab-vanilla\source\Server\bin\Debug\netcoreapp3.1\SharpLab.Server.exe which outputs:
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: D:\dev\sharplab-vanilla
  1. I connect from my browser to: http://localhost:5000, https://localhost:5001 and http://localhost:49891/. Everytime I try, I get 404. The first URL outputs in the Server.exe console:
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:5000/
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 24.7209ms 404

Alternatively, I also run Server with IIS Express from Visual Studio (green play button). The browser pops up and I get 404.

I’m pretty sure I must be forgetting something stupid. The truth is that it is my very first time regarding C# web development.


I work on a three address code representation of CIL bytecode. I’d really like to integrate it into your website!

Best, Manuel.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:27 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
m-carrascocommented, Jul 20, 2020

Awesome! \0/

As soon as I can, I’ll try to test it and tell you if it is working.

0reactions
ashmindcommented, Jun 20, 2021
Cannot read property 'split' of undefined

Hmm – looking at the code it would seem like you are missing source/WebApp/components/internal/codemirror/mode-asm-instructions.txt for some reason. I’ll have to add more logging to this. (might take a bit of time given current priorities)

Read more comments on GitHub >

github_iconTop Results From Across the Web

FSSA: First Steps: How to Get Help
Services are coordinated to give your child the widest possible array of early intervention resources. First Steps is available in every county in...
Read more >
SC First Steps
Across the state, First Steps offers a range of programs that help families raise children to be healthy, safe, learning, and ready for...
Read more >
First Steps | Missouri Department of Elementary and ...
First Steps is Missouri's Early Intervention system for infants and toddlers, birth to age three, who have delayed development or diagnosed conditions that ......
Read more >
First Steps is Kentucky's Early Intervention System (KEIS) ...
First Steps provides services to children which help to diminish the effects of developmental delays. Services include: Evaluation/Assessment.
Read more >
First Steps Therapy
First Steps is Kentucky's Early Intervention System (KEIS) that serves children from birth to age three who have a developmental delay or a...
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