Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
0 answers
14 views

How can I solve the system reaching limit number of file watchs in an Expo program?

I'm doing an program in Expo, when I try to test the program(especificaly in web) it's been printing this error. Error: ENOSPC: System limit for number of file watchers reached, watch '/home/gabriel/...
gabriel goes braga's user avatar
0 votes
0 answers
14 views

TypeError: loaderUtils.getOption is not a function

EDIT I am following a Full Stack Development Course by freeCodeCamp right here. When I run the command npm start to start React App, the browser is showing nothing. When I back with my code I can see ...
Trần Khôi's user avatar
0 votes
0 answers
18 views

How to configure webpack to work with mupdf.js in an Electron, T

I was trying to integrate document viewer tabs in an electron app. First I tried using native bindings to create a node addon but the IPC between main and renderer processes along with mutexes was ...
Mohib Najam's user avatar
-3 votes
0 answers
27 views

Why does webpack-dev-server@5 need at least Node 18?

I am developing an old program with Node version 16. When I try to upgrade to use Webpack 5, I notice that the Node version dependency of webpack-dev-server@5 is 18. Why? Are there any features or ...
ohhhhhhhh's user avatar
-1 votes
0 answers
47 views

ERROR: Module not found: Error: Package path . is not exported from

I am using Node and express along with svelte on the frontend, I have npm installed the "socket.io-client" package on the client side, but when I try to import it, I get this error. I see ...
Prashant Pareek's user avatar
-1 votes
0 answers
20 views

The command "yarn babel-node" throws an error [closed]

In a webpack project of the environment of VSCode,to learn ES Module and CommonJS,firstly I use the command "yarn add @bebel/node @babel/core @babel/preset-env --dev" to import some ...
风雪心's user avatar
0 votes
1 answer
22 views

Content not from webpack is served from '/app' directory (Docker / Webpack)

I'm using Webpack configuration with docker. Everything working well as development step. However this is not working for my preproduction and production step. The difference between these steps is ...
Srevinu's user avatar
  • 368
1 vote
0 answers
24 views

max-old-space-size not working while executing webpack command to build bundle

i have been getting javascript heap out of memory error while running webpack command to build my project i have tried to put 4GB memory allocation to node for executing webpack this is the ...
Vikram's user avatar
  • 60
0 votes
0 answers
17 views

Trying to use dotenv or config in react app and getting: webpack < 5 used to include polyfills error, tried creating webpack config, doesn't work

i'm getting this error below trying to use both dotenv and config. I've got a Typescript React App, just installed and need to use environment variables. I don't have webpack installed as a dependency ...
Kevin A.'s user avatar
  • 137
0 votes
0 answers
20 views

Webpack dynamic import in node.js app doesn't work: MODULE_NOT_FOUND

I am trying to import a js file at runtime: const migrationsDir = path.resolve(__dirname, '../migrations/tenanted'); import(path.join(migrationsDir, '1681831306977-initial-schema.js')) .then(() =>...
Vololodymyr's user avatar
  • 2,178
0 votes
0 answers
17 views

Can't run TypeOrm migrations with webpack: MODULE_NOT_FOUND

I have node.js app built with webpack. I am following this FAQ My webpack config has one entrypoint for the migrator script, and multiple entrypoints for migration files: const commonConfig = require('...
Vololodymyr's user avatar
  • 2,178
2 votes
1 answer
77 views

Problem when requiring packages bundled with webpack

I'm able to use libraries with node like: const API = require("api"); const Service = require("service"); however, when I bundle the js file with webpack, it doesn't work and I ...
user17952421's user avatar
0 votes
0 answers
18 views

Can't resolve './zstd.win32-x64-msvc.node' in ...node_modules/@mongodb-js/zstd

I have a react node js typescript project I'm working on via my m2 chip mac where I'm trying to get MongoDB and mongoose setup on. I've installed the basic mongodb package via npm and am getting the ...
Niko Icardo's user avatar
0 votes
0 answers
32 views

Vue3 Openlayers + webpack = can't resolve modules

webpack fails to resolve modules dependencies when compiling I got 94 erros like this: ERROR in ./node_modules/vue3-openlayers/dist/vue3-openlayers.es.js 63:0-41 Module not found: Error: Can't resolve ...
Sam's user avatar
  • 1,737
0 votes
0 answers
13 views

how to import a plugin to a Typescript electron app with plugin system manager?

i'm in the process of making an electron app that will support a plugin system that will not cause any changes in the app it will only load components which are the plugins i want to load. and im ...
ryusuke's user avatar

15 30 50 per page
1
2 3 4 5
379