Category "package.json"

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

NPM CI error bindings not accessible from watchpack-chokidar2:fsevents

When I run npm ci on Github Actions I got the error: Run npm ci npm ERR! bindings not accessible from watchpack-chokidar2:fsevents npm ERR! A complete log of t

What's the minimum I have to do to propagate changes from a node.js file: dependency?

I have a project structure like this: main depends on file:../lib1 which depends on file:../common main depends on file:../lib2 which depends on file:../common

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 / React-DOM package dependency conflict

I've been running into this error message every time I try to run npm update: : npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm E

Wait seconds before running next task on scripts package.jscon

What I want to do is when I run npm run dev to execute those both tasks I need to wait for 5 seconds until next task runs. Run the npm run server wait for 5 se

What is the "module" package.json field for?

I've seen some npm packages (vue for example) have a module field in their package.json. But module is not included in the package.json documentation - is this