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

The "path" argument must be of type string. Received type undefined #261

Closed
manuelmazzuola opened this issue Jan 9, 2019 · 1 comment
Closed

Comments

@manuelmazzuola
Copy link

The following node_modules/postcss-cli/bin/postcss --include-dotfiles -o ./build/styles/marketplace-blue.css ./app/styles/marketplace.css throws

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined                   
    at assertPath (path.js:39:11)
    at Object.join (path.js:1152:7)
    at getPath (/home/originof/src/marketplace/node_modules/dir-glob/index.js:6:41)                                     
    at Promise.all.concat.map.x (/home/originof/src/marketplace/node_modules/dir-glob/index.js:39:60)                   
    at Array.map (<anonymous>)
    at module.exports (/home/originof/src/marketplace/node_modules/dir-glob/index.js:39:38)                             
    at globDirs (/home/originof/src/marketplace/node_modules/globby/index.js:58:9)                                      
    at getPattern (/home/originof/src/marketplace/node_modules/globby/index.js:61:64)                                   
    at Promise.all.globTasks.map.task (/home/originof/src/marketplace/node_modules/globby/index.js:72:69)               
    at Array.map (<anonymous>)

postcss-cli 6.1.1
node 10.15.0

Following a PR to fix the issue.

@manuelmazzuola
Copy link
Author

Issue fixed in globby sindresorhus/globby#99 (comment)

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

Successfully merging a pull request may close this issue.

1 participant