node-modules Questions

8

Solved

I'm creating a new project with gatsby gatsby new YourProjectName2 https://github.com/Vagr9K/gatsby-advanced-starter and get an error: info Creating new site from git: https://github.com/Vagr9K/gat...
Columbarium asked 17/9, 2021 at 8:19

20

Solved

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 program directory structure and the source ...
Outstretched asked 28/6, 2020 at 6:34

2

Solved

Is it just me, or Chromium DevTools stopped to stop at breakpoints in node_modules (including /usr/lib/node_modules)? a.js: console.log('a.js'); require('./b'); b.js: debugger console.log('b.js');...

3

Solved

Recently one of our old written micro-service (Nodejs V10 + Typescript V7.0.1) start throwing following errors: return new TSError(diagnosticText, diagnosticCodes) TSError: ⨯ Unable to compile Type...
Seditious asked 16/9, 2022 at 7:0

5

Node.js 16.14.2, npm 8.19.2. I am trying to run a simple Node.js script that imports OrbitDB. Here is the script: hello_orbitdb.js // import the package const OrbitDB = require('orbit-db'); Here i...
Pogue asked 23/10, 2022 at 15:59

4

Solved

I'm quite new to the front end - trying to implement client side on React. After adding "react-native" dependency and running webpack I'm getting the following error: ERROR in ./node_modules/react...
Diamagnetic asked 4/4, 2020 at 22:51

2

I'm facing this 3 problems that I still can't understand where your mistakes are. Error: Module not found: Error: Can't resolve 'C:/Users/DexSh/desktop/C# Angular/Testing/src/app/app.component.css?...
Dormer asked 12/12, 2022 at 2:33

67

I just installed Node.js and NPM (Node Package Manager). I installed NPM for access to additional Node.js modules. After I installed Node.js and NPM, I noticed that neither were the latest versions...
Mohandas asked 4/6, 2011 at 14:28

17

Solved

I have a project that include a gulp task for building and packaging the sources and release in a directory called dist. My goal is publish it as a npm package, but only my dist folder. The npm doc...
Daven asked 13/8, 2016 at 17:16

7

Solved

Downgraded my node recently for a tech assessment to vers 12, now wanted to upgrade but seems something is wrong. Ive tried a heap of things that everyone suggests. Not a very proficient mac user, ...
Slyviasm asked 24/11, 2022 at 18:2

2

Solved

I'm working with a team on a repo built in Docker and Node. When someone else installs node packages, I git pull those changes to package.json and package-lock.json. I can't just run docker-compos...
Calcine asked 24/10, 2017 at 16:57

2

Solved

Is there any performance advantage or disadvantage of using ES modules over CommonJS modules in a nodejs backend project? I'm asking this because I see a lot of people using CJS still even though n...
Orthopedist asked 7/4, 2022 at 10:39

24

Solved

Trying to install modules from GitHub results in this error: ENOENT error on package.json. Easily reproduced using express: npm install https://github.com/visionmedia/express throws error. npm in...
Oran asked 7/7, 2013 at 5:55

5

I'm getting error (FATAL ERROR: MarkCompactCollector: semi-space copy, fallback in old gen Allocation failed - JavaScript heap out of memory) when try to run any npm command. Error occurs even by r...
Daddylonglegs asked 6/5, 2019 at 6:39

19

Solved

I have a project containing multiple other projects : Main project Mini project 1 Mini project 2 All containing node_modules folder. I want git to ignore the folder no matter where it is sta...
Disembogue asked 23/4, 2015 at 10:30

3

When I want to delete a node_modules folder it takes ages when I delete it using Windows Explorer. How do I delete faster?
Barger asked 25/9, 2019 at 2:38

5

The value of ModuleResolution is set to Bundler by default while making a react+typescript app with vite it appears underlined red in vs code should i concerned ? is this a major error , i tried t...
Avirulent asked 21/4, 2023 at 8:30

8

Solved

I recently downloaded the Nodejs file from the official site and I don't know how to install the Nodejs from a archived file. Please help me how can I install this file so that I can run the "...
Berkeleian asked 8/8, 2020 at 6:58

9

Solved

I was trying to build my project on jenkins. The local build is successful but Jenkins build is failing. Any fix for this? I am using primeng module to implement p-organisationchart. I suspect that...
Glib asked 28/10, 2021 at 8:34

14

Solved

Here's my webpack.config.js "use strict"; module.exports = { entry: ['./main.js'], output: { path: __dirname, filename: 'bundle.js' }, module: { loaders: [ { test: /.js?$/, loader: 'babel-...
Soraya asked 28/12, 2016 at 9:54

2

Problem: I want to build bundle files for a website for older browsers (>= IE10). My transpiled code throws errors on old Internet Explorer 11 when I transpile the code with babel 7.x using babel...
Threat asked 4/1, 2019 at 17:24

4

When trying to use D3 with Next.js, I cannot get past this error when using D3.js v7.0.0 with Next.js v11.0.1.: [ERR_REQUIRE_ESM]: Must use import to load ES Module I tried next-transpile-module...
Baku asked 25/6, 2021 at 5:45

3

I've created some functions in JavaScript. I've found out that I reuse them in many projects. So I decided to create a small JavaScript Library for my coding. A Library like react, react-dom, jquer...
Toplevel asked 2/5, 2021 at 8:30

4

Solved

I got some error message 'Cannot find module ..\acorn.js' when write 'npm start' package.json { "name": "eats-mate-frontend", "version": "0.1.0", "priv...
Crosley asked 1/8, 2022 at 14:39

3

I have a Typescript-based project with multiple .d.ts files that I want to export as npm package and use in another project. In that other project, I want to be able to call: import {Foo} from "@...
Trisyllable asked 27/9, 2019 at 8:32

© 2022 - 2025 — McMap. All rights reserved.