mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 11:12:52 +00:00
30 lines
890 B
Markdown
30 lines
890 B
Markdown
# Pitfalls
|
|
|
|
Dieser File dient zur Dokumentation von Problemen, welche während der Entwicklung auftreten.
|
|
|
|
## Ionic Framework
|
|
|
|
### Template Files in gleichem Ordner wie Komponenten Files
|
|
|
|
- ionic version 3.20.0
|
|
|
|
#### Problem
|
|
|
|
Ionic erwartet alle Dateien einer Komonentente im gleichen Verzeichnis. Sobald eine HTML Datei in einem Unterverzeichnis liegt, kommt es mit dem Tool `ionic serve` zu Caching Problemen.
|
|
|
|
## Andere
|
|
|
|
### TypeScript: automatische Imports fehlerhaft
|
|
|
|
- typescript version <= 2.9.2
|
|
|
|
#### Problem
|
|
|
|
TypeScript suggeriert für empfohlene Imports den falschen Pfad. Für `ionic-angular` wird `ionic-angular/umd` importiert. Dies führt zur Ionic Fehlermeldung `cannot find module '.'`
|
|
|
|
Siehe auch Issue auf https://github.com/Microsoft/TypeScript/issues/25279
|
|
|
|
#### Workaround
|
|
|
|
- Installieren von dev build `Version 3.1.0-dev.20180728` mit `npm install -g typescript@next`
|