Add missing import of process (#108)

* Add missing import of process

* Add missing (bare-)process

* Add missing (bare-)process

* Add missing (bare-)process
This commit is contained in:
Thomas Verstreken
2024-06-04 10:13:08 +02:00
committed by GitHub
parent f8936b1cdd
commit 03289a500d
4 changed files with 10 additions and 5 deletions

View File

@@ -165,7 +165,7 @@ In a new terminal, create the `bee-reader-app` project with these commands:
mkdir bee-reader-app
cd bee-reader-app
pear init -y -t terminal
npm install corestore hyperswarm hyperdrive debounceify b4a
npm install corestore hyperswarm hyperdrive debounceify b4a bare-process
```
Adjust the `bee-reader-app/index.js` file to:
@@ -176,6 +176,7 @@ import Corestore from 'corestore'
import Hyperbee from 'hyperbee'
import debounce from 'debounceify'
import b4a from 'b4a'
import process from 'bare-process'
// create a Corestore instance
const store = new Corestore(Pear.config.storage)