Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
68 views

I am trying to deploy my application and getting this error. Locally it is working perfectly fine here is the complete stack trace: 2025-02-20T09:20:27.0519522Z > [email protected] build ...
Adil Mughal's user avatar
0 votes
0 answers
127 views

I followed this documentation on firebase to use it with webpack: https://firebase.google.com/docs/web/module-bundling. But when I get to the last step and try to run webpack and generate the build ...
Mauricio Fossas Koval's user avatar
0 votes
0 answers
56 views

webpack.config.js const path = require('path'); const webpack = require('webpack'); module.exports = { entry: '/src/index.js', output: { path: path.resolve(__dirname, '..','..', 'public_html'...
shenn's user avatar
  • 896
0 votes
1 answer
773 views

I am working on blockchain project and whenever I try to run "npm run dapp" I get the following error: [webpack-cli] Invalid options object. Dev Server has been initialized using an options ...
saniya ikram's user avatar
0 votes
0 answers
128 views

I'm in the process of upgrading my old node 8x project to node 18.18.0. When building a webpack angularjs app I get this error and unsure how to handle this issue. Is this a bug in webpack/webpack-cli ...
jammerman's user avatar
2 votes
1 answer
877 views

Problem: I am trying to start my react application by running npm run start. This then throws the error "You need to install 'webpack-dev-server' for running 'webpack serve'" while I have ...
A.Vandijck's user avatar
1 vote
2 answers
3k views

[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an` instance of Array at new NodeError (node:internal/errors:399:5) at ...
TheUncleLion's user avatar
4 votes
1 answer
4k views

I have a node.js backend project, and I use webpack to build it. "webpack": "^4.46.0", "webpack-cli": "^4.4.0" it reports error like Module build failed (from ....
K.Yang's user avatar
  • 49
1 vote
0 answers
381 views

I upgraded webpack from 5.70.0 to 5.75.0 my webpack-cli is at 4.9.2 When I try to npm install my project it crashes saying: npm ERR! notarget no matching version found for [email protected] The ...
Jose Montalvo's user avatar
0 votes
1 answer
2k views

I am trying to generate my own webpack config and have some problems generate a bundle. Error: [webpack-cli] Error: Conflict: Multiple chunks emit assets to the same filename billing-dashboard-ui.js (...
AFAF's user avatar
  • 609
3 votes
2 answers
2k views

I have a mac with M1 chip and I wonder if the error is related to this, because on my old one I have no problem. % npm run dev > dev > encore dev Running webpack ... [webpack-cli] ...
paul vinchent's user avatar
0 votes
1 answer
210 views

I am trying to implement webpack 5 with es6 syntax, but I'm coming up short even though i'm explicitly providing a devtool setting as per the documentation. Error Message: [webpack-cli] Invalid ...
crawfish39's user avatar
0 votes
2 answers
506 views

I have a project with Vaadin 23.0.8 that fails to start with the error message "cli.isMultipleCompiler is not a function". It seems to be a compatibility problem with webpack-cli Version 4.9....
Chris's user avatar
  • 994
1 vote
1 answer
777 views

I'm using Vue 3 and Webpack 5 and wanted to install dotenv-webpack, but I can't get it to work. Here's full code: https://github.com/golebiewska-n/webpack5-vue3 Setup: package.json script I'm using to ...
Natalia Gołębiewska's user avatar
0 votes
1 answer
796 views

I upgraded from webpack 3.3.1 to webpack-cli `4.10.01 I am getting build error with --display-optimization-bailout in the command
Akshay Vijay Jain's user avatar
0 votes
0 answers
3k views

I'm using @svgr/webpack package for loading svg and importing a svg in my react component like as this: import { close } from '../../../resources/icons/icon-close.svg'; This is my webpack.config file....
Farzaneh Torkpichlou's user avatar
-1 votes
1 answer
799 views

I'm trying to configurate webpack but I stuck because of this error. I think the problem is with entry. But when i try to add it without path: like in tutorial i get "(property) path: path....
Kuniooo's user avatar
  • 34
4 votes
1 answer
5k views

I have a large Angular 12 application that uses Webpack 5.55.1, not the Angular CLI. When I tried to upgrade from Angular 12.2.16 and @ngtools/webpack 12.0.5 to Angular 13.3.11 and @ngtools/webpack ...
jurgen w's user avatar
  • 373
5 votes
0 answers
28k views

Here is how you update your webpack-cli for anyone else who was curious. This issue arose when I was creating a new JHipster project, and was having issues with npm start. First, check your version of ...
Taylor's user avatar
  • 139
3 votes
1 answer
954 views

I have a Kotlin multiplatform project with JVM and JS. When executing jsRun gradle task to start the webpack server, it fails with the following error: Waiting for changes to input files of tasks... (...
Jordi's user avatar
  • 2,607
21 votes
13 answers
33k views

I got stock with with error that I dont understand, I have tried a lot of things like reinstalling all the dependencies but it does not work any idea? Here is the error prompt: No production ...
David Martínez Gil's user avatar
3 votes
0 answers
1k views

I wanted to run Webpack using npm run build but it gives an error in the Terminal as bellow [webpack-cli] Error: Unknown option '--module-bind' [webpack-cli] Run 'webpack --help' to see available ...
tcvduc's user avatar
  • 199
13 votes
4 answers
31k views

I am using webpack: 5.71.0 webpack-cli: 4.9.2 webpack-dev-server 4.8.1 in my webpack.config.js const path = require('path'); const webpack = require('webpack'); module.exports = { entry: './src/...
Osama A. Abdelnasser's user avatar
0 votes
0 answers
876 views

Hello now get this all but i have error this: How repair error? I run command npm run dev [webpack-cli] Error: Cannot find module 'webpack/lib/rules/DescriptionDataMatcherRulePlugin' Require stack: - ...
Marcin Kubiak's user avatar
0 votes
1 answer
1k views

For my application when I'm trying to run the buildDev script from my package.json I am getting the error: [webpack-cli] SyntaxError: Invalid regular expression: /(\p{Uppercase_Letter}+|\p{...
lross15's user avatar
  • 177
0 votes
1 answer
188 views

I've been asked to go through the packages our application is using and update them to the latest versions, one of these was upgrading webpack from version 3.11.0 to 5.70.0 which also meant I had to ...
lross15's user avatar
  • 177
6 votes
2 answers
4k views

I'm trying to use webpack for my web development project, but can't figure out how to use the writeToDisk option. Here's my webpack.config.development.js file: const { merge } = require('webpack-...
natzzzz's user avatar
  • 63
3 votes
3 answers
39k views

When compiling assets using Laravel Mix, I am getting the below error. Steps I followed: Clone Laravel Git Install all node_modules using npm install Getting error when compiling assets using (npx ...
SW Dev's user avatar
  • 103
0 votes
1 answer
572 views

I recently installed webpack and webpack-dev-server and getting this error on running it from terminal. error: [webpack-cli] Invalid options object. Dev Server has been initialized using an options ...
RItesh Kumar 's user avatar
2 votes
3 answers
3k views

I'm using Rails 6 and the webpacker 5.4.3 gem. I just recently upgraded several node packages and added one which broke hot reloading and can't determine why; these are the packages I've upgraded/...
gangelo's user avatar
  • 3,202
12 votes
5 answers
19k views

I downloaded a project folder from a pluralsight tutorial, when I try to run it with npm start it shows this message: [webpack-cli] Unable to load '@webpack-cli/serve' command [webpack-cli] TypeError:...
Israel Juarez's user avatar
6 votes
0 answers
637 views

This is using Docker. It works when using wsl2 but when using hyper-v I'm getting the issue. I'm trying to run mix watch -- --watch-options-poll=3000 or mix --production but every time I'm running it ...
YaBCK's user avatar
  • 3,039
9 votes
2 answers
11k views

I'm experiencing a TypeError and am unsure how to resolve it. I look forward to any help you can provide. The following is the terminal output from yarn run build: BUILD_DIR /Users/blakelucey/Desktop/...
Blake Lucey's user avatar
1 vote
1 answer
3k views

Getting error in console Uncaught ReferenceError: arguments is not defined after upgrading the webpack 4 to webpack 5. This arguments is in debounce funtion
Vandana's user avatar
  • 21
0 votes
1 answer
495 views

I've seen two in the docs ... https://webpack.js.org/configuration/mode/ version 1 webpack --mode=development and https://webpack.js.org/api/cli/ version 2 npx webpack --mode development One has ...
howard's user avatar
  • 264
2 votes
2 answers
5k views

I have been following this tutorial online: https://www.youtube.com/watch?v=TOb1c39m64A. I am about 10 minutes in, where we are starting the webpack dev server for the first time. I do this and when I ...
user avatar
1 vote
2 answers
14k views

I am trying to integrate WebPack into the scripts my package.json file. I was following a video to try and do it and it works fine up until I enter 'npm start'. I get an error message in the terminal ...
stormshadow854's user avatar
2 votes
1 answer
2k views

When I run npx webpack-cli --analyze --node-env development I get an error about it not liking <React.StrictMode>: Webpack Bundle Analyzer is started at http://127.0.0.1:8888 Use Ctrl+C to close ...
Randy's user avatar
  • 1,305
1 vote
0 answers
791 views

I was following this two tutorials to create my first react app and node.js: Doc Microsoft(The worst doc in MS I have ever seen) Medium.com This one helped me to build a working site. I am using ...
Simone's user avatar
  • 2,420
1 vote
2 answers
3k views

I'm trying to run yarn dev in my project and nothing happen, just display this error below: [webpack-cli] TypeError: Cannot read property 'name' of undefined at new WebpackCLI (C:\Users\mikae\...
Mikael's user avatar
  • 331
0 votes
1 answer
1k views

I recently tried to compile my files on development platform by using npm run watch & also npm run dev, but both gave me an error given below: [webpack-cli] Invalid configuration object. Webpack ...
Hardik Sisodia's user avatar
5 votes
1 answer
5k views

I have project with this structure: my-app/ ├─ node_modules/ ├─ dist/ ├─ src/ │ ├─ index.css │ ├─ index.js │ ├─ index.html ├─ package.json ├─ webpack.config.js My webpack.js is: const { Module }...
ljuk's user avatar
  • 794
80 votes
10 answers
72k views

When I upgrade webpack to 4.0.0-beta.3 and run npx webpack serve I get this error: [webpack-cli] Invalid configuration object. Object has been initialized using a configuration object that does not ...
roms's user avatar
  • 1,871
0 votes
1 answer
2k views

when I give npm start comand its show internal/modules/cjs/loader.js:883 throw err: Error: Cannot finde module'webpack-cli/bin/config-yargs' plz help me to solve this problem use os : windows 10 node ...
Fahim Uddin's user avatar
1 vote
0 answers
702 views

I recently moved from webpack 3 to 5 and made some changes as per the suggestions, however after this upgrade, build fails and server won't start. here is my webpack file const path = require('path') ...
Amit Pandey's user avatar
0 votes
1 answer
542 views

I used npx webpack-cli init to create my config file. I then decided to moved the created config files into a config/ folder. Now when I run serve it tells me the mode hasnt been set. I imagine I need ...
Newb 4 You BB's user avatar
2 votes
0 answers
725 views

I'm trying to install the lastest version of webpack and the following message keeps coming back in my terminal. Screenshot after "npm start"
BryanCanCode's user avatar
8 votes
2 answers
16k views

I am in the process of upgrading webpack from v4 to v5. I have started with upgrading webpack-cli, as explained in the doc. So when I run npx webpack --version I get webpack 4.46.0 webpack-cli 4.5.0 ...
Istopopoki's user avatar
  • 1,783
4 votes
1 answer
1k views

In webpack 4 I was using --display-modules option of webpack-cli. I can also see it in the documentation. moving to webpack 5, my build started to fail with below error: [webpack-cli] Error: Unknown ...
Noy Oliel's user avatar
  • 1,716
4 votes
1 answer
1k views

I understand that the webpack package and the webpack-cli package both need to be installed in order to use webpack commands. I understand that in webpack 3 there was just one package and it contained ...
Kyle Delaney's user avatar
  • 12.4k