-
Notifications
You must be signed in to change notification settings - Fork 56
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
Ionic 4/Angular 6 compatibility? #30
Comments
I haven't had the time yet to what needs to be done to support Ionic 4. Our end goal is to support Ionic 4 but I can't tell you how soon it will be done. |
is there any advance about this issue? please @daniel-lang |
I've started a new project and I'm stuck on this issue to Ionic 4/Angular 6 , so I |
I'm using Ionic 7/Angular 6 and was able to get it working by adding Edit |
Can You post your tsconfig.app.json and package.json so I can compare with mine |
@nextbyn sorry, I reverted back to try to find another solution. Like I said, it actually didn't work anyway. |
It's a shame, I'm still waiting for a solution to this issue or a workaround |
Me too :( |
Based on this discussion: typeorm/typeorm#857, I was able to get TypeORM to work in my Ionic project by adding the following lines to
Using:
Hope this helps! |
|
added "baseUrl": ".", inside "compilerOptions" tree and the build --prod finish OK. And now when run my project (index.html) habe this error in console window.
|
tsconfig.json
tsconfig.app.json
|
|
Just found a good sample here🥇(https://github.com/coturiv/ionic4-typeorm-starter). |
I was able to get work following this instruction
But I had to install @angular-builders/custom-webpack and @angular-builders/dev-server
and I modifed angular.json to use angular-builders/custom-webpack:browser instead of @angular-devkit/build-angular:browser including the webpack.config.js and I modified also to use @angular-builders/dev-server:generic instead of @angular-devkit/build-angular:dev-server as follow
|
@glaucogoca this works fine for testing on the browser, but when I run it on the mobile I get an error:
Any idea what I'm missing ? |
@gnesher Have you solved your problem? Perhaps you have to look your package.json file. Maybe it's missing some dependencies. Could you share it? |
I want to know if anyone already has fixed this issue too. Thanks for your help |
This is a good example to compare. I compared my code with this one and checked the differences, maybe you can do the same |
While considering TypeORM for a new production project, I was able to get the example app running no problem. Works as expected, looks great.
Now trying to configure it w/ my project environment and I've thrown a lot of time away. I'm using the new Ionic 4 beta 12 along with Angular 6. I'm getting the same issues referenced here re: @types/node and some settings in tsconfig.json files:
typeorm/typeorm#900
But the suggested fixes don't work (see my latest comment on that thread). Any idea if TypeORM can or will support Ionic 4 + Angular 6? I can post more info if requested - not sure if anyone's monitoring issues here. Cheers & thanks.
The text was updated successfully, but these errors were encountered: