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

mergeVersions doesn't work with 'next' flag #472

Open
ghost opened this issue Apr 1, 2021 · 0 comments
Open

mergeVersions doesn't work with 'next' flag #472

ghost opened this issue Apr 1, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 1, 2021

  1. have a workspace where lineup is in two repos: one should have 'next', the other should have f.e. '4.1.1' as version
  2. run 'yo phovea:update'
  3. you will get the following error:
    TypeError: Cannot read property 'version' of null
    at /home/circleci/phovea/node_modules/generator-phovea/utils/NpmUtils.js:80:144
    at Array.map ()
    at Function.findMaxVersion (/home/circleci/phovea/node_modules/generator-phovea/utils/NpmUtils.js:80:90)
    at Function.mergeVersions (/home/circleci/phovea/node_modules/generator-phovea/utils/NpmUtils.js:38:34)
    at /home/circleci/phovea/node_modules/generator-phovea/generators/workspace/index.js:242:36
    at Array.forEach ()
    at Generator._generateWebDependencies (/home/circleci/phovea/node_modules/generator-phovea/generators/workspace/index.js:241:31)
    at Generator.writing (/home/circleci/phovea/node_modules/generator-phovea/generators/workspace/index.js:538:85)
    at Object. (/home/circleci/phovea/node_modules/yeoman-generator/lib/index.js:991:25)
    at /home/circleci/phovea/node_modules/run-async/index.js:49:25
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

0 participants