Encountering an error while trying to run my angular-meteor client (ionic serve), specifically:
[00:29:20] typescript: node_modules/meteor-typings/1.3/main.d.ts, line: 657
Duplicate identifier 'Status'.
L657: type Status = 'connected' | 'connecting' | 'failed' | 'waiting' | 'offline';
[00:29:20] typescript: node_modules/meteor-typings/1.3/main.d.ts, line: 695
Duplicate identifier 'Status'.
L695: type Status = 'connected' | 'connecting' | 'failed' | 'waiting' | 'offline';
[00:29:20] transpile failed
The error message within the source code file reads:
TS2300:Duplicate identifier 'Status'
.
This project was constructed following the steps outlined in this tutorial: Most of the files used can be found here: https://github.com/Urigo/Ionic2CLI-Meteor-WhatsApp
Ionic Framework: 2.1.0
Ionic Native: 2.4.1
Ionic App Scripts: 1.1.3
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 6.3.1
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
You can review all relevant files in the codebase here.
Seeking advice on what might be causing this issue and where to investigate further. Despite reverting to previous code versions and reinstalling project requirements by removing node_modules, the same error persists without any obvious changes.
Appreciative of any suggestions or insights that could be offered.