mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 22:44:21 +01:00
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:
committed by
GitHub
parent
f8936b1cdd
commit
03289a500d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user