-
Notifications
You must be signed in to change notification settings - Fork 12k
ng build failing with component not found #6163
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
it is due to forward slash and backward slash resolved the issue, it is my silly mistake |
hansl
pushed a commit
that referenced
this issue
May 24, 2017
Brocco
pushed a commit
that referenced
this issue
May 24, 2017
dond2clouds
pushed a commit
to d2clouds/speedray-cli
that referenced
this issue
Apr 23, 2018
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
`
Versions.
@angular/cli: 1.0.1
node: 6.9.5
os: win32 x64
@angular/common: 4.1.0
@angular/compiler: 4.1.0
@angular/core: 4.1.0
@angular/forms: 4.1.0
@angular/http: 4.1.0
@angular/platform-browser: 4.1.0
@angular/platform-browser-dynamic: 4.1.0
@angular/router: 4.1.0
@angular/cli: 1.0.1
@angular/compiler-cli: 4.1.0
Repro steps.
created new ng app
fails with below error log
The log given by the failure.
ERROR in D:/../angtest/src/main/app/app/app.component.ts (1,27): Cann
ot find module '@angular/core'.
ERROR in D:/../angtest/src/main/app/app/app.component.ts (8,14): Expe
rimental support for decorators is a feature that is subject to change in a futu
re release. Set the 'experimentalDecorators' option to remove this warning.
ERROR in D:/../angtest/src/main/app/app/app.module.ts (1,31): Cannot
find module '@angular/platform-browser'.
ERROR in D:/../angtest/src/main/app/app/app.module.ts (2,26): Cannot
find module '@angular/core'.
ERROR in D:/../angtest/src/main/app/app/app.module.ts (3,29): Cannot
find module '@angular/forms'.
ERROR in D:/../angtest/src/main/app/app/app.module.ts (4,28): Cannot
find module '@angular/http'.
ERROR in D:/../angtest/src/main/app/app/app.module.ts (20,14): Experi
mental support for decorators is a feature that is subject to change in a future
release. Set the 'experimentalDecorators' option to remove this warning.
ERROR in D:/../angtest/src/main/app/main.ts (1,32): Cannot find modul
e '@angular/core'.
--angular-cli.json file
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "uds3"
},
"apps": [
{
"root": "src\main\app",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.css"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "\src\main\app/tsconfig.app.json"
},
{
"project": "\src\main\app/tsconfig.spec.json"
},
{
"project": "e2e/tsconfig.e2e.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"component": {}
}
}
The text was updated successfully, but these errors were encountered: