-
Notifications
You must be signed in to change notification settings - Fork 4
RangeError: Maximum call stack size exceeded when importing Carbon LDP in a React app using create-react-app with TypeScript 3.2.2 #335
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
Comments
Running a build sends the same error:
Output
|
It's an error with TypeScript:
Installing |
FYI: I did a downgrade to TypeScript 3.0.1, and now I am getting this error:
I will try with TypeScript 3.1.1 and I will let you know how it goes. |
Now, with TypeScript 3.1.1 this is the output:
|
Also changing the configuration of TS to Currently, not all the SDK types support the strict feature, an issue has been opened: #336. |
Just for fun, I changed to TypeScript 3.1.6 and this is what is displayed:
Using this tsconfig.json
|
The SDK uses |
FYI:
|
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am getting this error when importing Carbon LDP in a React application that is using TypeScript
Source code
Repository with the minimal setup that reproduces the issue: https://github.com/webtraining-zone/carbonldp-demo-app
Version of some packages:
Steps to reproduce
1. Be sure you are in version 2.x of create-react-app package
2. Create a react app with TypeScript support
3. Start the react app with Yarn
The ouput woud look like this:
4. Install Carbon LDP with Yarn
5. Create a Carbon Service class with a valid Carbon LDP instance creation
And add this code:
6. Try to run the app again, and the error will appear.
The text was updated successfully, but these errors were encountered: