function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Frederick H LaneFrederick H Lane 

Visual Studio Code Error after sfdx force:source:push

In the CLI, I am getting the rror message "The "path" argument must be of type string. Received type undefined"
My path is;
C:Local Disc/Users/User/LWCSession/force-app
Khan AnasKhan Anas (Salesforce Developers) 
Hi Frederick,

Greetings to you!

Please refer to the below links which might help you further with the above issue.

https://salesforce.stackexchange.com/questions/251815/sfdx-error-path-must-be-a-string-received-null

https://success.salesforce.com/answers?id=9063A000000lTPcQAM

https://github.com/forcedotcom/cli/issues/94

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Frederick H LaneFrederick H Lane
Still struggling with it. I have already tried the first 2 links and exhausted those. The problems I'm finding as  newbee, is that because SFDC want as all to adopt this new all-in-one Visual Studio Code, it has so many aspects to it. Then, on top of that, we need to register a Dev org, then a sandbox, add the extensions, connect with GitHub, map everything to our local folder, ensure the CLI also maps to the folder. It's just so much.
Also, is it correct that we cannot use this with a regular Dev Org but, rather, a Salesforce DX Dev Org? If that is so, my new DX Dev Hub doesn't launch in Trailhead, even when I try to connect it to my regular Trailhead Dev org. I think I've worked more than 40 hours on this one badge. Some real step-by-step help would be appreciated.
Frederick H LaneFrederick H Lane
On top of that, I'm continually getting Java runtime errors. I've installed Java 8 jdk, mapped it exactly and ensured it is mapped in the Settings Java Home folder on the CLI. It really is all a handful.