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

error while running server or server:dev commands #2

Closed
shershen08 opened this issue Jan 31, 2017 · 1 comment
Closed

error while running server or server:dev commands #2

shershen08 opened this issue Jan 31, 2017 · 1 comment
Assignees

Comments

@shershen08
Copy link

typescript-webpack-starter-master/node_modules/webpack/lib/webpack.js:19
		throw new WebpackOptionsValidationError(webpackOptionsValidationErrors);
		^

WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration has an unknown property 'tslint'. These properties are valid:
   object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry, externals?, loader?, module?, name?, node?, output?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, stats?, target?, watch?, watchOptions? }
   For typos: please correct them.
   For loader options: webpack 2 no longer allows custom properties in configuration.
     Loaders should be updated to allow passing options via loader options in module.rules.
     Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
     plugins: [
       new webpack.LoaderOptionsPlugin({
         // test: /\.xxx$/, // may apply this only for some modules
         options: {
           tslint: ...
         }
       })
     ]
 - configuration.resolve.extensions[0] should not be empty.
    at webpack (.../typescript-webpack-starter

package.json

 "devDependencies": {
    "css-loader": "^0.25.0",
    "ejs-loader": "^0.3.0",
    "expose-loader": "^0.7.1",
    "html-loader": "^0.4.4",
    "html-webpack-plugin": "^2.22.0",
    "rimraf": "^2.5.4",
    "style-loader": "^0.13.1",
    "ts-loader": "^0.8.2",
    "tslint": "^3.15.1",
    "tslint-loader": "^2.1.5",
    "typescript": "^2.0.0",
    "typings": "^1.3.3",
    "webpack": "^2.1.0-beta.22",
    "webpack-dashboard": "^0.1.8",
    "webpack-dev-server": "^1.15.2"
  },
@emyann emyann self-assigned this Jan 31, 2017
@emyann emyann added the Bug label Jan 31, 2017
@emyann
Copy link
Member

emyann commented Jan 31, 2017

Hey @shershen08! 👋🏽 Thank you for the interest to this starter pack and the feedback! 👌🏽

I was currently updating the webpack configuration as some breaking changes appeared on this release https://github.com/webpack/webpack/releases/tag/v2.1.0-beta.23.

Please, just grab the latest version (63b92cd) of the repository and everything should be ok 😄

@emyann emyann added enhancement and removed Bug labels Jan 31, 2017
@emyann emyann closed this as completed Feb 1, 2017
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

2 participants