Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Duplicate identifier 'URL'. #314

Closed
Closed
@onlydave

Description

@onlydave
Failed to compile.

/apps/my-app/node_modules/@types/node/index.d.ts
(2381,15): Duplicate identifier 'URL'.

Environment

react-scripts-ts@2.15.1
npm -v 6.0.0 (tried @4 too)
node -v v8.11.1

create-react-app my-app --scripts-version=react-scripts-ts
cd my-app
npm start

Then got the error above

├── @types/jest@22.2.3
├── @types/node@10.0.0
├─┬ @types/react@16.3.12
│ └── csstype@2.4.1
├─┬ @types/react-dom@16.0.5
│ ├── @types/node@10.0.0 deduped
│ └── @types/react@16.3.12 deduped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions