Giter Site home page Giter Site logo

angular-weather-elements's People

Contributors

kalyan11021980 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

angular-weather-elements's Issues

Bug with angular 7.2.0

This my package.json file :

{
  "name": "ng-element",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "weathercardbuild": "ng build --prod --output-hashing=none && node ./mergelib.js"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~7.2.0",
    "@angular/common": "~7.2.0",
    "@angular/compiler": "~7.2.0",
    "@angular/core": "~7.2.0",
    "@angular/elements": "^7.2.13",
    "@angular/forms": "~7.2.0",
    "@angular/platform-browser": "~7.2.0",
    "@angular/platform-browser-dynamic": "~7.2.0",
    "@angular/router": "~7.2.0",
    "concat": "^1.0.3",
    "core-js": "^2.5.4",
    "document-register-element": "^1.7.2",
    "rxjs": "~6.3.3",
    "s": "^0.1.1",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.13.0",
    "@angular/cli": "~7.3.1",
    "@angular/compiler-cli": "~7.2.0",
    "@angular/language-service": "~7.2.0",
    "@types/node": "~8.9.4",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.1.1",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.2.2"
  }
}

when try to test after build element i get this error on console :

ng-element.js:4 Uncaught TypeError: Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
    at n.t [as constructor] (ng-element.js:4)
    at new n (ng-element.js:4)
    at CustomElementRegistry.e.(:9080/anonymous function) [as define] (http://localhost:9080/ng-element.js:2:35267)
    at e.ngDoBootstrap (ng-element.js:4)
    at e._moduleDoBootstrap (ng-element.js:4)
    at ng-element.js:4
    at e.invoke (ng-element.js:2)
    at Object.onInvoke (ng-element.js:4)
    at e.invoke (ng-element.js:2)
    at t.run (ng-element.js:2)
t @ ng-element.js:4
n @ ng-element.js:4
e.(anonymous function) @ ng-element.js:2
e.ngDoBootstrap @ ng-element.js:4
e._moduleDoBootstrap @ ng-element.js:4
(anonymous) @ ng-element.js:4
e.invoke @ ng-element.js:2
onInvoke @ ng-element.js:4
e.invoke @ ng-element.js:2
t.run @ ng-element.js:2
(anonymous) @ ng-element.js:2
e.invokeTask @ ng-element.js:2
onInvokeTask @ ng-element.js:4
e.invokeTask @ ng-element.js:2
t.runTask @ ng-element.js:2
g @ ng-element.js:2
Promise.then (async)
v @ ng-element.js:2
e.scheduleTask @ ng-element.js:2
onScheduleTask @ ng-element.js:2
e.scheduleTask @ ng-element.js:2
t.scheduleTask @ ng-element.js:2
t.scheduleMicroTask @ ng-element.js:2
I @ ng-element.js:2
t.then @ ng-element.js:2
e.runInitializers @ ng-element.js:4
(anonymous) @ ng-element.js:4
(anonymous) @ ng-element.js:4
e.invoke @ ng-element.js:2
onInvoke @ ng-element.js:4
e.invoke @ ng-element.js:2
t.run @ ng-element.js:2
e.run @ ng-element.js:4
e.bootstrapModuleFactory @ ng-element.js:4
zUnb @ ng-element.js:4
f @ ng-element.js:1
0 @ ng-element.js:4
f @ ng-element.js:1
t @ ng-element.js:1
r @ ng-element.js:1
(anonymous) @ ng-element.js:4

Corrupted Content Error

While trying this tutorial i got above error on my browser.
i'm using
angular 7.3
node 10.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.