Could someone share the package.json of an ionic-angular app: 3.6.0 working?
Could you also tell me how I can easily discover the dependencies required for a given version of Ionic?
My package.json
{
"name": "test-project",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.1.3",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@ionic-native/app-version": "^4.4.2",
"@ionic-native/camera": "^4.4.2",
"@ionic-native/core": "3.12.1",
"@ionic-native/geolocation": "^4.4.2",
"@ionic-native/native-geocoder": "^4.4.2",
"@ionic-native/splash-screen": "3.12.1",
"@ionic-native/status-bar": "^3.12.1",
"@ionic/storage": "^2.1.3",
"@types/pouchdb": "6.3.0",
"cordova-ios": "4.5.4",
"cordova-plugin-add-swift-support": "^1.7.1",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-camera": "^2.4.1",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-console": "^1.1.0",
"cordova-plugin-device": "^1.1.7",
"cordova-plugin-geolocation": "^2.4.3",
"cordova-plugin-nativegeocoder": "^2.0.5",
"cordova-plugin-splashscreen": "^4.1.0",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-sqlite-storage": "^2.3.3",
"intl": "^1.2.5",
"ionic-angular": "3.6.0",
"ionic-img-viewer": "^2.6.1",
"ionic-plugin-keyboard": "^2.2.1",
"ionic2-rating": "^1.2.2",
"ionicons": "3.0.0",
"moment": "^2.20.1",
"node-sass": "^4.7.2",
"pouchdb": "^6.3.4",
"run": "1.4.0",
"rxjs": "5.4.0",
"sw-toolbox": "3.6.0",
"ts-md5": "^1.2.2",
"zone.js": "0.8.12"
},
"devDependencies": {
"@angular/cli": "^1.5.0",
"@ionic/app-scripts": "^3.1.11",
"cordova": "^8.0.0",
"ionic": "3.19.1",
"typescript": "^2.3.4"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-console": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {},
"cordova-sqlite-storage": {},
"cordova-plugin-camera": {
"CAMERA_USAGE_DESCRIPTION": "Utilizar Camera",
"PHOTOLIBRARY_USAGE_DESCRIPTION": "Utilizar Galeria Camera"
},
"cordova-plugin-geolocation": {
"GEOLOCATION_USAGE_DESCRIPTION": "Utilizar Geolocalizacao"
},
"cordova-plugin-nativegeocoder": {
"LOCATION_WHEN_IN_USE_DESCRIPTION": "Use geocoder service"
},
"cordova-plugin-app-version": {}
},
"platforms": [
"ios",
"browser"
]
}
}
My apps for make projects
Ionic Framework: 3.6.0
Ionic App Scripts: 3.2.4
Angular Core: 4.1.3
Angular Compiler CLI: 4.1.3
Node: 6.11.1
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Console errors
santc@DESKTOP-ND7VRK4 MINGW64 ~/workspace-front/test-project (master)
$ ionic serve
Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser - Ctrl+C to cancel
[17:26:04] watch started ...
[17:26:04] build dev started ...
[17:26:04] clean started ...
[17:26:04] clean finished in 1 ms
[17:26:04] copy started ...
[17:26:05] deeplinks started ...
[17:26:05] deeplinks finished in 282 ms
[17:26:05] transpile started ...
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 21
'=' expected.
L20: function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
L21: const captureRejectionSymbol: unique symbol;
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 32
'=' expected.
L32: const errorMonitor: unique symbol;
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 55
'=' expected.
L55: static readonly errorMonitor: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/repl.d.ts, line: 361
'=' expected.
L361: const REPL_MODE_SLOPPY: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/repl.d.ts, line: 367
'=' expected.
L367: const REPL_MODE_STRICT: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/util.d.ts, line: 24
'=' expected.
L23: let replDefaults: InspectOptions;
L24: const custom: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/util.d.ts, line: 119
'=' expected.
L118: namespace promisify {
L119: const custom: unique symbol;
[17:26:10] typescript: .../workspace-front/test-project/node_modules/@types/node/worker_threads.d.ts, line: 9
'=' expected.
L8: const parentPort: null | MessagePort;
L9: const SHARE_ENV: unique symbol;
L10: const threadId: number;
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 21
Cannot find name 'unique'.
L20: function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
L21: const captureRejectionSymbol: unique symbol;
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 21
Cannot find name 'symbol'. Did you mean 'Symbol'?
L20: function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
L21: const captureRejectionSymbol: unique symbol;
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 32
Cannot find name 'unique'.
L32: const errorMonitor: unique symbol;
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 32
Cannot find name 'symbol'. Did you mean 'Symbol'?
L32: const errorMonitor: unique symbol;
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 55
Cannot find name 'unique'.
L55: static readonly errorMonitor: unique symbol;
[17:26:10] typescript: ...rs/santc/workspace-front/test-project/node_modules/@types/node/events.d.ts, line: 55
Cannot find name 'symbol'. Did you mean 'Symbol'?
L55: static readonly errorMonitor: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/repl.d.ts, line: 361
Cannot find name 'unique'.
L361: const REPL_MODE_SLOPPY: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/repl.d.ts, line: 361
Cannot find name 'symbol'. Did you mean 'Symbol'?
L361: const REPL_MODE_SLOPPY: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/repl.d.ts, line: 367
Cannot find name 'unique'.
L367: const REPL_MODE_STRICT: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/repl.d.ts, line: 367
Cannot find name 'symbol'. Did you mean 'Symbol'?
L367: const REPL_MODE_STRICT: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/util.d.ts, line: 24
Cannot find name 'unique'.
L23: let replDefaults: InspectOptions;
L24: const custom: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/util.d.ts, line: 24
Cannot find name 'symbol'.
L23: let replDefaults: InspectOptions;
L24: const custom: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/util.d.ts, line: 119
Cannot find name 'unique'.
L118: namespace promisify {
L119: const custom: unique symbol;
[17:26:10] typescript: ...sers/santc/workspace-front/test-project/node_modules/@types/node/util.d.ts, line: 119
Cannot find name 'symbol'.
L118: namespace promisify {
L119: const custom: unique symbol;
[17:26:10] typescript: .../workspace-front/test-project/node_modules/@types/node/worker_threads.d.ts, line: 9
Cannot find name 'unique'.
L8: const parentPort: null | MessagePort;
L9: const SHARE_ENV: unique symbol;
L10: const threadId: number;
[17:26:10] typescript: .../workspace-front/test-project/node_modules/@types/node/worker_threads.d.ts, line: 9
Cannot find name 'symbol'.
L8: const parentPort: null | MessagePort;
L9: const SHARE_ENV: unique symbol;
L10: const threadId: number;
[17:26:10] typescript: ...ce-front/test-project/node_modules/ionic-angular/components/tabs/tabs.d.ts, line: 151
Class 'Tabs' incorrectly implements interface 'NavigationContainer'. Types of property 'parent' are
incompatible. Type 'NavControllerBase' is not assignable to type 'NavController'. Types of property 'popTo'
are incompatible. Type '(indexOrViewCtrl: any, opts?: NavOptions, done?: () => void) => Promise<any>' is not
assignable to type '(page: string | Page | ViewController, params?: any, opts?: NavOptions, done?: Function)
=> Promi...'. Types of parameters 'done' and 'opts' are incompatible. Type 'NavOptions' is not assignable to
type '() => void'.
L151: export declare class Tabs extends Ion implements AfterViewInit, RootNode, ITabs, NavigationContainer {
L152: viewCtrl: ViewController;
[17:26:10] typescript: ...test-project/node_modules/ionic-angular/navigation/nav-controller-base.d.ts, line: 20
Class 'NavControllerBase' incorrectly implements interface 'NavController'. Types of property 'popTo' are
incompatible. Type '(indexOrViewCtrl: any, opts?: NavOptions, done?: () => void) => Promise<any>' is not
assignable to type '(page: string | Page | ViewController, params?: any, opts?: NavOptions, done?: Function)
=> Promi...'. Types of parameters 'done' and 'opts' are incompatible. Type 'NavOptions' is not assignable to
type '() => void'. Type 'NavOptions' provides no match for the signature '(): void'.
L20: export declare class NavControllerBase extends Ion implements NavController {
L21: parent: any;
[17:26:10] typescript: C:/Users/santc/workspace-front/test-project/node_modules/rxjs/Subject.d.ts, line: 16
Class 'Subject<T>' incorrectly extends base class 'Observable<T>'. Types of property 'lift' are
incompatible. Type '<R>(operator: Operator<T, R>) => Observable<T>' is not assignable to type '<R>(operator:
Operator<T, R>) => Observable<R>'. Type 'Observable<T>' is not assignable to type 'Observable<R>'. Type 'T'
is not assignable to type 'R'.
L16: export declare class Subject<T> extends Observable<T> implements ISubscription {
L17: observers: Observer<T>[];
[17:26:10] typescript: ...-front/test-project/node_modules/rxjs/observable/dom/WebSocketSubject.d.ts, line: 24
Class 'WebSocketSubject<T>' incorrectly extends base class 'AnonymousSubject<T>'. Types of property 'lift'
are incompatible. Type '<R>(operator: Operator<T, R>) => WebSocketSubject<R>' is not assignable to type
'<R>(operator: Operator<T, R>) => Observable<T>'. Type 'WebSocketSubject<R>' is not assignable to type
'Observable<T>'. Types of property 'operator' are incompatible. Type 'Operator<any, R>' is not assignable to
type 'Operator<any, T>'. Type 'R' is not assignable to type 'T'.
L24: export declare class WebSocketSubject<T> extends AnonymousSubject<T> {
L25: url: string;
[17:26:10] dev server running: http://localhost:8100/
[OK] Development server running!
Local: http://localhost:8100
External: http://192.168.0.77:8100, http://192.168.56.1:8100, http://192.168.128.24:8100
DevApp: Teste@8100 on DESKTOP-ND7VRK4
[17:26:10] copy finished in 6.18 s
[17:26:11] watch ready in 6.74 s