From 8937fd4cf0f372ca3609951aa82c0a69bc84330a Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Tue, 17 Jan 2023 05:41:04 +0400 Subject: [PATCH] More fixes to the docs and a quick tip for linux. --- rendered/docs/quick-start.md | 2 +- rendered/docs/tips-tricks.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rendered/docs/quick-start.md b/rendered/docs/quick-start.md index c1982f8..cdb0f67 100644 --- a/rendered/docs/quick-start.md +++ b/rendered/docs/quick-start.md @@ -96,7 +96,7 @@ This will configure some items, rerun the migrations just in case, and copy any
-On some versions of Linux you may get a weird error Couldn't get a file descriptor referring to the console when the commands/init.js script tries to run Node's execSync. Currently I have no idea why this error happens, as it doesn't happen on any Linux I run. If you have an idea what's causing this, please let me know. If this happens +On some versions of Linux you may get a weird error Couldn't get a file descriptor referring to the console when the commands/init.js script tries to run Node's execSync. Currently I have no idea why this error happens, as it doesn't happen on any Linux I run. If you have an idea what's causing this, please let me know.
diff --git a/rendered/docs/tips-tricks.md b/rendered/docs/tips-tricks.md index 73c3b5d..1b44be2 100644 --- a/rendered/docs/tips-tricks.md +++ b/rendered/docs/tips-tricks.md @@ -32,3 +32,7 @@ npm explore npm/node_modules/@npmcli/run-script -g -- npm_config_global=false np ## Errors with `node-pre-gyp` There's also an issue with installing `node-pre-gyp` where it seems you need to install @mapbox/node-pre-gyp and also `node-pre-gyp`. I have to install both but you might be able to use `module-alias` as described in [this blog post](https://smellycode.com/require-with-aliases/). + +## Linux Console Error on `bando.js init` + +On some versions of Linux you may get a weird error `Couldn't get a file descriptor referring to the console` when the `commands/init.js` script tries to run Node's `execSync`. Currently I have no idea why this error happens, as it doesn't happen on any Linux I run. If you have an idea what's causing this, please let me know.