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

TypeError [ERR_INVALID_ARG_TYPE]: nx run workspace:version --version=minor #230

Closed
mtrefzer opened this issue Jul 5, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@mtrefzer
Copy link

mtrefzer commented Jul 5, 2021

After nx migrate latest (12.5.5) and nx g @nrwl/workspace:convert-to-nx-project --all I'm running into the following error using @jscutlery/semver@2.3.1:

nx run workspace:version --version=minor

results in

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at validateString (internal/validators.js:124:11)
    at Object.resolve (path.js:1039:7)
    at node_modules/@jscutlery/semver/src/builders/version/utils/workspace.js:36:165
    at Array.map (<anonymous>)
    at MapSubscriber.project (node_modules/@jscutlery/semver/src/builders/version/utils/workspace.js:36:141)
    at MapSubscriber._next (node_modules/@jscutlery/semver/node_modules/rxjs/internal/operators/map.js:49:35)
    at MapSubscriber.Subscriber.next (node_modules/@jscutlery/semver/node_modules/rxjs/internal/Subscriber.js:66:18)
    at CatchSubscriber.SimpleOuterSubscriber.notifyNext (node_modules/@jscutlery/semver/node_modules/rxjs/internal/innerSubscribe.js:69:26)
    at SimpleInnerSubscriber._next (node_modules/@jscutlery/semver/node_modules/rxjs/internal/innerSubscribe.js:27:21)
    at SimpleInnerSubscriber.Subscriber.next (node_modules/@jscutlery/semver/node_modules/rxjs/internal/Subscriber.js:66:18)

@edbzn edbzn added the bug Something isn't working label Jul 6, 2021
@edbzn
Copy link
Member

edbzn commented Jul 7, 2021

Hello, this was fixed in @jscutlery/semver@2.4.0, thanks for reporting!

@edbzn edbzn closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants