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: The "path" argument must be of type string #68

Closed
fairking opened this issue Jan 12, 2020 · 0 comments
Closed

TypeError: The "path" argument must be of type string #68

fairking opened this issue Jan 12, 2020 · 0 comments

Comments

@fairking
Copy link
Collaborator

After upgrading from 0.9.7 to 0.9.9 got the following error:
npm: '6.13.6',
node: '12.14.1',

(node:2816) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:112:11)
    at Object.resolve (path.js:139:9)
    at definitionHeader (C:\Code\Maximus\src\Maximus.App\node_modules\swagger-axios-codegen\dist\templates\serviceHeader.js:124:53)
    at Object.serviceHeader (C:\Code\Maximus\src\Maximus.App\node_modules\swagger-axios-codegen\dist\templates\serviceHeader.js:44:5)
    at C:\Code\Maximus\src\Maximus.App\node_modules\swagger-axios-codegen\dist\index.js:73:31
    at Generator.next (<anonymous>)
    at fulfilled (C:\Code\Maximus\src\Maximus.App\node_modules\swagger-axios-codegen\dist\index.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
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