as official tutorial said:
Be sure to send the Pug runtime (node_modules/pug/runtime.js) to the client in addition to the template that you just compiled.
but actually cannot find out in node_modules/pug folder. in addition, i searched each sub-folders and each files, still no. can anyone help on this?
When you install pug via
"npm i --save pug"
then innode_modules
folder some folder are added which are related to pug. At that time a folder namednode_modules/regenerator-runtime
is also added. You can findruntime.js
at that folder.