Comments (3)
can you provide an easier to reproduce code snippet? as-is, this code won't run
from bun.
sorry for the incomplete information.
I found the exact same graphql endpoint which generates the same status what I've got.
endpoint = https://graphql.anilist.co/graphql
- the command
(npx get-graphql-schema {endpoint} | grep -v "@connection" > ./src/schema.graphql
perfectly works on my native shell(zsh), with exit code 0. - the same command in bun shell, shows the same issue as the topic.
- the minimum reproduction command is
npx get-graphql-schema {endpoint} > ./meh.txt
. without writing to file works perfectly fine. but when I try to get output text from the command like$`npx get-grahpql-schema {endpoint}`.text()
, also shows the same behavior as described on the topic. const {stdout} = $`npx get-grahpql-schema {endpoint}`; Bun.write('./schema.graphql', stdout.toString())
worked without an issue, butconst {stdout} = $`npx get-grahpql-schema {private endpoint}.quiet()`; Bun.write('./schema.graphql', stdout.toString())
in order to suppress printed stdout from terminal, also doesn't work as said on the topic.
from bun.
the issue also can be reproduced on 1.1.1.
from bun.
Related Issues (20)
- fs.writeFile writes garbage to file (behavior difference from node) HOT 4
- `bun add` crashes Bun when `"workspaces"` contains a non-existent glob pattern
- Bun `writeFileSync` on fd truncates file even when it shouldn't
- Bun cannot handle symbolic links, not even the ones created with `bun link` HOT 5
- `fs.close` incorrectly handles its arguments HOT 1
- Allow asserting uncaught errors in the Bun's test runner HOT 4
- Bun.build: Internal error: missing asset file HOT 2
- "Cannot destructure argument" error is hard to understand HOT 1
- Websocket enhancement
- Error while trying to setup Bun for development/contributing HOT 1
- "bun x help" has a security hole
- bun update not working on bun 1.1.3, it was working on older version HOT 3
- weird "Segmentation fault" with FFI
- "uh-oh: reached unreachable code" when stressing the Bun.file using Bun HTTP server
- program crashes with "SSL: SSL fetching" when trying to fetch over HTTPS proxy
- I can't install Firebase HOT 1
- Compile error while using pino-pretty HOT 1
- crypto RSA encryption and decryption ignore `oaepHash` value
- Resizable ArrayBuffer reaches memory limit early HOT 1
- Debugging in VS Code for Windows not works
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 bun.