Can the build NOT use yarn?
See original GitHub issueFeature Description:
At the moment, you are documenting the library prerequisite to be [Node.js >= v10.20.0](https://nodejs.org/), which includes npm.
Unfortunately it appears that you also require the user-land to also have yarn
installed. Which isn’t the case for us (at Ledger) as we moved to pnpm
now.
During the prebuild phase, we’re blocked by
ledger-live-desktop:build: npm ERR! 'yarn' is not recognized as an internal or external command,
Would it be possible to make the build not using yarn but just npm run {command}
?
Thanks, gre
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Can't use yarn build command · Issue #109 - GitHub
Hello @ojkelly I recently migrate successfully my project from Yarn 1 to Yarn 3 After a yarn install which worked like a charm,...
Read more >What does " yarn build " command do? Are " npm build " and ...
yarn build and npm build are not existing commands by default. I think you mean yarn run build or npm run build ....
Read more >yarn install
yarn install is used to install all dependencies for a project. This is most commonly used when you have just checked out code...
Read more >Build has stopped since I changed the build command to yarn ...
Hi, I changed the build command from npm to yarn - yarn install && yarn run build. However, I am getting error when...
Read more >Strange build error with yarn add - beginner - ReScript Forum
Clone a basic template repo I use for starting a new rescript project: ... yarn build yarn run v1.22.19 $ rescript /bin/sh: rescript:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It looks like
prepare
may be called when packages consuming this module are packaged?https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts
If you use electron rebuild, don’t include usb in the rebuild as it’s no longer required since node-usb moved to using NAPI