Topic: MDB Angular installation Error

soumadeep free asked 5 years ago


Your global Angular CLI version (8.0.3) is greater than your local version (7.2.2). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false". ** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ ** Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. - configuration.output has an unknown property 'futureEmitAssets'. These properties are valid: object { auxiliaryComment?, chunkCallbackName?, chunkFilename?, chunkLoadTimeout?, crossOriginLoading?, devtoolFallbackModuleFilenameTemplate?, devtoolLineToLine?, devtoolModuleFilenameTemplate?, devtoolNamespace?, filename?, globalObject?, hashDigest?, hashDigestLength?, hashFunction?, hashSalt?, hotUpdateChunkFilename?, hotUpdateFunction?, hotUpdateMainFilename?, jsonpFunction?, jsonpScriptType?, library?, libraryExport?, libraryTarget?, path?, pathinfo?, publicPath?, sourceMapFilename?, sourcePrefix?, strictModuleExceptionHandling?, umdNamedDefine?, webassemblyModuleFilename? } -> Options affecting the output of the compilation. output options tell webpack how to write the compiled files to disk. WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. - configuration.output has an unknown property 'futureEmitAssets'. These properties are valid: object { auxiliaryComment?, chunkCallbackName?, chunkFilename?, chunkLoadTimeout?, crossOriginLoading?, devtoolFallbackModuleFilenameTemplate?, devtoolLineToLine?, devtoolModuleFilenameTemplate?, devtoolNamespace?, filename?, globalObject?, hashDigest?, hashDigestLength?, hashFunction?, hashSalt?, hotUpdateChunkFilename?, hotUpdateFunction?, hotUpdateMainFilename?, jsonpFunction?, jsonpScriptType?, library?, libraryExport?, libraryTarget?, path?, pathinfo?, publicPath?, sourceMapFilename?, sourcePrefix?, strictModuleExceptionHandling?, umdNamedDefine?, webassemblyModuleFilename? } -> Options affecting the output of the compilation. output options tell webpack how to write the compiled files to disk. at webpack (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/webpack/lib/webpack.js:31:9) at Observable.rxjs_1.Observable.obs [as _subscribe] (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/@angular-devkit/build-webpack/src/webpack-dev-server/index.js:39:37) at Observable._trySubscribe (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/Observable.js:44:25) at Observable.subscribe (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/Observable.js:30:22) at /Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/util/subscribeTo.js:22:31 at Object.subscribeToResult (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/util/subscribeToResult.js:10:45) at MergeMapSubscriber._innerSub (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/operators/mergeMap.js:82:29) at MergeMapSubscriber._tryNext (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/operators/mergeMap.js:76:14) at MergeMapSubscriber._next (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/operators/mergeMap.js:59:18) at MergeMapSubscriber.Subscriber.next (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/Subscriber.js:67:18) at TapSubscriber._next (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/operators/tap.js:65:26) at TapSubscriber.Subscriber.next (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/Subscriber.js:67:18) at MergeMapSubscriber.notifyNext (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/operators/mergeMap.js:92:26) at InnerSubscriber._next (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/InnerSubscriber.js:28:21) at InnerSubscriber.Subscriber.next (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/Subscriber.js:67:18) at MergeMapSubscriber.notifyNext (/Users/soumadeep/Downloads/ng-uikit-pro-standard-7.5.4/node_modules/rxjs/internal/operators/mergeMap.js:92:26)


Arkadiusz Idzikowski staff answered 5 years ago


Please update your webpack version to 4.29.0 (or higher). In case of any further problems, make sure that the new dependency was installed correctly. Remove the node_modules and package-lock.json files and run 'npm install' command again.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.5.4
  • Device: Desktop
  • Browser: Chrome
  • OS: Mac OS
  • Provided sample code: Yes
  • Provided link: Yes