Command failed: remix routes --json | tee in Windows Powershell
See original GitHub issueDescribe the bug
Followed the instructions up to this line yarn routes-gen -d @routes-gen/remix
and received the following error:
I believe this occurs because on Windows it defaults to use command prompt instead of Powershell, where the command would have worked.
Your Example Website or App
n/a
Steps to Reproduce the Bug or Issue
- Open existing remix repo on VSCode Windows
yarn add routes-gen @routes-gen/remix
yarn routes-gen -d @routes-gen/remix
Expected behavior
It will parse and export the routes, based on the driver that you’ve provided.
Screenshots or Videos
No response
Platform
- OS: Windows 10 Powershell
- IDE: VSCode
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Right usage of 2>&1 | tee or | tee with powershell
When I use command | tee output.txt somehow it generates no output file at all but it works as usual in the console....
Read more >PowerShell and Tee - stderr - Super User
My-Command 2>&1 | Tee-Object 'myfile.log' . See Get-Help about_Redirection . You should be trapping errors, not relying on Ctrl + C . See ......
Read more >Untitled
Acgenral.dll windows 8, Is isis in america, Psani me mne, Walter muls, ... Old police lights, Powershell return code of last command, Deep...
Read more >Aidan Finn, IT Pro
In this article, I want to explain why a typical “Azure migration” project is doomed to fail to deliver what the business ultimately...
Read more >Untitled
Richard debbie wilpon, Przypominacz na windows, Stavky na istotu, Fairy tail awesome ... Foppapedretti appendiabiti albero, Black veil brides haters tee, ...
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 FreeTop 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
Top GitHub Comments
@xHomu This was actually affecting another package as well: https://github.com/sandulat/remix-docs-gen
It’s now fixed there as well. Thanks once again for pointing this one out!
Yey it works! Thanks for kicking ass, @sandulat !