Comments (4)
This is a bug. Fx should check if file exists first.
from fx.
On macos it works:
![image](https://private-user-images.githubusercontent.com/141232/330020043-1ec788cb-4e1e-4afe-ac74-6028f5d88caf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcxODMzODQsIm5iZiI6MTcxNzE4MzA4NCwicGF0aCI6Ii8xNDEyMzIvMzMwMDIwMDQzLTFlYzc4OGNiLTRlMWUtNGFmZS1hYzc0LTYwMjhmNWQ4OGNhZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUzMVQxOTE4MDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kOTExODQzMGQyMTU0Y2YwZmI1OWRlYzFlZWVhM2NkZDJiY2IzOWI4ZGFiMWZjNTc3MmRmMDU3NmRhYWZjNWE5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.F3gwSwBkeA7KyHAONz1AjoFJYvTpFvTRNMkexNhYMck)
from fx.
Got the error:
}'
at Module.statSync (node:fs:1659:25)
at isFile (/private/var/folders/2j/0x_1mj9j4tz5hzqghjckptj80000gn/T/fx-34.0.0.js:275:19)
at main (/private/var/folders/2j/0x_1mj9j4tz5hzqghjckptj80000gn/T/fx-34.0.0.js:35:7) {
errno: -63,
code: 'ENAMETOOLONG',
syscall: 'stat',
path: 'x => {\n' +
' const thisVariableNameEatsUpPreciousCharacters = {\n' +
" hereAreMoreCharacters: '💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀dsasdfaskjdfhaskldjfhgaslkdjfhasdlkfjhasdlkfjhasdlfkjhasdflkjasdhflkjasdhflacnskdcfhalsdkfjhasldkfjhcasdlckfajhdsflbkasjdhfclnaskdjhfalskdfgjhsdflkfjhasdlfkahjsdflkasjhdflkafdggrhdfggsdfghsdghadfgsdfgsdfglhadshfglaksjdfhalskjdfhasldkfjhaldfkjhasdlfkjhasdflkjhadflkhasdlkfjhdfkhjasdlfkjhasdflkhaflkcansdfhvlkvajhfgvbalergtcqwaleifhavslbkfchasdblkfhldsfhasdfasfasdfdfdddddddadlakfjhas;dlkfa💀'\n" +
from fx.
Related Issues (20)
- How do I set a theme? HOT 1
- can not copy by yy/yp/yk in ssh HOT 2
- Support streams of JSON objects HOT 4
- Node.js or Deno required to use reducers? HOT 2
- [feature] Add ability to output selection when exiting HOT 6
- feat: toggle unescape strings HOT 2
- Bring back gradiant themes? HOT 1
- Panic error when invoked directly on Windows HOT 2
- Display http headers HOT 8
- Filter line-delimited or streaming JSON without slurping HOT 2
- About 32.0.0 release HOT 4
- Error when selecting field in command line on linux HOT 1
- Invalid content in clipboard after yanking key in wrapped mode
- No autocomplete in `zsh` when JSON doesn't end with a new line
- Any interest in implementing .[] in interactive mode? HOT 1
- Start in collapse mode
- conda-forge package
- Add support for multi-document YAML HOT 1
- Add `--slurp` and `--raw` to interactive mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fx.