Describe the bug
"getRecordNotifyChange" is not exported from "lightning-pkg/src/lightning/uiRecordApi/uiRecordApi.js
To Reproduce
Steps to reproduce the behavior:
Create a component that imports "getRecordNotifyChange" from lightning/uiRecordApi
Use the component: getRecordNotifyChange([{ recordId: this.recordId }]);
Run local dev and navigate to the component.
Note compile error in terminal "Error during compilation: 'getRecordNotifyChange' is not exported by ../../.local/share/sfdx/node_modules/@salesforce/lwc-dev-server-dependencies/vendors/dependencies-226/lightning-pkg/src/lightning/uiRecordApi/uiRecordApi.js
"force/lds" does export getRecordNotifyChange so adding it to uiRecordApi.js resolved the issue for me.
Expected behavior
No compile error
Screenshots
Steps has the exact error viewed in the terminal
Desktop (please complete the following information):
OS: MacOs
Browser: Chrome
Additional context
Adding getRecordNotifyChange to the export list in uiRecordApi.js resolves this issue.
Describe the bug "getRecordNotifyChange" is not exported from "lightning-pkg/src/lightning/uiRecordApi/uiRecordApi.js
To Reproduce Steps to reproduce the behavior:
Expected behavior No compile error
Screenshots Steps has the exact error viewed in the terminal
Desktop (please complete the following information):
Additional context Adding getRecordNotifyChange to the export list in uiRecordApi.js resolves this issue.