Closed zorrolisto closed 3 months ago
This problem still exists. Any hopes to get a fix?
Unable to repro. Can you please provide steps to repro this issue.
I've been unable to repro consistently. It's a combination of slow PBI iframe load time+ refresh or navigation events.
This problem still exists. Any hopes to get a fix?
@raquelcarvalho , This issue has been fixed in version powerbi-client: 2.22.4
. It is published as beta version, so try installing the specific powerbi-client version for now.
@KotanaSai21 , Thanks! Well, I'm using the lib powerbi-client-react
in version 1.4.0
, which has the dependency "powerbi-client": "^2.21.1"
. As the fixed version is in beta, the lastest
version is installed, which is 2.22.3 of powerbi-client
.
So I keep getting the error. How could I overcome this?
I got around the problem by using the paths option in the tsconfig.json
file:
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"powerbi-client": ["node_modules/powerbi-client"]
}
}
}
This tells TypeScript to look for powerbi-client
in my project's node_modules
directory.
@raquelcarvalho ,
If we specify the "powerbi-client":"2.22.4"
in our package.json along with powerbi-client-react it should override the version of powerbi-client getting from powerbi-client-react
.
It should work, if not try using overrides
in package.json.
This error happen when is use the component powerbi-client-react but the user change to another view before it finish to load.
Posted here because powerbi-client don't allow create issues.
This error can be avoid with.