Romakita / log-debug

Provide logger written in TypeScript for TypeScript or JavaScript.
3 stars 1 forks source link

Err when "yarn add --dev ts-log-debug" #2

Open JakubMatyka opened 7 years ago

JakubMatyka commented 7 years ago
yarn add v0.21.3
warning situational-awareness-webapp@0.2.0: No license field
[1/5] Resolving packages...
[2/5] Fetching packages...
warning fsevents@1.1.1: The platform "linux" is incompatible with this module.
info "fsevents@1.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/5] Linking dependencies...
warning "sass-loader@4.0.2" has incorrect peer dependency "node-sass@^3.4.2".
[4/5] Building fresh packages...
[5/5] Cleaning modules...
success Saved 1 new dependency.
└─ ts-log-debug@2.2.0
warning situational-awareness-webapp@0.2.0: No license field
$ yarn run e2e:install && tsc
yarn run v0.21.3
$ node ./seleniumInstall.js 
Done in 3.09s.

10 declare function describe(description: string, specDefinitions: () => void): void;
                    ~~~~~~~~

node_modules/@types/jasmine/index.d.ts(10,18): error TS2300: Duplicate identifier 'describe'.

12 declare function xdescribe(description: string, specDefinitions: () => void): void;
                    ~~~~~~~~~

node_modules/@types/jasmine/index.d.ts(12,18): error TS2300: Duplicate identifier 'xdescribe'.

14 declare function it(expectation: string, assertion?: (done: DoneFn) => void, timeout?: number): void;
                    ~~

node_modules/@types/jasmine/index.d.ts(14,18): error TS2300: Duplicate identifier 'it'.

16 declare function xit(expectation: string, assertion?: (done: DoneFn) => void, timeout?: number): void;
                    ~~~

node_modules/@types/jasmine/index.d.ts(16,18): error TS2300: Duplicate identifier 'xit'.

33 declare var describe: Mocha.IContextDefinition;
               ~~~~~~~~

node_modules/@types/mocha/index.d.ts(33,13): error TS2300: Duplicate identifier 'describe'.

34 declare var xdescribe: Mocha.IContextDefinition;
               ~~~~~~~~~

node_modules/@types/mocha/index.d.ts(34,13): error TS2300: Duplicate identifier 'xdescribe'.

39 declare var it: Mocha.ITestDefinition;
               ~~

node_modules/@types/mocha/index.d.ts(39,13): error TS2300: Duplicate identifier 'it'.

40 declare var xit: Mocha.ITestDefinition;
               ~~~

node_modules/@types/mocha/index.d.ts(40,13): error TS2300: Duplicate identifier 'xit'.
JakubMatyka commented 7 years ago

Hi. Thank for your effort with this plugin but can you trace what`s wrong? The same happens when using npm install

Romakita commented 7 years ago

hi @JakubMatyka,

log-debug isn't maintained. Look on ts-log-debug ;)

For your problem, have you excluded the node_modules directory in your tsconfig.json ? See you.