Skip to main content

All Questions

Tagged with
-1 votes
0 answers
31 views

Yarn does not keep packages installed

I have a problem with Yarn, it does not seem to keep Angular packages. $ ng version Angular CLI: 17.3.8 Node: 20.15.0 Package Manager: yarn 1.22.22 OS: win32 x64 Angular: 17.3.11 ... animations, ...
serge's user avatar
  • 14.8k
0 votes
0 answers
23 views

Yarn rebuilds all packages when running the add command

I am having the following problem with Yarn Whenever I run the yarn add or yarn remove command all previously installed packages are rebuilt I have tried with other versions of Yarn but the problem ...
Huy Tran's user avatar
0 votes
1 answer
49 views

NPM is choosing incorrect Node.js version for FE solution (on specific pc)

Locally I'm using nvm to manage Node.JS version; current node version is 18.19.0; I don't have ver. 12 installed. Before installing nvm - I have removed Node from computer, now I can't see it in "...
user3190541's user avatar
0 votes
1 answer
161 views

Windows Error: 'This app can't run on your PC' When Trying to Run a Maven-Built Project

I'm developing a web application using Maven and Angular, and I'm trying to run it on a Windows machine. However, when I attempt to start the application, I encounter the following error message: This ...
Hamza Boukbir's user avatar
0 votes
0 answers
69 views

Workaround to build and install SAP Commerce, Composable Storefront >5.0 on Windows - '..' is not recognized as an internal or external command

During the local build and installation of "SAP Composable Storefront" on my Windows computer, following the video of Mateusz Ostafil (Youtube Link How to build and install SAP Commerce, ...
Santiago Carretero's user avatar
0 votes
0 answers
39 views

Trouble running serverless React app on Windows 11

Environment: Windows 11, WSL2, VSCode App: https://mui.com/store/items/berry-react-material-admin-free/ The app runs fine when using npm/yarn start, however, I'm attempting to run it serverless on my ...
Stephen sloper's user avatar
0 votes
2 answers
393 views

Yarn: Run two packages concurrently in Windows

I need to run two yarn packages in Windows Command, which contain two react package modules. This works succesfully in Mac Ubuntu. yarn dev -p "\"+(app-one|app-two)\"" However, it ...
mattsmith5's user avatar
  • 1,017
-1 votes
1 answer
526 views

Installing Yarn on Windows 10 : Error: EPERM: operation not permitted, mkdir 'C:\Users\aymer\AppData\Roaming\npm\node_modules\yarn'

On Windows 10, running: npm install --global yarn creates npm ERR! code EPERM npm ERR! syscall mkdir npm ERR! path C:\Users\aymer\AppData\Roaming\npm\node_modules\yarn npm ERR! errno -4048 npm ERR! ...
ailauli69's user avatar
  • 636
0 votes
1 answer
17 views

Can't pass options to "DEL" from package.json script

Windows 11, Yarn 3.2.4 My package.json has this "scripts": { "predist": "del /Q \"WWW\\*\"", Trying to run it gives this: PS C:\MyProject> yarn ...
Roddy's user avatar
  • 67.5k
1 vote
0 answers
404 views

Git bash reports an error when using the yarn command to execute recursively (Win10)

I'm using git bash develop my project on windows, but an error occured when I use yarn recursive commands. $ yarn build yarn run v1.22.10 $ yarn lint && rm -rf dist/test && yarn build:...
Zilong Yao's user avatar
3 votes
3 answers
12k views

Unable to install Yarn on Windows

I have Windows 10: $ node -v v16.14.0 $ npm -v 8.3.1 I run in terminal $ npm install yarn -g changed 1 package, and audited 2 packages in 666ms found 0 vulnerabilities but Yarn is not installed $ ...
jesetera's user avatar
  • 179
2 votes
1 answer
2k views

Invalid casing in Windows drive letter with Yarn and NextJS

I setup a new project using Yarn and NextJS on my Windows machine today. Upon start-up, I get an error that the casing is "invalid" for my project directory. Specifically, I am seeing the ...
Martin Devillers's user avatar
0 votes
1 answer
687 views

How to start a yarn script with pm2 on Windows?

I'm in a project using yarn and want to start one of the scripts in the package.json with pm2 using this command: pm2 start "yarn start" It results in: [PM2] Applying action ...
leonheess's user avatar
  • 19.8k
0 votes
2 answers
1k views

Yarn throws an error while trying to build electron app

When I try to create an electron app via yarn create electron-app "my-app", it throws an error saying 'C:\Users\Lincoln' is not recognized as an internal or external command, operable ...
Lincoln Muller's user avatar
0 votes
0 answers
697 views

Yarn gives error when creating a next.js application

I get this error because I have space present in my system username. How do I run this command successfully? the error: 'C:\Users\Yatharth' is not recognized as an internal or external command, ...
Yatharth Singh's user avatar

15 30 50 per page
1
2 3 4 5