Open joshiparthin opened 5 years ago
+1 same issue. Looks like we need to check for undefined in resolveAppDir
in utils.js
?
Something like this, works:
function resolveAppDir(...args) {
for (let arg of args) {
if (arg != undefined) {
return path.resolve(getAppDir(), ...args);
}
}
}
Actually, the issue is in old frappe.conf.js in docs and the new structure used in the repo. entryHtml
srcDir
values were undefined.
Just made the project structure following the docs: https://github.com/frappe/frappejs/blob/master/docs/app.md
Cant get started with it... throwing some error: