Questions tagged [yarn-lock.json]

90 questions
0
votes
1 answer

Yarn is resolving packages from my locale registry instead of official yarn

After yarn add LIB in my yarn.lock file is generated "resolved" url like: figures@^2.0.0: version "2.0.0" resolved "https://registry.mycompanyurl.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" integrity…
teteyi3241
  • 171
  • 2
  • 12
0
votes
1 answer

Use of sha1 and md5 in integrity of package in yarn.lock

Since md2, md5, sha1 hashing mechanisms are deprecated for iOS 13 and are not considered safe. Why are we having it in integrity in dependencies in yarn.lock file. "@types/redux-thunk@^2.1.0": version "2.1.0" resolved…
0
votes
0 answers

react npm start / yarn start not updating. I have to start and stop

I have recently stumbled upon this exploring this boilerplate. I believe it's a bit abandoned now, but figured i'd explore it. https://github.com/react-boilerplate/react-boilerplate Currently if i update the global-css file it appears to update…
0
votes
2 answers

Cannot run package installation and run serve the application with npm

I'm trying to run this sample I found. This is a solution with .netcore for the backend and Vuejs for the front-end. I want to start the Vuejs app simply running npm run serve got this error: PS C:\Users\xxx\Downloads\VueApp> npm run serve >…
hello B
  • 891
  • 5
  • 18
  • 41
0
votes
0 answers

Yarn deploy error: throw er; // Unhandled 'error' event

I am trying to deploy the React application but facing the following error: events.js:287 throw er; // Unhandled 'error' event ^ Error: write UNKNOWN at ChildProcess.target._send (internal/child_process.js:806:20) at…
Rahul Sharma
  • 2,187
  • 6
  • 31
  • 76
0
votes
2 answers

yarn start is not working to run the new react app

Error code is: yarn run v1.22.17 $ react-scripts start node:internal/modules/cjs/loader:488 throw e; ^ Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in…
0
votes
0 answers

Unable to load script. make sure you're either running a metro server react native

When I run the application on the emulator, it works well. But when I try to run it on my device in debug mode. The error appears: Unable to load script. make sure you're either running a metro server react native Note: I'm using yarn.
Arslan
  • 240
  • 3
  • 9
0
votes
0 answers

Why does a clean yarn install delete modules from yarn.lock?

In a React Native project: when I delete everything in my node_modules directory, then run yarn v 1.22 against my yarn.lock, modules are deleted from the text of yarn.lock and, consequently, my node_modules install is incomplete. This is…
johnrubythecat
  • 1,003
  • 1
  • 13
  • 31
0
votes
1 answer

ReactJS: Getting an error while starting the server

$ yarn start Failed to compile. Cannot read property 'compilation' of undefined error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with signal…
Adarsh Pawar
  • 682
  • 6
  • 15
-1
votes
0 answers

Getting error "nothing to compile" in VS Code

I import a solidity code in VS Code and I use hardhat (Yarn) but when I want to compile I get a "nothing to compile" error. I cannot deploy the code on Ubuntu. I have used a step by step YouTube video but my project has not been OK. I check some…
-1
votes
1 answer

Error HH801: Plugin @nomicfoundation/hardhat-toolbox requires the following dependencies to be installed:

yarn hardhat yarn run v1.22.19 $ D:\Codeing\Blockchain\hardhat\node_modules\.bin\hardhat Error HH801: Plugin @nomicfoundation/hardhat-toolbox requires the following dependencies to be installed: @ethersproject/providers,…
-1
votes
1 answer

Yarn to install all development packages

I am developing a node.js (Nestjs) project & using Yarn instead of NPM for package management. I have a simple question to ask, what is the command to force yarn to only install devDependencies ? I checked the document here, but can't figure out…
user842225
  • 5,445
  • 15
  • 69
  • 119
-1
votes
1 answer

run into problems with npm install

I just clone my project from github, but when I run npm install, an error occurred. This project runs perfectly on my pc. However, it can't even be initialized on my linux laptop. Any solutions? Here is the error message, npm ERR! code E404 npm ERR!…
AnthonyDev220
  • 669
  • 5
  • 17
-1
votes
1 answer

Why there occurs an error while I tried to install packages using npm

I am working in react js . While installing packages I got the following error as shown in the image. I tried many ways but nothing becomes right. How can I solve this issue?IMAGE OF ERROR
tinker_bell
  • 11
  • 1
  • 3
-3
votes
0 answers

Yarn 1 - updating yarn.lock after manually updating package.json without 'yarn install'

I'm using yarn 1 for some project and Im trying to figure out if there is a was to update yarn.lock file after manually changing package.json, without running 'yarn install'. I wanted to avoid updating node_modules and I couldn't find any command…
1 2 3 4 5
6