articodeltd / angular-cesium

JavaScript library for creating map based web apps using Cesium and Angular
https://github.com/articodeltd/angular-cesium/settings/pages
MIT License
178 stars 93 forks source link

Cannot write file glob.js because it would overwrite input file #214

Closed CHBaker closed 4 years ago

CHBaker commented 6 years ago

Intended outcome: ng serve serves app

Actual outcome:

ERROR in error TS5055: Cannot write file '/.../src/assets/js/globe.js' because it would overwrite input file.
  Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.

How to reproduce the issue: update Angular to Angular 5, and Angular-Cesium to latest

Version

{
  "name": "link-warden",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^5.2.3",
    "@angular/common": "^5.2.3",
    "@angular/compiler": "^5.2.3",
    "@angular/core": "^5.2.3",
    "@angular/forms": "^5.2.3",
    "@angular/http": "^5.2.3",
    "@angular/platform-browser": "^5.2.3",
    "@angular/platform-browser-dynamic": "^5.2.3",
    "@angular/platform-server": "^5.2.3",
    "@angular/router": "^5.2.3",
    "@ngrx/effects": "^5.0.1",
    "@ngrx/store": "^5.0.0",
    "@ngrx/store-devtools": "^5.0.1",
    "angular-cesium": "0.0.48",
    "angular-font-awesome": "^3.1.2",
    "angular2-click-outside": "^0.1.0",
    "angular2-notifications": "^0.9.7",
    "bootstrap": "^4.0.0",
    "cesium": "^1.41.0",
    "core-js": "^2.5.3",
    "font-awesome": "^4.7.0",
    "jquery": "^3.3.1",
    "popper.js": "^1.12.9",
    "rxjs": "^5.5.6",
    "zone.js": "^0.8.20"
  },
  "devDependencies": {
    "@angular/cli": "^1.6.7",
    "@angular/compiler-cli": "^5.2.3",
    "@angular/language-service": "^5.2.3",
    "@types/jasmine": "2.8.6",
    "@types/jquery": "^3.3.0",
    "@types/node": "^9.4.0",
    "codelyzer": "~4.1.0",
    "jasmine-core": "~2.9.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~2.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.4.1",
    "karma-jasmine": "~1.1.1",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.3.0",
    "ts-node": "~4.1.0",
    "tslint": "~5.9.1",
    "typescript": "^2.4.2"
  }
}

note: I have allowJs set to true

I know this is an issue with writing the glob assets in the .angular-cli.json file with webpack, but I can't figure out how to fix it.

CHBaker commented 6 years ago

Removing allowJs fixed this issue, I just don't know if this is the proper fix.

eitanfr commented 6 years ago

resolved? can close the issue?

eitanfr commented 4 years ago

Stale issue... closing