I am trying to build react prod docker container with Azure DevOps pipelines. After I upgrade my build environment and code, Pipeline failed. After some research I add “–node-flags –max-old-space-size=8192” statement my build command. But it didn’t matter. I also try tried relevant node containers for a build, it didn’t work. Dockerfile: My package.json file: Thank you for help! Answer
Tag: out-of-memory
How can I use the .findIndex() method be used in spliced arrays in Javascript?
I’ve been working throught the introduction to JavaScript course on Codecademy https://www.codecademy.com/courses/introduction-to-javascript/lessons/javascript-iterators/exercises/find-index and thought I would try to extend one of their ideas to search for all strings within an array that start with the string ‘s’. I define an example array called animals and populate it with some strings. First I use the .findIndex() method to find the first