npm Questions
9
I am trying to containerise Svelte js app inside a docker container and I am getting this error on the log complaining about esbuild in a different platform , I am using M1 mac, I have tried to ins...
Corin asked 27/7, 2022 at 14:19
21
C:\Users\Nick\Desktop\turntablefm\Bots\Super Bot>node bot.js
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'mongoose'
at Function...
Etheline asked 24/12, 2011 at 6:54
6
Solved
Facing this problem while trying to run "npm run build"
(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use ...
3
I am developing an app for both Android and iOS using React Native.
One of the libraries I'm using is a bit problematic because the app only compiles correctly:
...on Android when using "react-...
Ziguard asked 3/3, 2017 at 18:27
4
Solved
I'm trying to install the package @truffle/hdwallet-provider .
As written in the doc, I'm running:
npm i @truffle/hdwallet-provider
Here is the error message I'm getting:
npm ERR! code 128
npm ERR...
Illustrate asked 8/3, 2022 at 14:15
4
I have a chai among my devDependencies:
"devDependencies": {
"@types/chai": "4.2.14",
"chai": "4.2.0",
}
Chai is requires for tests only, but I ...
6
Solved
I have a simple requirement: In my npm scripts package.json file I have the line:
{
"scripts": {
"example": "some-lib --argument --domain \"https://tld.com\""
}
}
Now I want the "domain" to b...
Gulfweed asked 1/1, 2019 at 20:18
6
Solved
I'm trying to update my node modules globally. I'm using this command
sudo npm update -g
but it will produce thise error in terminal
npm ERR! code EINVALIDPACKAGENAME
npm ERR! Invalid package nam...
6
Solved
After running 'npm update' on my app, I am suddenly getting the following error:
Compiled with problems:
ERROR in ./node_modules/pako/lib/zlib/trees.js 257:106
Module parse failed: Unexpect...
Gilliangilliard asked 4/11, 2022 at 23:10
24
Solved
I have updated node today and I'm getting this error:
error: TypeError: Cannot read properties of undefined (reading 'transformFile')
at Bundler.transformFile (/Users/.../node_modules/metro/src/Bu...
Vitriform asked 20/10, 2021 at 13:52
3
Solved
Im new to node.js and are currently playing around with npm.
I found that the console output is colored in a weird way on my System, i can only read it when i copypaste it into a text editor. Chan...
4
I've been searching for npm packages but they all seem unmaintained and rely on the outdated user-agent databases. Is there a reliable and up-to-date package out there that helps me detect crawlers...
Deficiency asked 7/1, 2016 at 4:57
20
Solved
To install a Bootstrap theme I want to run npm install. However I always receive a permission denied error.
I already tried nvm and then switched with nvm use 10.9.0 to run npm install.
I also tr...
Lippe asked 22/8, 2018 at 12:52
5
Solved
how can I delete all node_modules folders from all packages in an npm 7 workspace?
With Lerna we could just execute lerna clean -y but when migrating to native NPM 7+ workspaces, is there some equi...
Bund asked 19/11, 2021 at 6:22
7
I am installing aws-cdk on windows using powershell,
First I was getting Error : "\AppData\Roaming\npm' npm ERR! enoent This is related to npm not being able to find a file."
during insta...
Dun asked 10/11, 2020 at 14:50
12
I tested with Azure Packages private NPM server and now want to revert back to using the standard NPM registry but when I do it complains. I have tried everything I can think of and it is blocking ...
9
Solved
I am new to Node Js and Webpack. I tried to start a project with module-loaders.
Firstly, I installed nodeJs and NPM and created a new directory called tutorial. I used the command prompt to cd in...
13
Solved
I installed NodeJS (4.4.5) and then proceed to install nodemon (1.9.2) as well,
I follow all the instrucctions of instalation (npm install -g nodemon)
I created a new folder, inside I have my serv...
Fraudulent asked 3/6, 2016 at 20:10
3
Solved
How do I install bower using package.json and npm?
I have my package.json file setup like so..
{
"name": "myprogramname",
"version": "0.0.1",
"devDependencies": {
"bower": "1.2.6"
//other de...
5
Solved
I am trying to compile a Nativescript application as part of our Teamcity deployment strategy.
When I run NPM install, I get a ENOENT error trying to find files, as shown below:
npm WARN tar ENO...
Rebus asked 15/12, 2019 at 11:40
4
As the title says, ESLint is complaining with this error message:
ESLint: Unable to resolve path to module '@vercel/analytics/react'.(import/no-unresolved)
In the line: import { Analytics } from '...
Contact asked 4/11, 2022 at 15:22
6
Solved
TL;DR: Is there a way to have npm install run automatically before running any npm script if your package.json has been modified?
Problem Scenario
You pull or checkout a branch that updated packa...
Skyrocket asked 23/9, 2018 at 13:46
9
Solved
I'm using node v6.11.5 and npm 3.10.10 and 64-bit OS, and while installing @angular/cli I'm getting the following error:
C:\WINDOWS\system32>npm install -g @angular/cli
npm ERR! Windows_NT 6.3....
Protege asked 28/10, 2017 at 7:45
6
Solved
I was thinking , would it be helpful and efficient to get a notification(sound or popup) back after npm finish running a task , a long installation for example . I'm using vscode and running most o...
Income asked 24/1, 2020 at 8:27
4
Solved
I have an app where I didn't add its repository in package.json while doing npm init.
Now I want to add repo in the package.json file, but couldn't find helpful solutions for me.
Also, I found repo...
Later asked 4/5, 2017 at 10:24
© 2022 - 2024 — McMap. All rights reserved.