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

It's still installing webpack 1.4.1 for me. Is this intended behavior? #1733

Closed
coryhouse opened this issue Mar 6, 2017 · 2 comments
Closed

Comments

@coryhouse
Copy link
Contributor

Unsure if I'm seeing a bug. I thought create react app was now using Webpack 2, but when I run create-react-app using the latest release, I still get 1.4.1 in react-scripts' package.json. Is this intended behavior?

Can you reproduce the problem with latest npm? Yes

Many errors, especially related to "missing modules", are due to npm bugs.

If you're using Windows, follow these instructions to update npm.

If you're using OS X or Linux, run this to update npm:

npm install -g npm@latest

cd your_project_directory
rm -rf node_modules
npm install

Then try to reproduce the issue again.

Can you still reproduce it?

Description

What are you reporting?

Expected behavior

Running create react app produces an application using webpack 2.

Actual behavior

I get a project that's using webpack 1.4

Environment

Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven’t ejected):
  2. node -v: 7.7.1
  3. npm -v: 4.1.2

Then, specify:

  1. Operating system: OSX
  2. Browser and version: Sierra

Reproducible Demo

@Timer
Copy link
Contributor

Timer commented Mar 6, 2017

#1565, #1599

The behavior is correct. Webpack 2 support has just been merged to master a few days ago, and it will take a little while before it shows up in the stable release.

@Timer Timer closed this as completed Mar 6, 2017
@Timer
Copy link
Contributor

Timer commented Mar 6, 2017

We're hesitant to cut a beta because of #1638 and #1305, if you would like to help triage and fix these issues, please feel welcome!

@lock lock bot locked and limited conversation to collaborators Jan 22, 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

2 participants