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

Demo page 404 #542

Closed
hennadiy-kudashev opened this issue Mar 11, 2020 · 2 comments
Closed

Demo page 404 #542

hennadiy-kudashev opened this issue Mar 11, 2020 · 2 comments
Labels

Comments

@hennadiy-kudashev
Copy link

This issue is a:

  • Bug report

Thanks for 0.24.0 release. I have upgraded and have error with loading demo page.

Steps to reproduced (on new setup):

  • nwb new react-component nwb-component
  • yarn add nwb //upgrade to 0.24.0
  • yarn start

Demo page has not loaded 404. Also have tried with webpack.html.template - the same issue.

nwb: 0.24.0
node: 11.10.1
yarn: 1.16.0

@insin insin closed this as completed in 86df4ab Mar 11, 2020
@insin insin added the bug label Mar 11, 2020
@insin
Copy link
Owner

insin commented Mar 11, 2020

Thanks for the bug report - fixed in v0.24.1

@insin
Copy link
Owner

insin commented Mar 11, 2020

Protip, nwb's config is designed to work globally or locally, so you don't have to immediately add it to new projects to use it 😸

$ nwb new react-component react-component -f
Creating a react-component project...
  create .gitignore
  create .travis.yml
  create CONTRIBUTING.md
  create README.md
  create demo\src\index.js
  create nwb.config.js
  create package.json
  create src\index.js
  create tests\.eslintrc
  create tests\index.test.js
√ Installing react and react-dom
√ Initing Git repo

λ cd react-component\

λ npm start -- --no-clear

> react-component@1.0.0 start C:\Users\Jonny\repos\nwb-manual-tests\react-component
> nwb serve-react-demo "--no-clear"

Starting Webpack compilation...
i 「wds」: Project is running at http://localhost:3000/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from C:\Users\Jonny\repos\nwb-manual-tests\react-component
i 「wds」: 404s will fallback to /index.html
Compiled successfully in 1709 ms.

The app is running at http://localhost:3000/

(I really need to do something about that new [wds] logging)

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

No branches or pull requests

2 participants