Closed jayhealey closed 5 years ago
What is your gulp version?
Asking because this was the first Google search result on your error: https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node
@niektenhoopen Good point. I didn't have it installed - my bad.
However, after installing it I'm seeing no change in the error message.
Apparently the combination of node 12 and gulp 3 doesn't work.
Here's how to unlink Node and install v10 using Brew:
brew unlink node
brew install node@10
brew link node@10 --force
Then in the ticketbeast folder make sure to:
rm -rf node_modules && npm install
Then to run mix:
npm run dev
Done!
Installing an older version might not be possible for all folks, and reinstalling it on every other project they work on. I personally use a tool called nvm.
It allows you to install multiple node versions simultaneously on your machine via
nvm install node
nvm install 10
or whatever version you like, and you can easily switch which version is used by
nvm use {version}
where version is the version you'd like to use.
To check all installed versions just run nvm list
@reduxx Ah, great to know - thank you very much. Front-end tooling is not my speciality so this is very helpful.
EDIT: Solved - see last comment!
Description
I'm on module 9, on the final video Moment of Truth and currently unable to test the payment with Stripe using the UI.
I hadn't touched any of the front-end stuff yet, so I've merged in the changes from this commit.
Turns out the the javascript which uses the local API was commented out, so I've uncommented it out and ran
npm run dev
.I then see the following:
Error message
Any help is appreciated - thank you.
Versions