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

plugins.install: Cannot set property 'module' of undefined #677

Closed
xloem opened this issue Jun 27, 2019 · 3 comments
Closed

plugins.install: Cannot set property 'module' of undefined #677

xloem opened this issue Jun 27, 2019 · 3 comments
Labels

Comments

@xloem
Copy link
Contributor

xloem commented Jun 27, 2019

$ node bin.js plugins.install ssb-about

/shared/src/ssb-server/node_modules/muxrpcli/index.js:125
      throw err
      ^
TypeError: Cannot set property 'module' of undefined
    at Object.install (/shared/src/ssb-server/node_modules/ssb-plugins/index.js:117:23)
    at Object.hooked (/shared/src/ssb-server/node_modules/hoox/index.js:10:15)
    at Object.localCall (/shared/src/ssb-server/node_modules/muxrpc/local-api.js:31:29)
    at Object.<anonymous> (/shared/src/ssb-server/node_modules/muxrpc/local-api.js:37:22)
    at PacketStreamSubstream.stream.read (/shared/src/ssb-server/node_modules/muxrpc/stream.js:69:23)
    at PacketStream._onstream (/shared/src/ssb-server/node_modules/packet-stream/index.js:228:11)
    at PacketStream.write (/shared/src/ssb-server/node_modules/packet-stream/index.js:135:41)
    at /shared/src/ssb-server/node_modules/muxrpc/pull-weird.js:56:15
    at /shared/src/ssb-server/node_modules/pull-stream/sinks/drain.js:24:37
    at /shared/src/ssb-server/node_modules/pull-goodbye/node_modules/pull-stream/throughs/filter.js:17:11

It looks like an interface has been changed on one end but not the other somewhere within the source. Maybe package.json is not up-to-date?

@sbillig
Copy link

sbillig commented Jul 12, 2019

This works fine in v14.1.12, but is broken in v15+. Presumably broken by ssb-plugins that landed in v15.

@christianbundy
Copy link
Contributor

See #675 for workarounds.

@stale
Copy link

stale bot commented Dec 31, 2019

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@stale stale bot added the stale label Dec 31, 2019
@stale stale bot closed this as completed Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@sbillig @xloem @christianbundy and others