Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdin secrets #328

Closed
GregBrimble opened this issue Jan 27, 2022 · 2 comments
Closed

stdin secrets #328

GregBrimble opened this issue Jan 27, 2022 · 2 comments

Comments

@GregBrimble
Copy link
Contributor

cat secret.txt | npx wrangler secret put MY_SECRET_NAME should store the piped value.

  ERROR  Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
        Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported

 - Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported
 - App.handleSetRawMode (node_modules/wrangler/wrangler-dist/cli.js:76028:21)
 -  (node_modules/wrangler/wrangler-dist/cli.js:76665:9)
 - invokePassiveEffectCreate (node_modules/wrangler/wrangler-dist/cli.js:24776:28)
 - Object.invokeGuardedCallbackProd (node_modules/wrangler/wrangler-dist/cli.js:22171:19)
 - invokeGuardedCallback (node_modules/wrangler/wrangler-dist/cli.js:22258:39)
 - flushPassiveEffectsImpl (node_modules/wrangler/wrangler-dist/cli.js:24838:17)
 - unstable_runWithPriority (node_modules/wrangler/wrangler-dist/cli.js:8735:20)
 - runWithPriority (node_modules/wrangler/wrangler-dist/cli.js:15515:18)
 - flushPassiveEffects (node_modules/wrangler/wrangler-dist/cli.js:24742:22)
 -  (node_modules/wrangler/wrangler-dist/cli.js:24661:19)
@GregBrimble
Copy link
Contributor Author

Same error when you run wrangler dev with concurrently. Haven't completely tested it, but I think this is a regression. I'm guessing any stdin will make it blow up.

@petebacondarwin
Copy link
Contributor

petebacondarwin commented Jan 28, 2022

Duplicate of #170

@petebacondarwin petebacondarwin marked this as a duplicate of #170 Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants