-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset compilation fails (Duplicate index signature) #3715
Comments
Can't reproduce, even with a fresh install. Do you have a |
@himdel I added a |
Oh. :( Commented 5 minutes after this issue being solved by removing the dependencies. |
Must be something obscure :) Tried your yarn.lock and still nothing. But, hopefully this is fixed by the removal now :) |
Assets do not compile for me with fresh clone (
a63c3559b
) ofmanageiq-ui-classic
. Runningbundle exec rake update:ui
, TypeScript complains about duplicate index signature:My rather uninformed guess is that
angular-mocks
is the culprit: The error is signaled in the/node_modules/@types/angular/jqlite.d.ts
, but there is also/node_modules/@types/angular-mocks/node_modules/@types/angular
with the samejqlite.d.ts
file. Maybe this is somehow causing the conflict?With a workaround based on @himdel ’s suggestion, assets are compiled and rake command succeeds if I remove
@types/angular
and@types/angular-mocks
from"devDependencies"
inpackage.json
. Removing only@types/angular-mocks
does not help.You can see the standard output and the Yarn error log here: https://gist.github.com/Glutexo/570548c450e4474ef8b9c86819952b6d
Happens on macOS –
Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64
The text was updated successfully, but these errors were encountered: