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

Error: The "path" argument must be of type string. Received type undefined' while validating #25

Open
maximelebreton opened this issue Oct 3, 2019 · 0 comments

Comments

@maximelebreton
Copy link

Hello there,
I have this problem, and understand how to fix it.

Thanks for your help!

[Info  - 22:52:16] Linter is running.
[Info  - 22:52:17] TSLint library loaded from: e:\Work\www\lbdc-firebase\front\node_modules\tslint\lib\index.js
[Info  - 22:52:17] vscode-tslint: 'The "path" argument must be of type string. Received type undefined' while validating: e:\Work\www\lbdc-firebase\front\src\App.vue stacktrace: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.dirname (path.js:651:5)
    at getParsedTsConfig (c:\Users\Maxime\.vscode\extensions\prograhammer.tslint-vue-1.5.6\server\server.js:553:127)
    at createProgram (c:\Users\Maxime\.vscode\extensions\prograhammer.tslint-vue-1.5.6\server\server.js:458:20)
    at c:\Users\Maxime\.vscode\extensions\prograhammer.tslint-vue-1.5.6\server\server.js:420:31
    at Generator.next (<anonymous>)
    at fulfilled (c:\Users\Maxime\.vscode\extensions\prograhammer.tslint-vue-1.5.6\server\server.js:7:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
[Info  - 22:52:17] vscode-tslint: 'The "path" argument must be of type string. Received type undefined' while validating: e:\Work\www\lbdc-firebase\front\src\store\types.ts stacktrace: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.dirname (path.js:651:5)
    at getParsedTsConfig (c:\Users\Maxime\.vscode\extensions\prograhammer.tslint-vue-1.5.6\server\server.js:553:127)
    at createProgram (c:\Users\Maxime\.vscode\extensions\prograhammer.tslint-vue-1.5.6\server\server.js:458:20)
    at c:\Users\Maxime\.vscode\extensions\prograhammer.tslint-vue-1.5.6\server\server.js:420:31
    at Generator.next (<anonymous>)
    at fulfilled (c:\Users\Maxime\.vscode\extensions\prograhammer.tslint-vue-1.5.6\server\server.js:7:58)
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