Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2017
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.71 KB | None | 0 0
  1. ERROR in /Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/compiler/src/aot/static_reflector.d.ts
  2. /Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/compiler/src/aot/static_reflector.d.ts(8,49): error TS2422: A class may only implement another class or interface.
  3.  
  4. ERROR in /Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/forms/src/model.d.ts
  5. /Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/forms/src/model.d.ts(378,27): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; emitModelToViewChange?: boolea...' has no property 'onlySelf' and no string index signature.
  6.  
  7. ERROR in /Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/forms/src/model.d.ts
  8. /Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/forms/src/model.d.ts(378,37): error TS2459: Type '{ onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; emitModelToViewChange?: boolea...' has no property 'emitEvent' and no string index signature.
  9. ERROR in /Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/core/src/util/decorators.d.ts
  10. /Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/core/src/util/decorators.d.ts(11,5): error TS2411: Property 'extends' of type 'Type<any> | undefined' is not assignable to string index type 'Function | any[] | Type<any>'.
  11.  
  12. ERROR in ./~/@angular/platform-browser-dynamic/index.js
  13. Module not found: Error: Can't resolve './src/platform-browser-dynamic' in '/Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/platform-browser-dynamic'
  14. @ ./~/@angular/platform-browser-dynamic/index.js 13:0-47
  15. @ ./src/main.ts
  16.  
  17. ERROR in ./~/@angular/platform-browser/index.js
  18. Module not found: Error: Can't resolve './src/platform-browser' in '/Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/platform-browser'
  19. @ ./~/@angular/platform-browser/index.js 13:0-295
  20. @ ./src/app/app.module.ts
  21. @ ./src/main.ts
  22.  
  23. ERROR in ./~/@angular/core/index.js
  24. Module not found: Error: Can't resolve './src/core' in '/Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/core'
  25. @ ./~/@angular/core/index.js 13:0-2208
  26. @ ./src/app/app.module.ts
  27. @ ./src/main.ts
  28.  
  29. ERROR in ./~/@angular/forms/index.js
  30. Module not found: Error: Can't resolve './src/forms' in '/Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/forms'
  31. @ ./~/@angular/forms/index.js 13:0-709
  32. @ ./src/app/app.module.ts
  33. @ ./src/main.ts
  34.  
  35. ERROR in ./~/@angular/http/index.js
  36. Module not found: Error: Can't resolve './src/index' in '/Users/Ian/Desktop/TestFolder/Bare/node_modules/@angular/http'
  37. @ ./~/@angular/http/index.js 13:0-406
  38. @ ./src/app/app.module.ts
  39. @ ./src/main.ts
  40.  
  41. {
  42. "name": "BareNg2",
  43. "version": "1.0.0",
  44. "main": "index.js",
  45. "repository": {},
  46. "license": "MIT",
  47. "scripts": {
  48. "w": "webpack"
  49. },
  50. "dependencies": {
  51. "@angular/common": "2.4.5",
  52. "@angular/compiler": "2.4.5",
  53. "@angular/core": "2.4.5",
  54. "@angular/forms": "2.4.5",
  55. "@angular/http": "2.4.5",
  56. "@angular/platform-browser": "2.4.5",
  57. "@angular/platform-browser-dynamic": "2.4.5",
  58. "@angular/router": "3.4.6",
  59. "core-js": "2.4.1",
  60. "rxjs": "5.1.0",
  61. "zone.js": "0.7.6"
  62. },
  63. "devDependencies": {
  64. "@types/node": "7.0.4",
  65. "ts-loader": "^2.0.0",
  66. "typescript": "2.0.10",
  67. "webpack": "2.1.0-beta.28",
  68. "webpack-dev-middleware": "1.10.0",
  69. "webpack-dev-server": "1.16.3"
  70. }
  71. }
  72.  
  73. {
  74. "compilerOptions": {
  75. "emitDecoratorMetadata": true,
  76. "experimentalDecorators": true,
  77. "lib": [ "es6", "dom" ],
  78. "listFiles": true,
  79. "noImplicitAny": true,
  80. "pretty": true,
  81. "strictNullChecks": true,
  82. "target": "ES5",
  83. "traceResolution": true,
  84. "typeRoots": [ "./node_modules/@types" ]
  85. }
  86. }
  87.  
  88. 'use strict';
  89. const webpack = require('webpack');
  90. const path = require('path');
  91.  
  92. module.exports = {
  93. entry: {
  94. app: './src/main.ts'
  95. },
  96. output: {
  97. path: './dist',
  98. filename: '[name].bundle.js'
  99. },
  100. resolve: {
  101. extensions: [ '.ts' ]
  102. },
  103. module: {
  104. rules: [
  105. {
  106. test: /.ts$/,
  107. loader: 'ts-loader',
  108. options: {
  109. visualStudioErrorFormat: true
  110. }
  111. }
  112. ]
  113. }
  114. }
  115.  
  116. import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  117. import { enableProdMode } from '@angular/core';
  118. import { AppModule } from './app/app.module';
  119.  
  120. platformBrowserDynamic().bootstrapModule(AppModule);
  121.  
  122. import { BrowserModule } from '@angular/platform-browser';
  123. import { NgModule } from '@angular/core';
  124. import { FormsModule } from '@angular/forms';
  125. import { HttpModule } from '@angular/http';
  126. import { AppComponent } from './app.component';
  127.  
  128. @NgModule({
  129. declarations: [
  130. AppComponent
  131. ],
  132. imports: [
  133. BrowserModule,
  134. FormsModule,
  135. HttpModule
  136. ],
  137. providers: [],
  138. bootstrap: [AppComponent]
  139. })
  140. export class AppModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement