ssbc/ssb-server

Can't resolve 'node-extend'

raphael10-collab opened this issue · 0 comments

Just started to play around with ssb and ssb-server within electron-react app

import Server from 'ssb-server'
import config from 'ssb-config'
import fs from 'fs'

// add plugins
Server
  .use(require('ssb-master'))

I get this warning :

(base) raphy@pc:~/SSBplaying$ yarn start
yarn run v1.22.18
$ yarn run build && ELECTRON_DISABLE_SECURITY_WARNINGS=true electron ./dist/main/main.js
$ npx webpack --config ./webpack.config.js
asset main.js 1.96 MiB [emitted] (name: main)
modules by path ./node_modules/ 1.7 MiB 385 modules
+ 16 modules

WARNING in ./node_modules/unified/index.js 25:13-35
Module not found: Error: Can't resolve 'node-extend' in '/home/raphy/SSBplaying/node_modules/unified'
 @ ./node_modules/remark/index.js 18:14-32
 @ ./node_modules/mdmanifest/index.js 2:13-30
 @ ./node_modules/ssb-db/index.js 7:17-38
 @ ./node_modules/ssb-server/index.js 3:10-27
 @ ./src/main/main.ts 37:37-58