Bug on build with mergeDeep
See original GitHub issueIntended outcome:
Here are version of packages that I’m using:
"apollo-angular": "1.0.1",
"apollo-angular-link-http": "1.0.1",
"apollo-cache-inmemory": "1.3.9",
"apollo-client": "2.4.5",
"apollo-link": "1.2.3",
"apollo-link-context": "1.0.9",
"apollo-link-http": "1.5.5",
Actual outcome:
Running ng build produces
node_modules/apollo-utilities/lib/util/mergeDeep.d.ts(1,214): error TS1005: ',' expected.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:20 (6 by maintainers)
Top Results From Across the Web
ITP: mergedeep -- Deep merge function for Python
Bug #1006479: ITP: mergedeep -- Deep merge function for Python ... This package is a new build dependency for python-mkdocs and will be...
Read more >2000350 – Review Request: python-mergedeep
Bug 2000350 ; 2021-09-01 22:48 UTC by Sandro Mani · 2021-09-13 08:25 UTC (History) · 3 users (show) · Doc Type: If docs...
Read more >Debian Bug report logs - #1006479 ITP: mergedeep -- Deep merge ...
It provides various merge strategies (Replace, Additive, Typesafe replace, or Typesafe additive). This package is a new build dependency for python-mkdocs and ...
Read more >immutable JS - immutable deep merge is overriding the object
We need a "mergeDeepFromTop". It makes no sense to me that you can mergeDeep as long as the objects you want to merge...
Read more >ag-Grid mergeDeep createFinalParams bug repro - Plunker
... 'plugin-babel': 'npm:systemjs-plugin-babel@0.0.25/plugin-babel.js', 'systemjs-babel-build': 'npm:systemjs-plugin-babel@0.0.25/systemjs-babel-browser.js' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
Wanted to share my observations in case it assists others. A little back story: we have a large enterprise application codebase that was working, but seemingly breaks following running an ‘npm install’ - error is the reported deepMerge. We can’t currently migrate to Angular 7, and Angular 6 of course doesn’t support TypeScript 3… So we find ourselves having to find a workaround until we can tackle migration - which is unfortunate. I am sharing this in case it assists others to avoid wasting 2 days.
Our project’s relevant dependencies from package.json:
Our project’s relevant dev dependencies from package.json:
Node/NPM:
I’ve found two workarounds that get us building, though we have yet to do the testing that will be needed to vet if this is actually a workable solution (e.g. everything behaving at runtime)… In any case, either of the following will get us building again:
As mentioned, performing either of the above in our codebase results in a working build.
As mentioned, I’ve tracked down 3 versions of apollo-utilities at play within the various nested node_modules: 1.2.1, 1.0.22, 1.1.2.
For the interested, here is what I am seeing when I inspect the package-lock.json following npm install:
@benjamn I’m seeing this error with typescript v3.3.3333.
Edit: Actually, I’m using Typescript v3.3.3333, but a package has a dependency instead of a peer dependency, pinning the version at 2.2. So it’s not actually running Typescript 3 for me:
https://github.com/prisma/serverless-plugin-typescript/blob/master/package.json
So, ignore this, it’s not actually happening in v3.