Whenever I trigger a build it fails. When I clean the cache before, it also fails .The log provides an error message but it is not clear to me. Locally I am able to build, using yarn. Both netlify environment and my local installed Yarn version are the same = v 1.22.4. Below tha last error code snippet from the log
Thanks. You’re using v12.18.0 on Netlify- do you want to try setting NODE_VERSION = 10 in your environment variables and seeing if that fixes things for you?
Thanks,
I added the env variable and build now succeeds. Now when I request the netlify generated url I get a message ‘Page Not Found Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.’.
I renamed the folder the applkication lives in but angular.json architect.build.options.outputPath was still pointing to the old location so that’s why the page could not be found after the build…