Git Product home page Git Product logo

Comments (3)

Jarred-Sumner avatar Jarred-Sumner commented on May 22, 2024

can you provide an easier to reproduce code snippet? as-is, this code won't run

from bun.

JUSTIVE avatar JUSTIVE commented on May 22, 2024

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, but const {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.

JUSTIVE avatar JUSTIVE commented on May 22, 2024

the issue also can be reproduced on 1.1.1.

from bun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.