Repl can't bundle after adding Node in Shell

Static REPL:
So, I needed to add NPM to init and stuff, but after going through the confirmation ( [Y/N] ) to add Node to my static REPL, I couldn’t deploy.

I haven’t tried to move Repls because that’s unproductive.

Grecha-Susha - Replit


image


Browser: Edge
OS: Windows 10
Plan: Core

Then wouldn’t that not be static anymore?

No, it just adds it to the shell, the .Replit handles all that.

image
:astonished:

Many attempts later

2 Likes

By the way, https://grecha-susha.spcfork.repl.co/foo is a 404

1 Like

Lmao yeah,
Is SPA, use hash before slash
#/foo

I guessed at that, since the main page doesn’t redirect when you click on /foo, though it does for /bar

1 Like

Foo is a page hydrated from examples/index.html too!

https://grecha-susha.spcfork.repl.co/#/foo != the foo link on the main page

Oh yeah, I switched the button for testing on the home.
Also, you can view it statically at https://sushajs.replit.app

Found a bug:

  1. Visit any 404 (ex: https://grecha-susha.spcfork.repl.co/#/rg)
  2. Click “home”
  3. Try the clicker
  4. Counter becomes NaN

(Might need to dump cookies before this will work)

image
Fixed.

Uh, I think the 404 page is gone:
https://grecha-susha.spcfork.repl.co/#/erg

1 Like

Woo, it’s back.

image

404 (ex: https://grecha-susha.spcfork.repl.co/#/th) → home → https://grecha-susha.spcfork.repl.co/#NaN counter

1 Like

Fixed

Can now traverse without location err.

image

Seems to be working as intended now, thanks for the bug-testing!

1 Like

This still happens for me, I’ll screen-record later.

1 Like

Try the repl.co, I’ve been unable to build.

I did, I haven’t even looked at the deployed one.

1 Like