Nodejs.dev: Demo Examples aren't working

Created on 21 Sep 2020  路  9Comments  路  Source: nodejs/nodejs.dev

Description

Can't read or run the demos given on some pages of Node.js documentation. nearly all them are not working.

Steps to reproduce

  1. Visit https://nodejs.dev/learn
  2. Navigate to Output to command line using Node.js
    or
    A simple Event loop explanation
    or
    A quick Example

Expected result

It should show the code up and running, and its result.

Actual result

showing error window by glitch

Error 1:

Oops! This project isn't running.
If this is your project, check out the Glitch Editor, or head over to the Help Center to learn more.

node issue

Error 2:

The project owner has no remaining project hours, so you can't access it right now

node issue 2

Environment

  • OS Version: Windows 10 Pro
  • Browser Version: Google Chrome Version 85.0.4183.102 (Official Build)
bug

All 9 comments

Please fix this error, since I'm trying to learn Node right now. 馃檭

Please fix this error, since I'm trying to learn Node right now. 馃檭

One way to make things work is,

  1. Click "Remix" when error pop up appear
  2. Click "open in side window"

You may see at least result of code.
This only works sometimes

Thanks for reporting the bug and suggesting a workaround.

Maybe we should switch to another provider or just ditch the idea of running iframe'ed content from 3rd parties.
What do you think @nodejs/nodejs-dev

I think this is the reason we are seeing the above error sometimes.
Screen Shot 2020-09-26 at 10 12 35 PM

Maybe we should switch to another provider or just ditch the idea of running iframe'ed content from 3rd parties.
What do you think @nodejs/nodejs-dev

Maybe we should switch to another provider or just ditch the idea of running iframe'ed content from 3rd parties.
What do you think @nodejs/nodejs-dev

I agree with that, i think simple straight forward code running environment should be used instead of flashy iframes. Others open source projects also use simple code editors. such as MDN, javascript.info
one of advantage of those simple editor is that if one have slow internet connection or downloaded web pages to view later for some reason can still run those code snippets. :)

We should likely ping someone from glitch to see if they can get this fixed before removing it.

I think we likely want to keep code execution in an iframe for sandboxing purposes, no matter which vendor we use.

Pinging @jennschiffer

FYI @MylesBorins
The Glitch team on twitter replied to me. https://twitter.com/glitch/status/1310304278276431873

@

FYI @MylesBorins
The Glitch team on twitter replied to me. https://twitter.com/glitch/status/1310304278276431873

Yeah, this seems to be working, i should close the issue now.
Thanks @benhalverson for contacting glitch team 馃憣

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jemjam picture jemjam  路  3Comments

marcustisater picture marcustisater  路  4Comments

designMoreWeb picture designMoreWeb  路  3Comments

talarviv picture talarviv  路  4Comments

benhalverson picture benhalverson  路  3Comments