How to view node.js output

I forked a project and it uses a webpage on replit using node.js
How do I view the page
I see console but no webview

I AM NOT PAYING I CAN’T AFFORD IT

Welcome to Ask!

Have you tried opening the webview this way?
image

If the above don’t solve your problem, can you please provide the link to the Repl?

You don’t have to pay for the webview on Replit. Web hosting is free (though certain features and performance improvements are paid).

3 Likes

yes, it did not work

the link is: https://replit.com/@Hedgehawk11/market

this is a fork of a github repl and (if you need it) ill share it

1 Like

Two questions:

  1. I’m not a MineCraft expert; is that any sort of Eaglercraft? Replit blocks Eaglercraft because Mojang was going to sue them otherwise.
  2. Where is the original Repl? You said you forked the project but it just says you used the Node.js template, which is not the same thing.
    image
2 Likes

forked from this: GitHub - nicolaschan/market: 💰 Online market with virtual currency designed for use as a Minecraft server economy

I don’t see a server in index.js. Your .replit file is configured to do nothing except run index.js. Also I don’t think Docker works on Replit.

3 Likes

It does not, as it requires sudo access. IIRC podman doesn’t work either.

3 Likes

So what can I use to view this?

to get console output, you need to write or modify code in index.js which produces output, and then go to the Console tab and see the output.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.