PatrickJS-starter icon indicating copy to clipboard operation
PatrickJS-starter copied to clipboard

Duplicate typings errors on fresh install

Open Snejk47 opened this issue 10 years ago • 5 comments

Hi, few days ago I looked at this seed project and it was working ok. I've got it running just fine (npm start). Today on fresh nodejs (other computer) I cloned this repo and it doesn't run anymore. I get tons of typings errors like

angular2-webpack-starter\node_modules\angular2\typings\node\node.d.ts
(45,5): error TS2300: Duplicate identifier 'extensions'.

[...]

angular2-webpack-starter\typings\main\ambient\angular-protractor\angular-protractor.d.ts
(12,11): error TS2300: Duplicate identifier 'ActionSequence'.

[...]

angular2-webpack-starter\typings\main\ambient\angular-protractor\angular-protractor.d.ts
(1848,5): error TS2300: Duplicate identifier 'export='.

There is like 4000 lines of them.

I can't find any solution. Other seed using typings is fine.

node -v : v4.2.6 npm -v : 2.14.12

I'm on Win8 64bit.

Snejk47 avatar Jan 24 '16 17:01 Snejk47

@Snejk47 can you download and install again? I pushed up a quick update

PatrickJS avatar Jan 24 '16 17:01 PatrickJS

nvm I still need to fix it

PatrickJS avatar Jan 24 '16 17:01 PatrickJS

if you run npm run clean:ng2 then that will fix your problem. I'm trying to make sure people won't have to

PatrickJS avatar Jan 24 '16 17:01 PatrickJS

Thank you, running clean:ng2 indeed fixed that (even without your last commit). Awesome!

Snejk47 avatar Jan 24 '16 17:01 Snejk47

thanks for posting an issue. if you have anymore problems feel free to open another one or submit a pull-request

PatrickJS avatar Jan 24 '16 17:01 PatrickJS