My Oracle Support Banner

OSF: Third Party Library Import Giving - ReferenceError: self is not defined (Doc ID 2916053.1)

Last updated on DECEMBER 21, 2022

Applies to:

Oracle Commerce Cloud Service - Version 22.3.3 and later
Information in this document applies to any platform.


When attempting to add external libraries in OSF app in local node, the following error occurs.

The issue can be reproduced at will with the following steps:
step 1: install "powerbi-client-react" and "powerbi-client" libraries.
step 2:- Use the library in "<custom>ReportsDashboard" widget.
step 3:-Run the build
step 4:-run command "yarn start --dsAssetMode remote"


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.