Zed A. Shaw
82c3ac2aad
|
2 years ago | |
---|---|---|
admin | 2 years ago | |
api | 2 years ago | |
client | 2 years ago | |
commands | 2 years ago | |
emails | 2 years ago | |
lib | 2 years ago | |
migrations | 2 years ago | |
queues | 2 years ago | |
rendered | 2 years ago | |
scripts | 2 years ago | |
socket | 2 years ago | |
static | 2 years ago | |
tests | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
bando.js | 2 years ago | |
bando.ps1 | 2 years ago | |
build.json | 2 years ago | |
build.prod.json | 2 years ago | |
knexfile.cjs | 2 years ago | |
nodemon.json | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago |
README.md
bandolier-template
This is the template project that's checked out and configured when you run the bando-up command from ljsthw-bandolier. This is where the code really lives.
Install Error with Playwright
In theory you shouldn't need playwright to download browsers, so just tell it not to.
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm install
This isn't as needed on Linux as OSX, because the Playwright project forces people to upgrade their OS by claiming all versions of their project can't support any slightly older Safari versions. You also just don't need Safari, so skip the download.
If this doesn't work then this might https://github.com/nodejs/node-gyp/blob/main/docs/Updating-npm-bundled-node-gyp.md which says that npm updates don't update the node-gyp it uses internally. Depending on your version you will have to run different commands, but this works for 7,8, and 9 versions:
npm explore npm/node_modules/@npmcli/run-script -g -- npm_config_global=false npm install node-gyp@latest
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.