Update to support @vscode/sqlite3 which has weird problems due to problems with vscode forking sqlite3 from node-sqlite3.

main
Zed A. Shaw 1 year ago
parent d2d7c9c9c0
commit a9f23581de
  1. 18
      README.md
  2. 863
      package-lock.json
  3. 5
      package.json

@ -1,3 +1,19 @@
# 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.
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
```

863
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -70,9 +70,10 @@
"dependencies": {
"@cloudfour/simple-svg-placeholder": "^1.0.2",
"@jamcart/7ty": "^0.1.6",
"@mapbox/node-pre-gyp": "^1.0.10",
"@paypal/checkout-server-sdk": "^1.0.3",
"@rollup/plugin-json": "^4.1.0",
"@vscode/sqlite3": "^5.0.7",
"@vscode/sqlite3": "^5.1.2-vscode",
"ava": "^4.3.1",
"axios": "^0.21.4",
"bcryptjs": "^2.4.3",
@ -120,7 +121,7 @@
"slugify": "^1.6.2",
"snarkdown": "^2.0.0",
"socket.io": "^4.5.3",
"sqlite3": "^5.0.2",
"sqlite3": "^5.1.2",
"stripe": "^10.11.0",
"svelte-spa-router": "^3.1.0",
"svgson": "^5.2.1",

Loading…
Cancel
Save