-
Notifications
You must be signed in to change notification settings - Fork 492
Duplicate identifier 'URL'. #314
Comments
Changing
EDIT:
|
Same here. Windows 10, node v 10.0.0, npm 4.6.1 |
Great Thanks. It works on V9.6.7. |
Node JS 10.0 according to release notes introduces URL as new global |
So, now it conflicts with typescript lib.d.ts files. And this issue completely unrelated to current repo. |
Probably a noob question/issue here, but is there a workaround in the meantime? Attempting to downgrade to
output:
|
@dereke55 you must target devDependencies with the "-D" flag:
|
Thanks @GoodDay2You , it works for me, all duplicate errors gone. |
I updated version to |
Thanks..man
|
Depends on your version of npm maybe it might not downgrade if you've already got 10.0.0 installed. The safest thing to do is probably to edit |
Thanks again @GoodDay2You , worked like a charm |
FYI: However, this might no longer be required regarding this comment: |
I have just tested a fresh install of |
Environment
create-react-app my-app --scripts-version=react-scripts-ts
cd my-app
npm start
Then got the error above
The text was updated successfully, but these errors were encountered: