I don't know if this is the right place to report issues about Microsoft.VisualStudio.JavaScript.SDK... but i couldn't find any better place...
If package.json contains "similar" npm dependencies (similar in the sense that striping out non alphanumeric chars from their names, the remaining parts are equal) the task GeneratePackageJsonProps invoked from target GeneratePackageJsonProps silently fails.
Raising the build logging (i.e. to verbose) appears an error (the task is trying to add duplicated keys in a dictionary).
In this case the file package.g.props is not gegerated and then there are a lot of issues (i.e. npm run build is not executed...)
Example of "conflicting" dependecies (don't ask me why but yes, i need both in my project!!!):
in this case both names @babylonjs/inspector and babylonjs-inspector are "mangled" by the task GeneratePackageJsonProps and becomes babylonjsinspector causing the issue...
I don't know if this is the right place to report issues about
Microsoft.VisualStudio.JavaScript.SDK
... but i couldn't find any better place...If package.json contains "similar" npm dependencies (similar in the sense that striping out non alphanumeric chars from their names, the remaining parts are equal) the task
GeneratePackageJsonProps
invoked from targetGeneratePackageJsonProps
silently fails. Raising the build logging (i.e. to verbose) appears an error (the task is trying to add duplicated keys in a dictionary). In this case the filepackage.g.props
is not gegerated and then there are a lot of issues (i.e.npm run build
is not executed...)Example of "conflicting" dependecies (don't ask me why but yes, i need both in my project!!!):
in this case both names
@babylonjs/inspector
andbabylonjs-inspector
are "mangled" by the taskGeneratePackageJsonProps
and becomesbabylonjsinspector
causing the issue...i found a workaround using an npm alias: