Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for .net 5? Is this dead? #74

Open
snow-jallen opened this issue Feb 26, 2021 · 3 comments
Open

Update for .net 5? Is this dead? #74

snow-jallen opened this issue Feb 26, 2021 · 3 comments

Comments

@snow-jallen
Copy link

I went to teach a friend about LINQ and I thought this would be the perfect way, run .net in the browser, execute your linq queries, see what happens - it should be perfect, right?

Nope.

dotnet tool install -g dotnet-try
git clone https://github.com/dotnet/try-samples
cd try-samples
dotnet run

ok, everything looks good so far...but not a single sample will actually execute. I click on the play button, it spins for a while, then a red box shows up at the bottom of the code window. If I look at my dev tools console it's full of errors. :( Hundreds of them, just like this (see below).

What am I doing wrong? Isn't this supposed to just work? I guess I'll need to find some other way to teach my friend about LINQ. ☹️

sql.js:1133 POST https://localhost:54389/workspace/diagnostics?hostOrigin=https%3A%2F%2Flocalhost%3A54389%2F101-linq-samples%2Fdocs%2Frestrictions.md 500
(anonymous) @ sql.js:1133
e.fetch @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
i @ sql.js:1133
t.default @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
s @ sql.js:1133
Promise.then (async)
u @ sql.js:1133
(anonymous) @ sql.js:1133
o @ sql.js:1133
value @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
o @ sql.js:1133
value @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
o @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
t.__tryOrUnsub @ sql.js:1133
t.next @ sql.js:1133
t._next @ sql.js:1133
t.next @ sql.js:1133
t._next @ sql.js:1133
t.emitValue @ sql.js:1133
t.notifyNext @ sql.js:1133
t._next @ sql.js:1133
t.next @ sql.js:1133
ae @ sql.js:1133
t._execute @ sql.js:1133
t.execute @ sql.js:1133
t.flush @ sql.js:1133
setInterval (async)
t.requestAsyncId @ sql.js:1133
t.schedule @ sql.js:1133
e.schedule @ sql.js:1133
t.schedule @ sql.js:1133
(anonymous) @ sql.js:1133
e._trySubscribe @ sql.js:1133
e.subscribe @ sql.js:1133
(anonymous) @ sql.js:1133
r @ sql.js:1133
t._tryNext @ sql.js:1133
t._next @ sql.js:1133
t.next @ sql.js:1133
t.next @ sql.js:1133
(anonymous) @ sql.js:1133
value @ sql.js:1133
$s @ sql.js:1133
Zs @ sql.js:1133
Ks @ sql.js:1133
qs @ sql.js:1133
Hs @ sql.js:1133
_s @ sql.js:1133
enqueueSetState @ sql.js:1133
b.setState @ sql.js:1133
s.onStateChange @ sql.js:1133
v @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
dispatch @ sql.js:1133
d @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
i @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
dispatch @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
i @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
dispatch @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
i @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
postMessage (async)
IFrameMessageBus.post @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
step @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
fulfilled @ trydotnet.min.js?v=1.0.19553.4:1
Promise.then (async)
step @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
__awaiter @ trydotnet.min.js?v=1.0.19553.4:1
Session.setWorkspace @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
Promise.then (async)
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
SafeSubscriber.__tryOrUnsub @ trydotnet.min.js?v=1.0.19553.4:1
SafeSubscriber.next @ trydotnet.min.js?v=1.0.19553.4:1
Subscriber._next @ trydotnet.min.js?v=1.0.19553.4:1
Subscriber.next @ trydotnet.min.js?v=1.0.19553.4:1
Subject.next @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
postMessage (async)
value @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
Mr @ sql.js:1133
ps @ sql.js:1133
fs @ sql.js:1133
Zs @ sql.js:1133
Ks @ sql.js:1133
qs @ sql.js:1133
Hs @ sql.js:1133
_s @ sql.js:1133
oa @ sql.js:1133
sa @ sql.js:1133
fa.render @ sql.js:1133
(anonymous) @ sql.js:1133
ea @ sql.js:1133
ma @ sql.js:1133
render @ sql.js:1133
(anonymous) @ sql.js:1133
o @ sql.js:18
(anonymous) @ sql.js:1133
o @ sql.js:18
(anonymous) @ sql.js:136
(anonymous) @ sql.js:138
Show 72 more frames from Library code
sql.js:1133 Uncaught (in promise) Error
at new t (sql.js:1133)
at e. (sql.js:1133)
at w (sql.js:1133)
at Generator._invoke (sql.js:1133)
at Generator.e. [as next] (sql.js:1133)
at s (sql.js:1133)

@mahdimerhi
Copy link

Hey, I just tried dotnet-try for the first time and the same happened to me too. but after the red box showed up I clicked on the "run" button again one or twice and it worked. The whole page is working well now.

@qayshp
Copy link

qayshp commented Apr 26, 2022

Seems most definitely dead.
dotnet try doesn't seem to work at all with 6.0.202

@JurrianFahner
Copy link

Seems most definitely dead. dotnet try doesn't seem to work at all with 6.0.202
Doesn't also work with 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants