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.

Workflow fails when adding ngneat/tailwind to multiple projects.

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

  • ng add @ngneat/tailwind --project application-1
    • It successfully adds tailwind to application-1
  • ng add @ngneat/tailwind --project application-2
    • It fails to add tailwind to application-2 because webpack.config.js and tailwind.config.js already exists.
  • It’s the same for NX workspaces too.

Expected behavior

  • ng add @ngneat/tailwind --project application-1
    • It successfully adds tailwind to application-1
  • ng add @ngneat/tailwind --project application-2
    • It should add tailwind to application-2 and ignore the already existing webpack.config.js and tailwind.config.js.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
nartccommented, Jan 29, 2021

Thanks for reporting!

0reactions
nartccommented, Jan 29, 2021

@beeman yup most likelt a try catch there would work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · ngneat/tailwind - GitHub
A schematic that adds Tailwind CSS to Angular applications - Issues · ngneat/tailwind.
Read more >
Setup TailwindCSS in Angular the easy way
Installing TailwindCSS (Angular version < 11.2.0) · First step is to run the following schematic in your Angular project: ng add @ngneat/tailwind.
Read more >
Using with Preprocessors - Tailwind CSS
A guide to using Tailwind with common CSS preprocessors like Sass, Less, and Stylus.
Read more >
How to add Tailwind CSS to your NX Angular Workspace
Tailwind CSS is a superb utility first CSS framework that has taken the world of component first development by storm.
Read more >
Add Tailwind CSS To Your Angular Project - Oodles ERP
run the below command in your Angular project directory and press enter. ng add @ngneat/tailwind.
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