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

doesn't work on node 11.6 #15

Closed
huineng opened this issue Jan 11, 2019 · 1 comment
Closed

doesn't work on node 11.6 #15

huineng opened this issue Jan 11, 2019 · 1 comment

Comments

@huineng
Copy link

huineng commented Jan 11, 2019

trying to run a command getting this

syncpack list-mismatches

(node:74583) UnhandledPromiseRejectionWarning: TypeError: Expected `cwd` to be of type `string` but received type `undefined`
    at module.exports.sync (/usr/local/lib/node_modules/syncpack/node_modules/dir-glob/index.js:56:9)
    at globDirs (/usr/local/lib/node_modules/syncpack/node_modules/globby/index.js:58:9)
    at getPattern (/usr/local/lib/node_modules/syncpack/node_modules/globby/index.js:61:64)
    at globTasks.reduce (/usr/local/lib/node_modules/syncpack/node_modules/globby/index.js:107:19)
    at Array.reduce (<anonymous>)
    at Function.module.exports.sync (/usr/local/lib/node_modules/syncpack/node_modules/globby/index.js:106:26)
    at Object.exports.getPackages (/usr/local/lib/node_modules/syncpack/dist/lib/get-packages.js:19:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/syncpack/dist/list-mismatches.js:56:31)
    at step (/usr/local/lib/node_modules/syncpack/dist/list-mismatches.js:32:23)
    at Object.next (/usr/local/lib/node_modules/syncpack/dist/list-mismatches.js:13:53)
@JamieMason
Copy link
Owner

Thanks @huineng.
There was a regression in the globby dependency and I will put out a release soon.

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

No branches or pull requests

2 participants