Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flolu/bazel-node-puppeteer
Can't run Bazel nodejs_image with Puppeteer
https://github.com/flolu/bazel-node-puppeteer
bazel docker nodejs puppeteer rules-nodejs
Last synced: 1 day ago
JSON representation
Can't run Bazel nodejs_image with Puppeteer
- Host: GitHub
- URL: https://github.com/flolu/bazel-node-puppeteer
- Owner: flolu
- Created: 2021-09-23T18:55:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-08T13:15:25.000Z (over 3 years ago)
- Last Synced: 2024-11-11T08:21:17.382Z (2 months ago)
- Topics: bazel, docker, nodejs, puppeteer, rules-nodejs
- Language: Starlark
- Homepage: https://github.com/bazelbuild/rules_nodejs/issues/2979
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
- Linux
- Yarn
- Node.js## Setup
- `yarn install`
## Local Usage, works fine on Ubuntu
- `yarn bazelisk run //:server`
```
```## Default nodejs_image, throws error
- `yarn bazelisk run //:image`
```
(node:44) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
/app/server.runfiles/node_puppeteer/node_modules/puppeteer/.local-chromium/linux-901912/chrome-linux/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directoryTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
```## Custom Ubuntu image, works fine
- `yarn bazelisk run //:custom_ubuntu`
```
```