An error on a coding example for running Mojito on windows
In this example
An error occured when i made the adding_view_engines code example.
the Mojit default worked fine in views/default_ve.hb.html but the ejs views/added_ve.ejs.html returns an error
Error: ENOENT, no such file or directory 'C:\MyComp\mojito\project\adding_view_engines[object Object]'
It is the only example that didnt work out as it was supposed to for me.
I assume the ejs module's interpretation isnt being received by the mojito on windows, in some fashion. The ejs module downloaded and unwrapped into the app , without issue but something is wrong in the link up. Or, perhaps i have done something wrong that the document didnt refer too.
When you say you downloaded and unwrapped the EJS module, did you use npm to install the module or just download, unzip, and copy the package to your application directory? When you use npm to install a package, the package will be installed in the node_modules directory where Node.js can find it.
I opened a github issue here
I dont know what a repro case is? please inform me and I will edit the issue. And, good point, i assumed you guys had double checked mojito versions in unix machines with all the examples.
hello. I used npm to install it. the node_modules folder has the package installed within. Thanks for getting my terms correct