-
Notifications
You must be signed in to change notification settings - Fork 12k
Angule CLI AOT error on referencing a component/service outside app folder #3801
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Still waiting for an answer...:( |
Ditto on this issue. |
There seems to be a possible clue here, |
Same issue here |
We don't currently support multiple app projects. You might not consider files outside of If you want to add a reusable piece of code, consider adding it as a npm package. You don't need to upload it to npm, you can do |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
angular-cli: 1.0.0-beta.24
node: 7.3.0
os: win32 x64
Repro steps.
The log given by the failure.
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'C:\ANGULAR PROJECTS\testNgCLI\app1\src'
@ ./src/main.ts 4:0-74
@ multi main
ERROR in ./
/@angular/core/src/linker/system_js_ng_module_factory_loader.js/@angular/core/src/linker/system_js_ng_module_factory_loader.js 69:15-36 85:15-102Module not found: Error: Can't resolve 'C:\ANGULAR PROJECTS\testNgCLI\app1\src$$_gendir' in 'C:\ANGULAR PROJECTS\testNgCLI\app1\node_modules@
angular\core\src\linker'
@ ./
@ ./
/@angular/core/src/linker.js/@angular/core/src/core.js@ ./
@ ./~/@angular/core/index.js
@ ./src/main.ts
@ multi main
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: