Category "package.json"

npm install issue : 27 vulnerabilities (16 moderate, 9 high, 2 critical) To address all issues , run: npm audit fix --force

When I enter npm install in the relevant react project folder, it gives back this error after installing node modules 27 vulnerabilities (16 moderate, 9 high, 2

Task not found: "react-scripts:start"

I've configured tailwind.css to my react project and edit the react scripts according to "scripts": { "build:css": "postcss src/styles/index.css -o src/styl

gatsby build failing on netlify with throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);

This error did not happen on my build from several months ago, I was on node v14.4.0 which was using npm v6.14.5. 6:09:13 PM: $ gatsby build 6:09:13 PM: interna

ReactJS : Failed to load plugin 'testing-library' declared in 'package.json : Cannot find module './eslint-utils'

I recently made some copy pasting of code base from my one device to other device. I copied everything including the node modules folder. Now when I am running

NPM Script only works if I run it in two terminals at the same time or in debug

I'm trying to run the command (On Windows using VS): npm run watch:sass to compile my sass into css. When I hit enter instead of seeing the regular message abou

How to share node_modules and package.json files between two directories?

As I experiment with WordPress's new Gutenberg development methods, I noticed that I need to create individual block folders within the plugins directory. These

tried to update angular to 13 broke a bunch of stuff now trying to go back to angular 11 how to?

First I am the only one working on this project so we can completely nuke everything but the code of course. I have tried things like this with no effect npm un

I am finding it difficult to initialize package.json file in my truffle project

I can not install package.json dependencies in my truffle project and I have tried touch.json. it's giving me errors. I have also tried truffle init, but it is

Angular npm start it is generating browser application bundles although the app is not in production

I am dealing with an unexpected change at the npm start which it makes the server of Angular very slow. During npm start it is coming Generating browser applcia

NPM install not work and make lock-json file

Hi I'm trying to install npm to run a kit. my node version is: v12.18.3 my npm version is: 6.14.6 my folder is "test" and I'm installing npm with this command:

Getting : npm WARN using --force Recommended protections disabled

I have an old Nuxt.js package that was developed in Node 12 and I want to use it now with Node 16 (the latest stable) but when I try to install my packages by n

502 Bad gateway after deploying react app on GCP

I recently upgraded my application from CRA-ts to CRA, upgraded react version from 16 to 17 with typescript version of 4.1 and node version to 16. On backend I

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in the package.json of a module in node_modules

This is a React web app. When I run npm start This error occurred > [email protected] start > react-scripts start node:internal/modules/cjs/loader:488

Angular schematics exception: "NOT SUPPORTED: keyword "id", use "$id" for schema ID"

I have a custom schematic that won't apply to a new project... I also looked at this question but I couldn't make it work... My main workspace runs with this co

Angular schematics exception: "NOT SUPPORTED: keyword "id", use "$id" for schema ID"

I have a custom schematic that won't apply to a new project... I also looked at this question but I couldn't make it work... My main workspace runs with this co

import the current package export by the package.json name

I'm interested to know if there's a convention that allows a person to test the expected usage of a package from within the package. Consider the following pack

Build error after updating Svelte: Package subpath './compiler.js' is not defined by "exports"

Problem I was on Svelte version 3.0.0 and used npm i svelte@latest to update to the most recent version. Now I can't get the app to run, I always get this errro

SyntaxError: Cannot use import statement outside a module

I've got an ApolloServer project that's giving me trouble, so I thought I might update it and ran into issues when using the latest Babel. My "index.js" is: req

Suddenly, NPM script variables no longer work

I use package.json variables like this in NPM scripts: // package.json { "version": "0.12.1", "scripts": { "get-version": "echo %npm_package_version%"

What is the package.json file?

As a new Developer I'd like more information about json file. I know that The this file is the heart of a Node.js system. This file holds the metadata for a par