question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUESTION] V6 Build project with npm instead of yarn

See original GitHub issue

In 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:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Romakitacommented, Mar 20, 2021

I released a new version of the CLI which fix this issue 😃

0reactions
Romakitacommented, Mar 20, 2021

Solved with CLI v2.12.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found