Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resolve 'node-extend' #764

Open
raphael10-collab opened this issue May 15, 2022 · 0 comments
Open

Can't resolve 'node-extend' #764

raphael10-collab opened this issue May 15, 2022 · 0 comments

Comments

@raphael10-collab
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant