Fix “primordials is not defined” Gulp error with after upgrading Node

in Code Write a comment

After switching to a new computer I installed the latest version of Node (v17). That was the cause of the “primordials is not defined” error.

A quick solution would be to downgrade the Node. I’ve found out that Node version 12 is compatible with Gulp version 3.*

How to check Node version in terminal

node --version

If you’re using Node version 14 or above, just downgrade it to version 12.

How to downgrade Node

brew unlink node

brew install [email protected]

brew link [email protected]

I hope you learned something new today. And if you did, please leave a comment and check other Vue.js tutorials.

Renat Galyamov

Want to share this with your friends?

A collection of UI components for
Bootstrap 4/5 and Vue.js

Get now

Write a Comment