Category "node-modules"

Appending .js extension on relative import statements during Typescript compilation (ES6 modules)

This seems to be a trivial problem, but it is not very obvious what settings/configurations need to be used to solve this issue. Here are the Hello World progra

Node projects are not working after changing the node version

I have node version 14 and all my node projects are working fine in node 14, but when I installed node version 16 and trying to run existing node projects, exis

What dependencies should be in to devDependencies in React on production

I'm having a problem with the size of node_modules so I'm trying to reduce it as much as possible so my solution right now is to put unused depencies on product

Install node_modules inside Docker container and synchronize them with host

I have the problem with installing node_modules inside the Docker container and synchronize them with the host. My Docker's version is 18.03.1-ce, build 9ee9f40

Metro Has Encountered an error: Cannot read properties of undefined(reading 'transformfile'). ERROR

Not sure Why I am getting this issue. I am following a react-native tutorial, and am experiencing this error: TransformFile(filePath, transformOptions) { va

Node - was compiled against a different Node.js version using NODE_MODULE_VERSION 51

I am running a node application on terminal. Have recently upgraded to node v8.5.0, but am getting this error: Error: The module '/tidee/tidee-au/packages/tide

Passing "global" and "ignore" options to browserify via the command line

I'm using browserify with babelify to transpile a JS file. The JS file require()s a component in node_modules, which I also want transpiled. As per the FAQ on

how to send variable along with the redirection in nodejs?

#Following in my code for redirect along with variable in nodejs app.post("/newcall", function(req, res) { var f = (req.body.try); console.log("val"+ f) r

Error: Cannot parse config file: '" + fullFilename + "': " + e3

I just want to set environment form development,staging and production in my project of express.js To set these environments I use module config https://www.npm

Could not find a declaration file for module 'module-name'. '/path/to/module-name.js' implicitly has an 'any' type

I read how TypeScript module resolution works. I have the following repository: @ts-stack/di. After compiling the directory structure is as follows: ├&#

Top-level ‘await’ expressions are only allowed when the ‘module’ option is set to ‘esnext'

I am going through Stripes integration steps and have come across an error for my code found in step 2.1 (https://stripe.com/docs/connect/collect-then-transfer-

Local server won't start TS-Error Container TS2345 NodeJS?

I'm trying to run a test project on the server. Gives an error message ~/www/ork-wiki-admin-back-test $ npm run test-start > [email protected] test-

Sequelize how to add folder for version inside Migrations folder

I'm creating a Node apps with sequelize mysql To create table I usually using command with npx sequelize-cli model:generate --name ...... etc. It turns out my

Node.JS [nodemon] Internal watch failed: ENFILE: file table overflow

[nodemon] 1.19.1 [nodemon] to restart at any time, enter `rs` [nodemon] watching: src/**/* [nodemon] starting `ts-node index.ts` [nodemon] Internal watch failed

Firebase deploy node modules issue

I'm having some trouble with using firebase functions. So I have this library that requires terms and conditions to be accepted when npm install is ran, you hav

How do I install a package with npm with a different/custom module name

I want to install a specific revision from a github tarball named something like "mymodule" and name it something like "mymoduleTemp", and then load a potential