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

Getting ERR_INVALID_ARG_TYPE error when running cli #90

Closed
livehybrid opened this issue May 28, 2024 · 0 comments
Closed

Getting ERR_INVALID_ARG_TYPE error when running cli #90

livehybrid opened this issue May 28, 2024 · 0 comments

Comments

@livehybrid
Copy link
Owner

Error reading directory: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
    at readdir (node:fs:1460:10)
    at go$readdir (/usr/local/lib/node_modules/@splunk/dashpub/node_modules/graceful-fs/graceful-fs.js:206:16)
    at Object.readdir (/usr/local/lib/node_modules/@splunk/dashpub/node_modules/graceful-fs/graceful-fs.js:211:12)
    at /usr/local/lib/node_modules/@splunk/dashpub/node_modules/universalify/index.js:9:12
    at new Promise (<anonymous>)
    at Object.readdir (/usr/local/lib/node_modules/@splunk/dashpub/node_modules/universalify/index.js:7:14)
    at findCustomVizJsFilesInDirectory (/usr/local/lib/node_modules/@splunk/dashpub/cli/init.js:54:32)
    at initNewProject (/usr/local/lib/node_modules/@splunk/dashpub/cli/init.js:192:27)
    at async main (/usr/local/lib/node_modules/@splunk/dashpub/cli/cli.js:33:9) {
  code: 'ERR_INVALID_ARG_TYPE'
}
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