-
Notifications
You must be signed in to change notification settings - Fork 25
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
The application cannot be launched after including this library. #976
Comments
I downgraded the version with |
I was able to solve the problem; to do this I had to add these polyfills. And installed the packages corresponding to these polyfills.
Pay attention to line
without this we will have an error
|
@K1vs Thanks for recommending the corresponding polyfills. It resolved the dependency errors to a great extent, but I found one more error on my terminal, when using this as a template in my React app.
For anyone else facing this, please note I had to make the below additions to my config-overrides.js |
After successful code compilation, I am getting this error on my browser. Any idea, how to fix this?
|
The application cannot be launched after including this library.
Initially we get a problem of this type.
Full text of problem:
initial_iot_error.txt
This can be fixed by adding a plugin node-polyfill-webpack-plugin to the webpack. (Using Craco, react-app-rewired or react-scripts eject)
E.g.
But then I get a new problem:
And fix it using fallback:
But unfortunately, a new problem arises, and I can no longer solve it.
The last problem also occurs if I use the template https://github.com/Azure-Samples/cra-template-iot-cardboard-js.
At the moment, the use of this library is completely blocked. Which significantly reduces the attractiveness of Azure as a platform for building digital twins.
The text was updated successfully, but these errors were encountered: