내가 (이온 봉사) 내 각-유성 클라이언트를 실행하려고 할 때 다음과 같은 오류가 점점 오전 :타이프 라이터 중복 식별자 오류
[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
소스 코드 파일의 오류는 다음과 같습니다 TS2300:Duplicate identifier 'Status'
. https://angular-meteor.com/tutorials/whatsapp2/ionic/setup 대부분의 파일이 여기에 동일합니다 : 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
당신은 참여 files in this codebase을 모두 볼 수 있습니다
프로젝트
이 자습서를 사용하여 구축된다.어떤 아이디어가 진행되고 있습니까? 다음에 어디를보아야합니까? 나는 조금 길다는 것을 인정한다. 마지막으로 작업 한 이후로 모든 코드 변경 사항을 되돌리고 node_modules를 제거하고 프로젝트 요구 사항을 다시 설치했습니다. 내가보기에는 아무것도 변경되지 않았지만 나는 여전히 같은 오류가 발생합니다.
지도/아이디어에 감사드립니다.
'tsconfig.json'은 어떻게 생겼습니까? 'node_modules' 폴더가 제외되어 있습니까? – Saravana
안녕하세요 @Saravana, 파일에 대한 링크를 추가했습니다. 내가 말할 수있는 한,'tsconfig.json' 파일에''exclude ''섹션이 있기 때문에 node_modules를 제외해야합니다. – Eraldo