Questions tagged [yarn-lock.json]
90 questions
0
votes
1 answer
Error when trying to install react-router-dom dependency npm on Visual Studio
I am getting an error trying to install the npm onto my create-react - app application. I have tried deleting and reinstalling my node_modules folder as well as installing it with admin permissions and I am still receiving the same error
**Here is…

Yama
- 1
0
votes
1 answer
Error while I create a new Npm project it says error while installing dependencies
enter image description here
While creating a npm project I am getting this error.
But when I install yarn.
I don't know how to rerun the program.
Or is it because I installation problem.
Is using the latest version of node an issue.
Can Someone…
0
votes
1 answer
yarn install wont run on my project keeps telling me that it couldn't find the binary react-script start
my package.json
the error i get
all my scripts dont work it keeps throwing the same error everytime.
i have cloned the repo in a different location and reinstalled the dependencies but still yarn start wont run.
what could be the problem?
0
votes
0 answers
Module not found: Error: Can't resolve '../internals/a-callable' in 'C:\Users\RAJESH\Desktop\webapp\app\node_modules\core-js-pure\internals'
Module not found: Error: Can't resolve '../internals/a-callable'
node, npm and yarn has been latest version installed and i am getting this type of error, help me guys.
0
votes
0 answers
can't up docker-compose on vds ubuntu
My Dockerfile:
FROM node:14-alpine
RUN mkdir /home/app
COPY . /home/app
WORKDIR /home/app
RUN yarn && yarn build
CMD ["yarn", "start:prod"]
My docker-compose.yml:
version: '3.7'
services:
db:
image: postgres:latest
restart: always
…

Данил Барабанов
- 1
- 1
0
votes
0 answers
I can't begin foundation new in my git. I anyway have errors
I all time use foundation zurb and I don't want use something else. But suddenly I found that my foundation is refusing to work. What I understood it is that it updated and now it works in a different way. When I installed everything I needed I saw…

Alex
- 1
- 1
0
votes
1 answer
"npx create-react-app my-app" when i run this command by default it support NPM Package Manger?
"npx create-react-app my-app" This command create a react application with the NPM package manager by default.
AND
"npx create-react-app my-app --use-yarn" This command does also the same as the above command.
What to do if we want yarn as default…

Pankaj Shah
- 21
- 4
0
votes
1 answer
Why there are differences in the order of properties and double quotation marks in the yarn.lock file?
I installed node_modules using yarn on a cloned project.
The original lockfile has double quotation marks and the newly created lockfile does not. Also, the order of integirity, version, etc. have all changed.
Is there any way to configure yarn so…

K K
- 73
- 6
0
votes
0 answers
Different node version installing different peer dependencies?
In our current repo, we've committed yarn's cache to version control. We do this to decouple our CI from npm. I recently installed our repo dependencies with a different version of node and this caused a diff for some of our packages.
Instead of: …

Xen_mar
- 8,330
- 11
- 51
- 74
0
votes
0 answers
How can I resolve "could not use PowerShell to find Visual Studio 2017 or newer "?
I have been trying to install a package from GitHub for quite some time now and have resolved many node-gyp errors while trying. However, there is still one error that I haven't been able to resolve and that is:
could not use PowerShell to find…

najmieh sadat safarabadi
- 127
- 1
- 2
- 13
0
votes
0 answers
Migration from npm to yarn, process is not defined
I have recently changed a project that uses webpack4 that I had on npm to yarn but after removing the package-lock.json, deleting the node_modules and installing with yarn I now get this on the browser console after compiling with webpack:
Uncaught…

Álvaro
- 2,255
- 1
- 22
- 48
0
votes
0 answers
How to install React-bootstrap and markdown with Yarn?
I created the app wiyh npx-create-app, yarn start workes well. But when I try to install React-bootstrap and marked with Yarn:
yarn add react-bootstrap bootstrap
yarn add marked
The modules doesn't appeared in the package.json file. Doesn't…

bob17
- 115
- 2
- 5
0
votes
1 answer
How to symlink a package in workspace without updating yarn.lock?
package.json -
"workspaces": [
"packages/*",
"samples/*"
],
"packageManager": "yarn@3.1.0"
I want to install and symlink the dependencies in samples but I don't want the yarn install to update the yarn.lock file.
Is there a setting in…

coder-guy
- 1
- 2
0
votes
1 answer
How can I upgrade ansi-html from 0.0.7 to 0.0.8?
I have a maven application which uses ReactJS for the front-end and it is using ansi-html:0.0.7 currently. This led to vulnerability alert by GitHub dependabot and it asks me to upgrade to version @^0.0.8.
Usually when I need to upgrade something, I…

C Puneeth
- 61
- 10
0
votes
1 answer
Yarn Installation not brings Vue files
As a newbie, i am trying to properly install yarn via VsCode terminal, and having an issue;
I use
yarn add -g @vue/cli
command to install, after installation i am still not able to use vue ui command(throws: the term ‘vue’ is not recognized as the…

ww6jdr
- 7
- 1