尝试将项目中的某些更改推送到Salesforce中的临时组织时出现此错误。
我正在关注本教程https://trailhead.salesforce.com/content/learn/modules/lightning-web-components-basics/push-lightning-web-component-files 并且我在创建html和js之后陷入了最后一部分,当将其推送到scrath org时出现此错误。 谷歌已经有一段时间了,但是找不到有用的东西。
有帮助吗?
ignacio.delatorre@NTBK-APIA-2 MINGW64 ~/Desktop/trail-comp/ebikes-lwc (master)
$ sfdx force:org:open
Access org 00D2h0000000S5nEAE as user test-03buztqxu1ek@example.com with the following URL: https://agility-computing-854-dev-ed.cs36.my.salesforce.com/secur/frontdoor.jsp?sid=00D2h0000000S5n!AQIAQBD5XRMniuKVNf0DEVTgJo8y7rlM7PjE2nKJEZnhfTrwF4F7RtWmgZjHNg07NoNu3qmWYaXiHC5R_Gg8l7ODz3guhE.N
ignacio.delatorre@NTBK-APIA-2 MINGW64 ~/Desktop/trail-comp/ebikes-lwc (master)
$ sfdx force:source:push -u my-scratch-org
ERROR running force:source:push: No org configuration found for name my-scratch-org
ignacio.delatorre@NTBK-APIA-2 MINGW64 ~/Desktop/trail-comp/ebikes-lwc (master)
$ sfdx force:source:push -u myOrg
ERROR running force:source:push: The "path" argument must be of type string. Received type undefined