Comments (4)
I found this way will temporary solve the problem.
Insert await void(0)
between each command.
await text({
...
});
await void(0);
await text({
...
});
from clack.
I found this way will temporary solve the problem.
Insert
await void(0)
between each command.await text({ ... }); await void(0); await text({ ... });
This does not worked out for me 😔
But I was curious, what exactly does await void(0) do and why would that be a solution?
from clack.
Looks like this issue has already been addressed in the latest release of Bun, v1.0.18. You can find more details about the fix in the release notes: Bun v1.0.18 Release Notes.
from clack.
Bun runs it fine, but chokes on the build:
❯ bun build index.ts
1 | s l,erase as d}from"sisteransi";import{stdin as $,stdout as k}from"node:process";import*as f from"node:readline";import
^
error: No matching export in "node:process" for import "stdin"
at /Users/bew/dev/scripts/tui/lss/node_modules/@clack/core/dist/index.mjs:1:55
1 | s d}from"sisteransi";import{stdin as $,stdout as k}from"node:process";import*as f from"node:readline";import _ from"node
^
error: No matching export in "node:process" for import "stdout"
at /Users/bew/dev/scripts/tui/lss/node_modules/@clack/core/dist/index.mjs:1:66
from clack.
Related Issues (20)
- To allow the possibility of adding a JavaScript object as a value in a select value
- Spinner not showing on using silent exec HOT 2
- [Bug] Long select list glitches HOT 1
- [Request] May you give a release to take the feature [clear process listener in spinner](https://github.com/natemoo-re/clack/commit/8a6315eb39e83951676e3e61e32b6acec784f30c)
- [Bug] Keyboard input not working after await in spinner HOT 7
- [Request] p.info HOT 2
- [Bug] Typescript Select option value warning HOT 3
- Release new version HOT 6
- [Request] Setting up Elm projects as well
- [Request] `Select` or `Multi-Select` provide `disable` option in `@clack/prompts`
- [Request] release version need tasks api HOT 3
- [Request] use clack text to develop a cli supporting command history
- Dynamic message
- [Bug] group HOT 3
- [Bug] ERR_TTY_INIT_FAILED on git bash (MINGW64)
- [Bug] MultiSelectOptions cursorAt not working, Select Missing this
- [Request] Pass custom `stdin` to prompts
- [Bug] multiselect only shows the hint on the first item in the options
- [Request] header component or multiselect with multiple groups
- [Request] Add `go` lang version
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 clack.