The "path" argument must be of type string. Received undefined.
See original GitHub issueHey there,
We’re using Nx in our project, and when attempting to run the command nx g @jscutlery/cypress-angular:setup-ct --project projectName, I get the following output:
The "path" argument must be of type string. Received undefined."
That is the extent of the output on my end with no additional details, so it’s been challenging trying to find a root cause. Has anyone experienced this before and have insight on how to rectify this? Thanks in advance.
Versions:
- Nx Version: 12.10.0
- Angular version: 12.2.9
- Cypress version: 8.5.0 (also attempted with 8.4.1)
- @jscutlery/cypress-angular version: 0.7.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
The "path" argument must be of type string. Received ...
I'm working on a project in React and ran into a problem that has me stumped. Whenever I run yarn start I get...
Read more >[Fix] TypeError [ERR_INVALID_ARG_TYPE]: The “path ...
[Fix] TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received undefined · This story will cover three possible fixes: · 1:...
Read more >The "path" argument must be of type string. Received ...
Converts JSON schema to MD. Actual Behaviour. The following error is thrown: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of ...
Read more >The "path" argument must be of type string. Received - YouTube
JavaScript : TypeError [ERR_INVALID_ARG_TYPE]: The "path " argument must be of type string. Received type undefined raised when starting ...
Read more >typeerror [err_invalid_arg_type]: the "path" argument must ...
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined raised when starting react app.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright, I think I may have figured out what the issue is with the above. I found that this occurs once I add Webpack 5 to the project (which my team is using). I’ve filled out a new bug for that issue at #106
I installed a new workspace with only angular (nx 14.4.2). Brand new, I installed this package and tried to setup it and I got the error.