I have finished building my first application when RADZEN, a very simple CRUD reading from a local postgresql on my Mac. All looks good but when I try to run I get the following error.. I tried restarting but the problem persists.
Thanks
[2019-03-02 02:59:54.947] [error] ReferenceError: /Applications/Radzen.app/Contents/Resources/node_modules/@radzen/angular-generator/dist/templates/environment.ts.ejs:8
6| export const environment = {
7| <%_ if (application.serverVersion == '2') { _%>
8| <%_ if (mode == 'deploy') { %>
9| serverMethodsUrl: '<%= baseHref %>/',
10| <% } else { _%>
11| serverMethodsUrl: '<%- application.https ? 'https' : 'http' %>://localhost:<%= application.serverPort || 5000 %>/',
mode is not defined
at eval (eval at compile (/Applications/Radzen.app/Contents/Resources/node_modules/ejs/lib/ejs.js:495:12), :16:8)
at returnedFn (/Applications/Radzen.app/Contents/Resources/node_modules/ejs/lib/ejs.js:524:17)
at Object.exports.render (/Applications/Radzen.app/Contents/Resources/node_modules/ejs/lib/ejs.js:332:37)
at /Applications/Radzen.app/Contents/Resources/node_modules/@radzen/angular-generator/src/renderTemplate.ts:11:27
[2019-03-02 03:05:59.558] [error] ReferenceError: /Applications/Radzen.app/Contents/Resources/node_modules/@radzen/angular-generator/dist/templates/environment.ts.ejs:8
6| export const environment = {
7| <%_ if (application.serverVersion == '2') { _%>
8| <%_ if (mode == 'deploy') { %>
9| serverMethodsUrl: '<%= baseHref %>/',
10| <% } else { _%>
11| serverMethodsUrl: '<%- application.https ? 'https' : 'http' %>://localhost:<%= application.serverPort || 5000 %>/',
mode is not defined
at eval (eval at compile (/Applications/Radzen.app/Contents/Resources/node_modules/ejs/lib/ejs.js:495:12), :16:8)
at returnedFn (/Applications/Radzen.app/Contents/Resources/node_modules/ejs/lib/ejs.js:524:17)
at Object.exports.render (/Applications/Radzen.app/Contents/Resources/node_modules/ejs/lib/ejs.js:332:37)
at /Applications/Radzen.app/Contents/Resources/node_modules/@radzen/angular-generator/src/renderTemplate.ts:11:27