-
Notifications
You must be signed in to change notification settings - Fork 12
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: Cannot read properties of undefined (reading 'prototype') #79
Comments
@CamilleGuillory this is a known issue of salesforce/cli with some plugins -> forcedotcom/cli#2508 Please can you try the 2 following commands ?
|
Hi @nvuillam |
@CamilleGuillory |
@RubenHalman Do you need the JSON as well? |
I am wondering if it shows the plugin installed in your cli, as well as maybe any overview if core sfdx sf packages. My apologies, I am also trying to understand the issue still: you are only experiencing this with the new sf CLI and did not experience this with sfdx right? I am thinking there might be certain sfdx packages we will need to include in the scanner to resolve this if that makes sense. |
I do have the plugin listed:
Running sf flow:scan or sfdx flow:scan give me the same issue |
@CamilleGuillory please could you run :
It will allow me to provide more info to sf cli developers so they can fix forcedotcom/cli#2508 |
Sure @nvuillam sf version --verbose --json
DEBUG=* sfdx flow:scan --dev-debug
|
@nvuillam |
Sfdx-hardis is great , and should not be uninstalled 😂 But as a workaround, ok... I'll let u know when sf cli will have fixed their big thanks to your inputs :) |
Thanks @CamilleGuillory for reporting. It seems to me this must be unrelated to the scanner itself and probably to be taken on in the Hardis repo. |
@CamilleGuillory the problem with sfdx-hardis is solved :) |
I cannot launch any command, I always get:
TypeError: Cannot read properties of undefined (reading 'prototype')
I tried to reinstall everything from scratch but I always get this issue.
The text was updated successfully, but these errors were encountered: