For sure: Some cordova plugins cannot be used in serve mode.
Hi guys, Iām having the same problem, Iāve checked everything that youāve mentioned as well as running it on the emulator as opposed to using āionic serveā and itās shooting this error:
Typescript Error
Unexpected token. A constructor, method, accessor, or property was expected.
src/pages/home/home.ts
let successCallback = (isAvailable) => { console.log('Is available? ā + isAvailable); };
let errorCallback = (e) => console.error(e);
Typescript Error
Declaration or statement expected.
src/pages/home/home.ts
}).catch(e => console.error(e));
}
Ionic Framework: 3.6.1
Ionic App Scripts: 2.1.4
Angular Core: 4.1.3
Angular Compiler CLI: 4.1.3
Node: 6.11.3
OS Platform: OS X El Capitan
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:55.0) Gecko/20100101 Firefox/55.0
Has there ever been a resolution to this post?
Thanks