Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
66 views

Environment: - Angular Version: 19.2.6 - Angular CLI: 19.2.7 - Chrome Version: 146.0.7680.165 - Node: 20.17.0 - OS: Windows 10 x64 - Webpack: 4.47.0 Problem: When debugging Angular 19 project in ...
lavanya p's user avatar
0 votes
0 answers
47 views

If I am trying new SharedWorker("./worker.ts", {...}) I have "failed to fetch worker scipt", if I build it with tsup to .js first I have crossOriginIsolated = false (I have all ...
Tom Sharf's user avatar
Tooling
0 votes
1 replies
84 views

I'm migrating from Webpack to Rspack and previously used svg-sprite-loader to generate SVG sprites. It doesn't work with Rspack because it relies on internal Webpack APIs (NormalModule....
Yichen Zhu's user avatar
0 votes
0 answers
59 views

I am trying to decrypt and import my env variables with Dotenvx. Previously we were using the traditional dotenv package which all worked. We want to switch to dotenvx for the encryption capabilities ...
grom's user avatar
  • 23
0 votes
1 answer
47 views

I noticed that in TailwindCSS v4, PostCSS was removed, and under the hood everything is handled entirely by LightningCSS, so no extra PostCSS plugins are needed. Because of this, they were able to ...
rozsazoltan's user avatar
0 votes
1 answer
109 views

Problem I'm experiencing a strange behavior with my Next.js 14 project. When I first run npm run dev, the app starts on localhost:3000 but shows a webpack error. However, if I run npm run dev again (...
TanakaHiroki's user avatar
Tooling
1 vote
5 replies
147 views

I have an Electron app that I build using webpack + electron-forge. I consider to migrate to vite + electron-builder. The migration succeeded quite smoothly, and dev experience with vite is way better ...
BNJMNDDNN's user avatar
  • 115
1 vote
3 answers
112 views

I am trying to print text and an image to a div using webpack but it does not seem to be working. Only the buttons display but the text and the image does not. Please can you take a look at my code ...
theonerishi's user avatar
Tooling
1 vote
1 replies
238 views

I want to create PWA that works offline (cache static assets, API requests, images, etc) and using PWABuilder make a native mobile app for android and IOS at once. My tech stack: - [email protected]....
Влад Рогов's user avatar
1 vote
0 answers
89 views

I’m trying to implement a chrome extension using Angular21. I need to compile background script, that is written using TypeScript. For this I need to compile background script inside Angular build. I ...
Alex's user avatar
  • 207
-1 votes
1 answer
117 views

I am trying to convert a TypeScript file (test.ts) into an ESM JavaScript file (bundle.js) via webpack, ts-loader, and node (from NodeJS). For this purpose, I created a webpack.config.js and tsconfig....
axel's user avatar
  • 75
1 vote
0 answers
125 views

I have a main src/app.ts file in which i import a ./src/my-module.ts file. The bunlde file ./dist/app.bundle.js (that i get after executing webpack command) still references to ./src/my-module.ts. ...
Fakhar Anwar's user avatar
3 votes
2 answers
103 views

In our webpack configuration we use MiniCssExtractPlugin to extract style to separate static files, it works fine, but when we use dynamic import for css it generates two files: one css and another js....
Alexandr Vysotsky's user avatar
0 votes
0 answers
64 views

I have the following code: src/main.js const importModule = async (moduleName) => { const mod = await import(moduleName); return mod; }; const fs1 = await import("fs"); const fs2 = ...
dooxe's user avatar
  • 1,490
1 vote
1 answer
171 views

I recently upgraded a microfrontend project built with Single-SPA and Angular from version 13 to Angular 18. After the migration, I noticed that the styles are completely broken or not loading as ...
Sindhu's user avatar
  • 11
0 votes
0 answers
45 views

I added firebase-electron to my Vue CLI Plugin Electron Builder project using yarn, but I encountered the following error. I'm using Webpack 4.43.0. How can I resolve this error? error in ./...
m-ogawa's user avatar
  • 13
0 votes
1 answer
98 views

I'm trying to develop my first SPFx (1.21.1) web part using Vue (3.5.22) without success. This is my package.json: { "name": "spfx", "version": "0.0.1", &...
Jesús López's user avatar
0 votes
0 answers
72 views

We need to modernize our theme to avoid deprecations and security issues. As such, we are upgrading many node packages including webpack and sass. I'm having some trouble with inheritance. I am very ...
Loopy's user avatar
  • 83
0 votes
0 answers
63 views

I'm trying to bundle a Node.js CLI tool that uses @xenova/transformers into a single executable using pkg. The build works fine, but when I run the packaged executable, I get this error: Error: Cannot ...
Jibi Joseph's user avatar
2 votes
0 answers
44 views

We are using webworkers that started throwing runtime exceptions in our prod bundles after the upgrade. We're creating the worker with: new Worker(new URL('.worker/worker', import.meta.url) The error ...
Simon Kazakov's user avatar
1 vote
0 answers
108 views

I'm trying to create a Nx workspace(monorepo) with a NestJS app inside it (I'm fairly new to both Nx and Node.js/NestJS ecosystem). I run the following command to create a new Nx workspace. npx create-...
Bourne's user avatar
  • 11
0 votes
0 answers
45 views

When I run the admin portal of apim-apps, webpack compilation get succeeded but browser says cannot GET /admin. Publisher portal works and devportal also gives the same error. Here's what I did Got ...
Chamal Randika's user avatar
0 votes
1 answer
34 views

I'm experiencing an issue after attempting to upgrade some of my packages. ERROR in ./src/tasks/tasks.jade Module build failed (from ./node_modules/pug-html-loader/lib/index.js): Error: A valid query ...
Vladyn's user avatar
  • 583
2 votes
1 answer
170 views

When trying to start an Angular development server, I'm encountering a webpack-dev-middleware error: <e> [webpack-dev-middleware] Error: ENOENT: no such file or directory, '.' <e> at ...
mehdi hicheri's user avatar
0 votes
2 answers
75 views

I’m working on a web project built from an enterprise scaffold using webpack v5 and Babel. The target environment is Chrome ≥ 138 only. However, I’ve noticed that the build includes unnecessary ...
ipid's user avatar
  • 682
1 vote
0 answers
36 views

I have a single-page web application which started off small, and so code splitting was a complexity too far. It has since grown and now has lots of pages, and most pages have some library ...
Andrew Bullock's user avatar
0 votes
0 answers
112 views

Creating an optimized production build ... glob error [Error: EPERM: operation not permitted, scandir 'C:\Users\LENOVO\Application Data'] { errno: -4048, code: 'EPERM', syscall: 'scandir', ...
Shubham Agrawal's user avatar
0 votes
0 answers
50 views

I have a legacy project developed with ASP.NET Core 3.1 MVC and Angular 12 (originally it was Angular 5). I need to set a Content Security Policy (CSP) for the website without using 'unsafe-val' to ...
Passa4's user avatar
  • 11
0 votes
0 answers
148 views

I am using NX Angular microfrontend application. @nx/angular: 20.8.0, Angular: 19.28 I am trying to use pptxgenjs: 4.0.1 in my application. During build I am getting following error: node:fs - Error: ...
Pranav Kale's user avatar
0 votes
0 answers
51 views

I'm using Next.js 15.2.1 with the App Router. I noticed that when I navigate to a page, my loading.tsx file is not triggered, and neither is React Suspense, if the page makes an _rsc request. For ...
ferwtqe's user avatar
  • 11
0 votes
0 answers
80 views

I'm a newbie to Next.js and module federation, and I'm working on an exercise (let's call it that) where I have a web component bundled with Webpack 5 in a federated module, and I want to import it ...
alvostrues's user avatar
0 votes
1 answer
126 views

I would like to properly load css and icons into my web component, right now styles are loaded but icons are not. Here is my web component: import React from "react"; import { createRoot } ...
Francesco's user avatar
  • 1,867
0 votes
0 answers
57 views

While working on a modular Next.js-13 app, I ran into one persistent challenge: plugin-based component overrides. The Setup We structured the app like this: /components/singleNews /plugins/social-...
anwar's user avatar
  • 428
0 votes
0 answers
278 views

I am working on integrating a plugin into my application which resulted in lodash.js and underscore.js conflict. I have underscore.js implemented in my entire application and this plugin which I am ...
Gaurav's user avatar
  • 192
0 votes
0 answers
61 views

I get these errors when I try to build my nextjs project static/chunks/36443.1f4a0592caf86eec.js from Terser invalid unicode code point at line 1 column 454144 I tried removing node_modules and ...
Konul Memmedova's user avatar
0 votes
1 answer
93 views

I'm working on a project using Next.JS. It is an ecommerce site that uses URL slugs for every page. A slug is mapped to a specific page (Product, Article, Category). The project has the following ...
Romuloux's user avatar
  • 1,220
0 votes
1 answer
102 views

I have multiple projects set up in a monorepo. I load all of them and browse out to Shared to load the initial layout. However, when I click a link to go to a different zone/app Customer, I receive ...
Chris's user avatar
  • 371
-1 votes
2 answers
185 views

In my Nextjs application, every time I run “npm run build”, I get the following message: Optimized production version is being created... glob error [Error: EPERM: Operation not permitted, scandir ...
Captai-N's user avatar
  • 1,592
1 vote
1 answer
178 views

Background I'm migrating a complex multi-page application from Webpack to Vite. Each HTML file has a corresponding .ts script, and the files live in nested directories. Note: These entry HTML and TS ...
Hieu Pham's user avatar
2 votes
1 answer
478 views

I recently migrated my project from Angular 14 to Angular 18, and I’m noticing a huge increase in the number of initial chunks generated during the production build using ESBuild. In Angular 14 (with ...
Manjeet Yadav's user avatar
1 vote
0 answers
89 views

I'm using Next.js 15 with Turbopack, and I’m running into an issue when importing SVG icons using the svg/weba loader. Everything works perfectly in development mode on localhost, but when I try to ...
Farhan Ajmal's user avatar
1 vote
0 answers
89 views

I use my wasm package in a next.js app. The wasm package is written in Rust and compiled by wasm-pack. Everything works very well when I start the app by npm run dev. However, when running npm run ...
wangjun's user avatar
  • 719
2 votes
1 answer
93 views

I am suddenly unable to build my Webpack frontend, I randomly began getting this error despite not making any changes to the code: Starting the development server... /home/username/Documents/frontend/...
Aaron Meese's user avatar
  • 2,383
0 votes
0 answers
70 views

I am trying to run a React microfrontend application using Webpack Module Federation. The container app (container-app) loads remote apps (mfe-dashboard, mfe-portfolio) dynamically using promise new ...
Ahmad's user avatar
  • 3,926
1 vote
1 answer
494 views

I'm migrating an Nx workspace project with Angular 19 from using Webpack (@nx/webpack:webpack) to Esbuild (@nx/esbuild:esbuild). In my previous setup, I used generate-package-json-webpack-plugin in a ...
Semedmar's user avatar
0 votes
0 answers
138 views

Module build failed: UnhandledSchemeError: Reading from "node:events" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. ...
Jcodes5555 's user avatar
0 votes
3 answers
130 views

I am working on an ASP.NET project that uses Vue.js and jQuery. I have a JavaScript file (fields.js) that defines several classes (e.g., Users, Fields) and initializes a Vue instance. When I use the ...
kev's user avatar
  • 139
1 vote
0 answers
63 views

I have a CSS file with a @font-face declaration where font paths are specified as url("./icons/tficons.woff2"). However, when building with Webpack, these paths get rewritten to url(../tflex-...
Георгий Барсегян's user avatar
1 vote
0 answers
88 views

//postcss.config.js module.exports = { plugins: { '@tailwindcss/postcss': {}, }, } //webpack.mix.js mix.js('resources/js/app.js', 'public/js') .react() .postCss('resources/css/app.css', '...
heshanh's user avatar
  • 397
1 vote
0 answers
97 views

Background: I'm creating a JS library that has part of its functionality written in C++ source code, and thus compiles the C++ into WASM. The WASM is then imported by the library code and wrapped into ...
1valdis's user avatar
  • 1,174

1
2 3 4 5
848