Open azaceta opened 4 years ago
Thanks @azaceta - will take a look and fix.
I have modified the files as suggested above by @azaceta , but I now get a different error.. `Pulling pipeline base image latest ... fs.js:27 const { Math, Object } = primordials; ^
ReferenceError: primordials is not defined
at fs.js:27:26
at req_ (/home/pipeline/de3f0f2a-48ad-4fa9-add9-d7b65a0031a7/node_modules/natives/index.js:143:24)
at Object.req [as require] (/home/pipeline/de3f0f2a-48ad-4fa9-add9-d7b65a0031a7/node_modules/natives/index.js:55:10)
at Object.
Finished: FAILED`
@finbarro that was the error for me before update gulp in the packages.json. Have you updated that one to ^4.0.0?
Hi Asier,
No, that was the error I got after I made the changes you suggested package.json and gulpfile.js in your OP. The error I got originally was pretty vague and unhelpful.
Preparing to start the job... Pipeline image: latest Preparing the build artifacts... Pulling pipeline base image latest ... Finished: FAILED
So, that is when I contacted once of the course creators who shared the link to your OP with me.... seems strange that I now get the error which your fix originally resolved!
Cheers, Fin.
Hi,
This pull request should fix this issue: https://github.com/open-toolchain/cloud-native-toolchain-tutorial-app/pull/4
Regards
The merge request has been merged: https://github.com/open-toolchain/cloud-native-toolchain-tutorial-app/pull/4
For me, this issue can be now closed, all problems in this issue has been addressed.
The pipeline fails at the "Run Unit Test" step due to an error in fs.js, this is probably due to the node version not being compatible with gulp 3. To fix it (locally) I've:
Not sure how to contribute it to the project.