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

Source map doesn't work #6414

Closed
TingOOOgniT opened this issue Feb 13, 2019 · 3 comments
Closed

Source map doesn't work #6414

TingOOOgniT opened this issue Feb 13, 2019 · 3 comments

Comments

@TingOOOgniT
Copy link

Is this a bug report?

Yes

Did you try recovering your dependencies?

I use create-react-app to create a project and run yarn start without any change. But I cannot find source files under localhost:3000

Which terms did you search for in User Guide?

I have tried to search this problem but I just cannot find something relevant.

Environment

Environment Info:

System:
OS: macOS 10.14.3
CPU: x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Binaries:
Node: 8.11.3 - /usr/local/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
Browsers:
Chrome: 72.0.3626.96
Firefox: 60.4.0
Safari: 12.0.3
npmPackages:
react: ^16.8.1 => 16.8.1
react-dom: ^16.8.1 => 16.8.1
react-scripts: 2.1.5 => 2.1.5
npmGlobalPackages:
create-react-app: 1.5.2

Steps to Reproduce

(Write your steps here:)

  1. yarn create react-app react-app
  2. cd react-app
  3. yarn start

Expected Behavior

There should be a source code folder under localhost:3000 without being minified.

Actual Behavior

There are only code minified.
image

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

@TingOOOgniT
Copy link
Author

TingOOOgniT commented Feb 13, 2019

Only can find source code under webpack-internal://
I used to create a react app with react-script 1.1.4 and I can find a folder under localhost:3000 with all source code in it.

image

@Jipperism
Copy link

Same issue here.

@bugzpodder
Copy link

This should be fixed by: #6444

@lock lock bot locked and limited conversation to collaborators Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants