- express --view=hbs myapp [node version 12.18.2]
Getting error like this
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
Install express generator as a root sudo npm install -g express-generator
sudo npm install -g express-generator
Copyright © 2021 Jogjafile Inc.
Install express generator as a root
sudo npm install -g express-generator