42,749 questions
1
vote
0
answers
26
views
NEXT JS Static Website Unhandled Runtime Error: Error: Failed to load chunk static/chunks/node_modules_85ff16._.js from module
I checked a similar Q&A on the forums but could not find the answer I was looking for. I am developing a static website with NextJS, Framer Motion, Tailwind, and SCSS. Everything was fine until I ...
0
votes
0
answers
13
views
What can be used in place of compileType in the css-loader configuration for Webpack 5+?
I'm using Webpack 5+ and [email protected], postcss-loader @8.x but I've encountered an issue after upgrading. The compileType option, which was previously used in the css-loader configuration, is now ...
0
votes
0
answers
37
views
React Refused to load the script bundle.js because it violates the following Content Security Policy directive script-src-elem 'none'
I have huge troubles getting CSP to work. Background is, I was creating a new web application based on react. The deployment should happens on Azure "Static Web Apps". Thus, the JavaScript ...
2
votes
1
answer
37
views
Optional dynamic import that both Webpack and Vite are happy with?
I have a library that has an optional dependency and handles it using a dynamic import in a try catch block, like so:
let someModule = null;
try {
someModule = await import ("may-not-exist"...
0
votes
0
answers
23
views
Laravel Mix error with resolve.extensions when building Fomantic UI
I'm trying to resurrect an older Laravel project (5.8.38) that used Semantic UI for styling the user interface. Since Semantic UI is no longer being developed, I'm also switching to Fomantic UI. I'd ...
0
votes
1
answer
41
views
laravel-mix and webpack: command not found
I'm working on resurrecting an older Laravel application. My package.json is non-controversial:
{
"private": true,
"scripts": {
"dev": "npm run development&...
0
votes
0
answers
25
views
webpack-cli TypeError: Cannot read properties of undefined (reading 'getArguments')
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
...
0
votes
0
answers
28
views
How to fix TypeError: _interop_require_wildcard._ is not a function
I'm trying to start my app, but I see empty page and follow message in console. This happens unexpectedly, I did change version of one dependency in my package.json and this problem appeared, after ...
-1
votes
0
answers
24
views
Using Shoelace with Symfony
I want to add user interface Shoelace to my symfony 7 project.
I'm using Encore as a bundler.
I can't succeed to add assets from shoelace in my node-module to the symfony project asset.
All the models ...
0
votes
0
answers
26
views
How to start and launch my react application in production mode
I have created webpack config(using "webpack": "^5.88.2") for production mode and when i run npm/gulp build, its building the code. But, can someone help to share how to start the ...
0
votes
0
answers
15
views
How to import Stream.Transform in Webpack >5?
I have a project with dependencies that rely on node.js type libraries, like Buffer and Stream.
I have added the following to Webpack config:
cfg.resolve.fallback = {
...cfg.resolve....
0
votes
0
answers
28
views
Chrome extension with React and Webpack - Injection of react into page
So I have this project with React 19 and typescript and am using Webpack to compile my code. I have successfully added react to pop-up, but I have problems when I compile my content script (overview....
-1
votes
0
answers
37
views
Node modules source files are not showing in browser source tab with vite config in react
I am working on migrating webpack to vite config in our react project.
But I am oberving a wierd issue, when I run the application locally on browser and tried to debug source files from node modules (...
-1
votes
0
answers
29
views
Non-Vite Way of TypeScript Types Checking in ".vue" files for 2025
From the version 8.0.0, fork-ts-checker-webpack-plugin has dropped the support for the .vue files.
The vue-type-check is not compatible with
[email protected] and higher while "^3.9.6" is too ...
0
votes
0
answers
27
views
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is the error message i always getting
I'm getting this error In Create React app, and can't resolve it.
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if ...