Category "npm"

Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFile

I have updated node today and I'm getting this error: error: TypeError: Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFi

Failed at the @angular/[email protected] postinstall script

Hi I can't install the angular cli with npm install -g @angular/[email protected]. I keep getting this : > node ./bin/postinstall/script.js module.js:549 thr

npm package seems to be corrupted

I am getting these warnings and then errors at the end. What is the fix? npm WARN deprecated [email protected]: core-js@<3.0 is no longer maintained and not re

ENOENT: no such file or directory when running npm install command

When I run npm install, I getting the following error, npm WARN tar ENOENT: no such file or directory, open 'D:\Live Project\insyte-mobile\insyte-mobile\node_m

React SASS - Error to install SASS Module

I'm trying to use SASS formatting in my React project but it's warning me that some files weren't found, but NPM installed everything automatically, so how can

How to use Yarn 2 (or 3) to run create-react-app without specifying a new directory?

I am trying to migrate from NPM to Yarn for the sole reason of getting rid of 'node_modules' folder. I am trying to use CRA tool. However, on CRA it advises to

Set yarn environment variables without using terminal directly

We have a CI/CD pipeline that executes yarn install. I want to execute DOWNLOAD=1 yarn install command without modifying the current pipeline. I'm wondering if

npm run build fails after updating npm (EACCES: permission denied)

I have a CRA (create-react-app) and I updated npm. Following, npm run build started to fail with error: EACCES: permission denied, rmdir 'PATH/build/static/css

AWS Lambda execute shell npm install error

I'm trying to build a web app in AWS lambda and upload it to an S3 bucket. For that, I utilize child process, which is working fine locally. exec('cd /tmp/ &

Build react app multiple times with different environment variables

I have a development environment file .env.development and a production .env file for my React web app. The .env.development has a value REACT_APP_NAME=My Test

How to set up the preact-render-to-string on the express

Please tell me how to set up the preact-render-to-string on the express. https://github.com/preactjs/preact-render-to-string#render-jsx--preact--whatever-via-ex

NPM not found when using NVM

I have installed node/npm using the nvm documentation. curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash Then: nvm install

There appears to be trouble with the npm registry (returned undefined). Retrying

I'm trying to install dependencies in my project but when I run yarn install I get the following error [2/5] 🔍 Resolving packages... info There appears

Minimist vulnerability

We are facing critical vulnerability in minimist which is added as transitive dependency. +-- [email protected] | +-- [email protected] | | `-- [email protected]

How to update package-lock.json without doing npm install?

Is it a way to update/generate package-lock.json without making real install of node_modules (like npm i)? I just need a valid package-lock.json based on my pac

Need to install 'webpack-dev-server'

I have cloned a repo from GitHub for a project. I've already installed node (-v 14.17.5) and npm (-v7.20.6), however when I run npm start I get the following co

Need to install 'webpack-dev-server'

I have cloned a repo from GitHub for a project. I've already installed node (-v 14.17.5) and npm (-v7.20.6), however when I run npm start I get the following co

How does Typescript references interact with builds and Docker?

I have a projectA that references a common package that my other Nodejs services will reference as well. The issue is how do I pack this up in a Docker file? Id

npmjs create username that created as organization before

Recently I created organization in my account, for example 'my_org' so I can publish package under 'my_org' scope. But decided to create separate account (by or

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