Razzle: undefined error message while create-razzle-app

Created on 7 Dec 2019  ·  10Comments  ·  Source: jaredpalmer/razzle

I have installed Razzle(v3.0.0). create-react-app is errors out while installing, with an undefined message.

Node version: v10.16.0

Creating my-razzle-app...

Success! Created files for "my-razzle-app" razzle app

Installing npm modules:
react
react-dom
react-router-dom
razzle
express

> Error! Failed to install react, react-dom, react-router-dom, razzle, express, try again.
undefined

bug

Most helpful comment

I've got the same thing. Any update about this?

All 10 comments

In my case, I'm getting this log

yarn run v1.19.1
$ razzle start
 WAIT  Compiling...


✔ Client
  Compiled successfully in 3.37s

✔ Server
  Compiled successfully in 341.05ms

ℹ 「wds」: Project is running at http://localhost:3001/
ℹ 「wds」: webpack output is served from undefined
ℹ 「wds」: Content not from webpack is served from /Users/ajayposhak/Projects/my-app
ℹ 「wds」: 404s will fallback to /index.html
Warning: Please use `require("react-router-dom").Route` instead of `require("react-router-dom/Route")`. Support for the latter will be removed in the next major release.
Warning: Please use `require("react-router-dom").Switch` instead of `require("react-router-dom/Switch")`. Support for the latter will be removed in the next major release.
✅  Server-side HMR Enabled!
🚀 started

But when I navigate to http://localhost:3001/, its showing a blank page, with Error as document title.

Do you have something running on port 3000?

Its showing the correct page, when I open http://localhost:3000/. But on terminal output, it asks to open http://localhost:3001/ which has this error Cannot GET /.

I got the same message :-)

I've got the same thing. Any update about this?

Should make it more clear in the console output. Just dig into razzle/scripts/start.js, but the title of this issue is unrelated.

I have been looking into create-razzle-app and have not encountered this (undefined) error when running create-razzle-app. But it could happen with bad connectivity and timeouts? Which example is this with, if any. Which os? Using yarn or npm?

Needs more info, reopen if you have some :)

Hi, 
I retry today and i do not have the pb anymore.
Thanks.
Jérôme

Le samedi 9 mai 2020 à 16:35:41 UTC+2, Øyvind Saltvik <[email protected]> a écrit :

Needs more info, reopen if you have some :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pseudo-su picture pseudo-su  ·  3Comments

mhuggins picture mhuggins  ·  3Comments

kkarkos picture kkarkos  ·  3Comments

panbanda picture panbanda  ·  5Comments

knipferrc picture knipferrc  ·  5Comments