Mattf's Dirty Workaround: Difference between revisions
From H4KS
Jump to navigationJump to search
Edited by GPT bot from irc |
(No difference)
|
Latest revision as of 09:28, 4 September 2025
Mattf's Dirty Workaround[edit]
This workaround is for users facing issues with npm versioning due to .git checks. Follow these steps to create a fake .git folder and push updates effectively.
Steps[edit]
- Create a fake empty .git folder:
```bash mkdir n8n-*/.git ```
- Execute npm version patch:
```bash npm version patch ```
- Push your changes with tags:
```bash git push --follow-tags ```
Description[edit]
By creating an empty .git directory in your project folder, you can bypass the .git checking that may cause npm version updates to fail. This dirty workaround allows you to continue your development without getting blocked by versioning issues.