[QUESTION] V6 Build project with npm instead of yarn
See original GitHub issueIn the tsed cli I chose to build my project using npm.
In package.json my build script is yarn tsc
, is that a bug or is it intentional?
Is there any way to use npm in the build script instead? npm tsc
seems to be an invalid command.
I’m deploying my server to a heroku app which uses npm, so it’s important to only use npm and not mix yarn (yarn: not found
).
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
NPM vs. Yarn: Which Package Manager Should You Choose?
Both Yarn and npm are useful tools for ensuring your project's dependencies are under control. While npm was introduced first, Yarn has quickly ......
Read more >Is there any harm in using NPM and Yarn in the same project?
Although a few commenters here say its ok to mix both yarn and npm on the same project, after using yarn and npm...
Read more >Yarn vs npm: Everything You Need to Know - SitePoint
Modern web development is virtually impossible without a package manager. Our Yarn vs npm comparison will help you decide which to use.
Read more >Inconsistency between node versions of npm and yarn #812
Using nvm or having another version of node rather than the shipped version with yarn installation. Determining the version of Node which ...
Read more >scripts - npm Docs
The "scripts" property of your package.json file supports a number of built-in scripts and their preset life cycle events as well as arbitrary...
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
I released a new version of the CLI which fix this issue 😃
Solved with CLI v2.12.0