https://richhewlett.com/RichHewlett.comRichard Hewlett's software development blog. 2024-02-27T11:27:28+00:00 Rich Hewlett https://richhewlett.com/ Jekyll © 2024 Rich Hewlett /assets/img/favicons/favicon.ico /assets/img/favicons/favicon-96x96.png Homebrew, Curl & HTTP/2 Stream Error2023-10-06T18:34:07+01:00 2024-02-26T17:21:17+00:00 https://richhewlett.com/2023/10/06/homebrew-curl-http-2-stream-error/ Rich Hewlett I recently had a problem installing a homebrew package on my MacBook, that was related to the version of CURL on the device. Problem Attempting to install the Azure CLI via homebrew using the usual command below resulted in the error below. brew install azure-cli curl: (18) HTTP/2 stream 1 was reset Error: azure-cli: Failed to download resource “azure-cli” Download Failed It seem... List all Transitive Dependencies in your .Net Core Project2022-12-03T19:35:59+00:00 2024-02-26T17:21:17+00:00 https://richhewlett.com/2022/12/03/list-all-transitive-dependencies-in-your-net-core-project/ Rich Hewlett Sometimes you need to find out what packages a .Net Core project or solution depends on quickly and whilst you can find this information in the Visual Studio IDE or by opening the project files individually and reading them, there is a quick and easy way using the “dotnet list package” command. What’s more you can also list the packages that your dependencies also have dependencies on, which is... Support multiple JS module formats with rollup2022-11-05T09:52:27+00:00 2024-02-26T17:21:17+00:00 https://richhewlett.com/2022/11/05/support-multiple-js-module-formats-with-rollup/ Rich Hewlett Having recently needed to produce a shared JavaScript npm package for internal sharing of functionality between applications I naively failed to consider the impact of the various competing module formats at large in the JS world, but luckily the solution is straight forward with the help of ‘rollup’. The requirement was to make a shared JavaScript library to be shared between numerous React/N... Window is undefined during SSR2022-04-13T17:27:43+01:00 2024-02-26T17:21:17+00:00 https://richhewlett.com/2022/04/13/window-is-undefined-during-ssr/ Rich Hewlett If when server side rendering a React application (other JS frameworks are available) that makes use of the global window object during the initial render, or perhaps the global document object, then you may get an error stating “window is undefined”. This is because when the app is being rendered on the server side on the web server it is not within the browser environment and therefore it can... NodeJS & HTTP Error 4312022-04-04T20:55:22+01:00 2024-02-26T17:21:17+00:00 https://richhewlett.com/2022/04/04/nodejs-http-error-431/ Rich Hewlett I recently found error responses from a Node JS microservice with HTTP error “431 Request Header Fields Too Large” but at first it seemed to be intermittent dependent on the test environment being used. Further investigations though found it to be a Node setting on the max header size combined with Node JS version changes and a few large cookies. Error 431 Request Header Fields Too Large HTTP ...