I have a big Angular 10 project. I used it as a one-application setup project. But since I wanted to move out different parts to run independently, I added sub-applications, which created the projects folder and the applications under it, and modified the main angular.json and some other files, nothing new. When I run the sub-applications, nothing bad happens, no errors, and all is fine. But when I try to run the main application, I start getting errors like NG8002: Can't bind to 'ngStyle' since it isn't a known property of 'section'. This points me to an import error, but the CommonModule which could cause this error is imported in the main app and also in the sub-apps. Is there any configuration I should add to prevent these errors from happening? I am new to the multi-application workspace setup method in Angular.
Angular import issue when using sub apps with the main app (usual setup with added projects folder)
39 Views Asked by CreativeZoller At
0
There are 0 best solutions below
Related Questions in ANGULAR
- Firebase link existing user to anonymous account?
- It doesnt always show all the books on my homepage
- Google adsense ads.txt status cannot be not found
- When I navigate to the URL'http://localhost:4200/', it redirects me back
- Ionic Angular Standalone ion-icon are not showing at all
- How to make Angular understand that view child is of a specific type, not a general ElementRef?
- vscode, debug angular, first time, doesn't debug, 2nd time stops at main.js then it's ok
- How to perform CRUD operations on a static JSON array in Angular? (without API)
- Ngrx props<>() method in createAction()
- How to animate rotation of an image inside input control?
- Detecting click inside and outside of the listening component in Angular
- Angular - type guard not narrowing types
- In node_modules file i am getting Angular genric error while using fontawesome in angular12
- Angular 16 sending null values to API
- GoogleCloud Error: Not Found The requested URL was not found on this server
Related Questions in COMPILER-ERRORS
- File refuses to compile std::erase() even if using -std=g++23
- Why am I getting this error ? error CS0103: The name 'EnhancedStackTrace' does not exist in the current context
- Using custom comparator to sort a Priority Queue in C++. Keep getting invalid comparator error
- Maven (Java) does not build dependencies into a compiled file
- Gradle SAXParseException cvc-complex-type.2.4.a
- Can't resolve undefined reference to box2D C++
- ld: library 'nsl' not found, /usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1 in macOS
- Problems with converting old Fortran code
- vc++ thread constructor throwing compiler error c2672
- about "preprocessing" in PintOS compiling(C programming), There are 2-questions for referencing headers and incomplete type error
- Trying to compile GCC returns a bunch of errors
- Class not compiling
- Run java program
- Can't get any code to run on Visual Studio Code
- Why is there an error with gfortran but ifort and pgf90 do not?
Related Questions in SUBAPPLICATION
- How to publish root application and sub applications under root application in IIS?
- Why does my ASP.NET Core 6 Web API work as a standalone website, but fails as a subapplication of another website?
- Angular import issue when using sub apps with the main app (usual setup with added projects folder)
- .NET Core 3.1 with ReactJs 16.9.0 - Run in IIS sub-folder
- Create virtual directory for .NET Core application in .NET Framework app
- Asp.net core application Ajax post is hitting wrong action after publishing
- IIS Sub-application root
- Use Component From Shared Module Of A Sub Angular App (nested apps)
- Blocking web.config inheritance in a sub-application
- How to add a sub application (developed with asp.net mvc) in Dynamics 365?
- react-redux sub-apps, what's the recommended way to access parent store
- C# Url.Action parameters - Sub application
- Whether I should use more than one store instances, when managing an elevator manager like app?
- R Studio Shiny zoom subapplication
- How would I use Laravel full framework in a subfolder of a non-laravel application
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?