Category "npm-scripts"

How can I get live-reload on a local npm package in a monorepo?

I'm setting up a monorepo workspace for a Vue 3 (vite + ts), cloud functions, & shared-lib (shared functions and ts interfaces etc.). I can get the import o

npm ERR! Response timeout while trying to fetch https://registry.npmjs.org/react-is (over 30000ms)

When I want to create a react app I'm encountering the following error: npm ERR! Response timeout while trying to fetch https://registry.npmjs.org/react-is

Why does "npm start" work without "run", but no other script does? [duplicate]

In my package.json file, there is the "scripts" section with my "start" script. When I type npm start it runs the "start" script. But for any

NPM scripts not shown in Explorer sidebar. How to shwo them again?

I have this problem with Visual Studio Code for Windows 10: I can't see anymore the NPM scripts in explorer sidebar. I deleted all the extensions, uninstalled V

How to set env var for .npmrc use

I need a module in my project to download a private npm package. To accomplish this, I am using a .npmrc file to supply a read-only token needed to download the

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

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

Running 2 commands in npm script(nodemon && sass --watch)

I have a package.json file looks like this. "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node src/app.js",