-
-
Notifications
You must be signed in to change notification settings - Fork 241
ERROR: The target entry-point "@nativescript/angular" has missing dependencies #2171
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
@hrueger see this Wiki post - covers this issue in In short at a minimum you need to add
|
Oh thanks @NathanWalker , I'm sorry, I didn't see the wiki page. |
@hrueger no worries and sorry if we did not make that Wiki clear enough! |
@NathanWalker The new error is this: It doesn't work with either the minimum It's strange because my
It's just a blank component. I also don't have a |
Thanks @hrueger that is strange - is it possible to share the project? If it's private you could invite |
Sure, thank's for your help. It's public: SchoolSquirrel |
@hrueger posted a PR with things a bit closer - see notes 👍 |
Thank you very much struggled with the same error for about 30min could not find any solutions until I got this. |
@hrueger @nativescript/schematics ~9.0.0 have been released and I'd recommend trying them with the SchoolSquirrel project. Lemme know if that gets you up and running fully there. You'll still wanna make sure the practices in that wiki guide for {N} and Angular 9/Ivy are still in place which I believe the PR I did awhile back and believe you integrated those in take care of. But next step is for you to now update schematics so lemme know 👍 |
@NathanWalker Yes, it works! However, not completely. I first got the following error:
I could temporarily solve this by commenting out this block in the In addition, I had to add the EDIT: The config for the new
This solved the problem. |
@NathanWalker Another quite annoying thing is, that every time I save a file, the hot reload gives me the following error:
When I then change something and save the file again, it works successfully! Should I create another issue for that? Is it caused by |
Hi @NathanWalker . I am also facing a similar issue with my Nativescript angular 9 shared project when i tried running its web application which was working fine till last day . I am getting an error like: This is my ngcc.config.js file :
What could be the issue ? It was working fine till yesterday. |
Hi @arun-s-aot - you may be missing the outer structure of the
Try copy/pasting this exactly into your
|
@hrueger Your issue above may be related to hmr - I would turn hmr off when developing shared code projects with Ivy - so try using this flag: |
@NathanWalker No, unfortunately not. Same error as here... |
@hrueger is your latest pushed up there and which branch? I can take a peek. |
@NathanWalker That would be great, thank's in advance. It's all up-to-date on the As I described above, the initial run is working, but onec a file is changed, the errors appear. No matter if it is run with or without |
@hrueger confirmed working here and with Ivy enabled: SchoolSquirrel/SchoolSquirrel#4 |
Yes, it's working. For anyone interested in the final solution for Angular 9 + Ivy + NativeScript, just check out this PR by @NathanWalker |
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
I run
tns run android
and get the following error:To Reproduce
My
package.json
file looks like this:Expected behavior
It builds without any warnings or errors.
Sample project
This is an almost fresh project. The frontend is in the
SchoolSquirrel
folder.It uses code sharing (web and mobile).
The text was updated successfully, but these errors were encountered: