dxatscale/sfpowerscripts

Unable to parse classes - package:unlocked:create

JAertgeerts opened this issue · 2 comments

Describe the bug

------------------------------------------------------------------------------------------
sfpowerscripts  -- The DX@Scale CI/CD Orchestrator -Version:5.1.0 -Release:February 23
------------------------------------------------------------------------------------------
command: create  package
package name: common
package type: source
package directory: ./src/common
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
Unable to parse these classes to correctly identify test classes, Its not your issue, its ours!Please raise a issue in our repo!
Following apex test classes were identified
                                                          
 Class                  Error                           
 fflib_SharingMode      {"message":"Unknown Apex Type"} 
 fflib_Operator         {"message":"Unknown Apex Type"} 
 fflib_AppBindingType   {"message":"Unknown Apex Type"} 
                                                          
Created unlocked package common

common package created in 00:00:00.011
-- Package Details:--
-- Package Version Number:         1.0.0.1
-- Apex In Package:              Yes
-- Profiles In Package:          No
-- Metadata Count:          228
Artifact Generation Completed for source to /Users/sfdc/artifacts/common_sfpowerscripts_artifact_1.0.0-1.zip

Output variables:
sfpowerscripts_artifact_directory=/Users/jan/sfdc/artifacts/common_sfpowerscripts_artifact_1.0.0-1.zip

To Reproduce
Steps to reproduce the behavior:

Create a folder "common" in src and drop in:

  • fflib-common
  • fflib-extensions
  • fflib-mocks

run sfp package:unlocked:create -v devhub --package common

Expected behavior
A clear and concise description of what you expected to happen.
Should create the package

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2023-08-28 at 17 17 48

Platform Details (please complete the following information):

  • OS: MacOS
  • Version [e.g. CLI Version eg: 1.6.6] @dxatscale/sfp-cli/5.1.0 darwin-arm64 node-v18.17.0
  • Salesforce CLI(sfdx cli) Version: sfdx-cli/7.209.6 darwin-x64 node-v18.15.0
  • CI Platform: Local

Additional context
Add any other context about the problem here.

@JAertgeerts can you dm with the apex classes

@JAertgeerts As discussed, I am closing this issue for now?