Skip to content

Removing plugins doesn't remove installed node modules #64

Description

@pinheadmz

1. Start with genesis theme installed

config.js:

  plugins: ['@bpanel/genesis-theme'],

node_modules:

bmenace-theme
bpanel-footer
bpanel-header
bpanel-ui
bpanel-utils
bui
chain-sockets
dashboard
genesis-theme
mempool-widget
peers-widget
recent-blocks
simple-wallet

2. Remove genesis theme:

config.js:

  plugins: [],

node_modules:

bmenace-theme
bpanel-footer
bpanel-header
bpanel-ui
bpanel-utils
bui
chain-sockets
dashboard
genesis-theme
mempool-widget
peers-widget
recent-blocks
simple-wallet

3. Install bmoon theme by itself:

config.js:

  plugins: ['@bpanel/bmoon-theme'],

node_modules:

bmoon-theme
bpanel-ui
bpanel-utils

4. Install publish data now without explicitly adding simple wallet

config.js:

  plugins: ['@bpanel/bmoon-theme', '@bpanel/publish-data'],

node_modules:

bmoon-theme
bpanel-ui
bpanel-utils
publish-data
simple-wallet

...however, this produces a broken simple wallet in the interface, and JS errors in browser console:

warning.js?0c47:10 Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.

5. Install genesis theme again in addition:

config.js:

plugins: ['@bpanel/genesis-theme', '@bpanel/bmoon-theme', '@bpanel/publish-data'],

node_modules:

bmenace-theme
bmoon-theme
bpanel-footer
bpanel-header
bpanel-ui
bpanel-utils
bui
chain-sockets
dashboard
genesis-theme
mempool-widget
peers-widget
publish-data
recent-blocks
simple-wallet

...and now everything is fine again!

screen shot 2018-08-06 at 4 09 41 pm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions