I was following this tutorial https://www.digitalocean.com/community/tutorials/how-to-use-ejs-to-template-your-node-application however I receive this error variable is not defined
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @cam zd,
On which step did you receive the error variable is not defined? Additionally, have you tried following the tutorial from start to finish again after the error was received?
One other thing, have you followed the tutorial and done everything in it step by step? I’m asking these questions as usually, there was something small missing which is hard to tell unless you follow the tutorial to the letter.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.