-
Notifications
You must be signed in to change notification settings - Fork 78
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
generate CMDT records shows "Cannot find module 'bluebird'" #2058
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hey @honestmondayJS 👋 this sounds like a bug with our just-in-time installation code... can you try using |
This issue has been linked to a new work item: W-13029145 |
Hi @WillieRuemmele |
Summary
Try to create records in a CMDT object with the command:
sf cmdt generate records --csv years.csv --type-name Year__mdt
Steps To Reproduce:
Expected result
Creation of year values in a metadata type object named Year__mdt
Actual result
Error message
ModuleLoadError: [MODULE_NOT_FOUND] require failed to load
@salesforce\plugin-custom-metadata\lib\commands\cmdt\generate\records.js: Cannot find module 'bluebird'
System Information
powershell
{
"cliVersion": "@salesforce/cli/1.73.0",
"architecture": "win32-x86",
"nodeVersion": "node-v18.15.0",
"osVersion": "Windows_NT 10.0.22621",
"shell": "cmd.exe",
"rootPath": "C:\Users\just2\AppData\Local\sfdx\client\7.196.6-a969651\sf",
"pluginVersions": [
"@oclif/plugin-autocomplete 2.1.8 (core)",
"@oclif/plugin-commands 2.2.13 (core)",
"@oclif/plugin-help 5.2.9 (core)",
"@oclif/plugin-not-found 2.3.23 (core)",
"@oclif/plugin-plugins 2.4.4 (core)",
"@oclif/plugin-search 0.0.15 (core)",
"@oclif/plugin-update 3.1.9 (core)",
"@oclif/plugin-version 1.3.2 (core)",
"@oclif/plugin-warn-if-update-available 2.0.33 (core)",
"@oclif/plugin-which 2.2.18 (core)",
"@salesforce/cli 1.73.0 (core)",
"apex 2.2.9 (core)",
"auth 2.7.11 (core)",
"custom-metadata 2.1.11 (user)",
"data 2.3.9 (core)",
"deploy-retrieve 1.8.8 (core)",
"info 2.6.4 (core)",
"limits 2.3.12 (core)",
"login 1.2.5 (core)",
"org 2.6.5 (core)",
"schema 2.3.6 (core)",
"settings 1.4.3 (core)",
"sobject 0.1.14 (core)",
"source 2.9.1 (core)",
"telemetry 2.1.3 (core)",
"templates 55.4.5 (core)",
"trust 2.4.6 (core)",
"user 2.3.7 (core)"
]
}
The text was updated successfully, but these errors were encountered: