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

webpack-dev-server version problem #6318

Closed
awhhrn opened this issue Jan 15, 2018 · 4 comments
Closed

webpack-dev-server version problem #6318

awhhrn opened this issue Jan 15, 2018 · 4 comments

Comments

@awhhrn
Copy link

awhhrn commented Jan 15, 2018

Do you want to request a feature or report a bug?
bug

What is the current behavior?
Initialize the project with vue scaffolding,webpack-dev-server2.9.1version 'Syntax error',webpack-dev-server2.7.1version normal operation
1

What is the expected behavior?
webpack-dev-server2.9.1version also can normal operation

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
ie9+
nodejs 8.4.0
windows 7 64 bit

@sokra
Copy link
Member

sokra commented Jan 15, 2018

upgrade to latest versions

@mikeaustin
Copy link

I'm having a similar problem. Upgrade to the latest versions of what? I upgraded webpack-dev-server from 2.9.7 to 2.11. Webpack is at 3.10.

Related notes:

$ grep -R 'input => typeof input' node_modules/
node_modules//webpack-dev-server/node_modules/strip-ansi/index.js:module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;
node_modules//string-width/node_modules/strip-ansi/index.js:module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;

$ rm -rf node_modules/string-width

$ npm install
customerportal.ui@0.1.0 /Users/mikeaustin/Projects/bitbucket/customerportal.ui
└─┬ webpack@3.10.0
  └─┬ yargs@8.0.2
    └─┬ string-width@2.1.1 
      ├── is-fullwidth-code-point@2.0.0 
      └─┬ strip-ansi@4.0.0 
        └── ansi-regex@3.0.0 

@DorianGrey
Copy link

There are already a couple of issues and PRs pending in the webpack-dev-server repo regarding this issue - suppose it's better to follow up these.

webpack/webpack-dev-server#1278
webpack/webpack-dev-server#1273
webpack/webpack-dev-server#1279

@alexander-akait
Copy link
Member

Closing due to inactivity. Please test with latest webpack and webpack-dev-server version and feel free to reopen if still regressions. Thanks!

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

No branches or pull requests

5 participants