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

error on plugin import #291

Open
brollb opened this issue Oct 7, 2021 · 0 comments
Open

error on plugin import #291

brollb opened this issue Oct 7, 2021 · 0 comments

Comments

@brollb
Copy link
Contributor

brollb commented Oct 7, 2021

TypeError: Cannot read property 'forEach' of undefined
    at unique (/home/brian/.nvm/versions/node/v16.4.0/lib/node_modules/webgme-cli/src/utils.js:200:11)
    at /home/brian/.nvm/versions/node/v16.4.0/lib/node_modules/webgme-cli/src/utils.js:222:20
    at Array.map (<anonymous>)
    at /home/brian/.nvm/versions/node/v16.4.0/lib/node_modules/webgme-cli/src/utils.js:219:35
    at Array.forEach (<anonymous>)
    at getWebGMEConfigContent (/home/brian/.nvm/versions/node/v16.4.0/lib/node_modules/webgme-cli/src/utils.js:218:38)
    at Object.updateWebGMEConfig (/home/brian/.nvm/versions/node/v16.4.0/lib/node_modules/webgme-cli/src/utils.js:138:19)
    at /home/brian/.nvm/versions/node/v16.4.0/lib/node_modules/webgme-cli/src/ComponentManager.js:176:15
    at /home/brian/.nvm/versions/node/v16.4.0/lib/node_modules/webgme-cli/src/ComponentManager.js:211:16
    at PluginManager.ComponentManager._getPathFromDependency (/home/brian/.nvm/versions/node/v16.4.0/lib/node_modules/webgme-cli/src/ComponentManager.js:228:12)

This appears to happen when we are importing a component into a project that does not have some component section, such as decorators.

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