All Questions
5,670 questions
0
votes
0
answers
34
views
webpack file doesn't refer node_modules present in the imported path , but refer for it its node_modules
I am webpacking a module from pathA, node_modules are ignored.
I import the pathA/index.js in pathB node index.js dynamically, which has the required node_modules.
But when I run pathB node index.js, ...
0
votes
0
answers
65
views
Webpack isn't including all TypeScript files
I am having an issue causing the bundler to not include some of the TypeScript files. I understand it is because they aren't referenced from my main entry point, but I am not sure what the correct way ...
0
votes
0
answers
31
views
Angular 18 subresource integrity using an incorrect hash
I am working to upgrade an old code base from Angular 9 to Angular 18 for work. Subresource integrity was added while still on v8 and was working fine, however now that the code can compile and run in ...
0
votes
0
answers
51
views
Support ESM in CommonJS application context
Here are key fields from webpack and ts configs:
webpack:
module: {
rules: [
{
test: /\.ts$/,
use: "ts-loader",
exclude: /node_modules/,
},
],
...
1
vote
0
answers
34
views
Javascript Webpack compilation errors for a Ruby on Rails 6 app on Rocky 9 Linux
I have taken on a new product which is a Ruby on Rails 6 website recently migrated to a Rocky 9 Linux host. It's using the Ruby Webpacker Gem (a wrapper for Webpack) to compile assets and store in a ...
0
votes
0
answers
33
views
Webpack acts wrong and cant serve project
I have very strange problem. I have project on Vue 2.7 (Vue-cli), Node 20.11.0. This project works fine without any problem.
I created new another project on Vue 3.5/Vite and I upgraded node to 22.15....
0
votes
0
answers
46
views
Can't debug electron react boilerplate with Visual Studio Code on Windows
I'm starting a new Electron project using electron-react-boilerplate, but the debug of main process not working! I can debug correctly the render, all the debugger features are working, but for the ...
2
votes
0
answers
542
views
Failed to load PostCSS config: module is not defined in ES module scope
I'm encountering an issue with my PostCSS configuration in my project. When I try to run my development server, I receive the following error message:
Failed to load PostCSS config: module is not ...
0
votes
1
answer
29
views
Unable to increase max memory for Node and Webpack in my .NET Core App
I have been struggling with this for a while now and have been on through Goolgle and think the issue is that I need to use the --max-old-space-size= which I have tried in several different places but ...
0
votes
0
answers
65
views
Rollup Package Error: TypeError: Unable to determine current node version
I have built an npm package using Rollup, but after publishing and installing it in another project, I get the following error when running the project:
TypeError: Unable to determine current node ...
0
votes
0
answers
61
views
Encountering this issue "ERR_INVALID_FILE_URL_PATH: File URL path must be absolute" while running test suite
I am trying to set up Webpack locally and try to run the test,
yarn test
but it failed I don't know how to fix it. I am trying to set up Webpack locally and run its test suite, but I am encountering ...
0
votes
0
answers
82
views
Uncaught SyntaxError: I don’t have an export named ‘default’?
I'm encountering the following error in my console:
Uncaught SyntaxError: The requested module './dist/codemirrorbundle.js' does not provide an export named 'default' (at (index):22:16)
I've tried ...
2
votes
1
answer
113
views
Can't resolve 'querystring' in old dependency
I have an old React app which I'm trying to run locally, but I encountered some issues regarding querystring and pollyfils. Here are my files:
packages.json:
{
"name": "test-immersion&...
0
votes
1
answer
88
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
53
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
...