You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Importing a file that doesn't exist in Less doesn't result in a helpful error, instead you receive a index.stache:8: Unable to find key "this.routeData.page".
Steps to reproduce:
npm install -g donejs@3
donejs add app place-my-order --yes
cd place-my-order
donejs develop
Load page and note no error on server's command line
Open styles.less
Add import that isn't installed yet: @import '../node_modules/@mdi/font/css/materialdesignicons.min.css';
donejs develop
Note error on the server's command line when page is loaded: index.stache:8: Unable to find key "this.routeData.page".
How often can you reproduce it?
Description:
Importing a file that doesn't exist in Less doesn't result in a helpful error, instead you receive a
index.stache:8: Unable to find key "this.routeData.page".
Steps to reproduce:
npm install -g donejs@3
donejs add app place-my-order --yes
cd place-my-order
donejs develop
styles.less
@import '../node_modules/@mdi/font/css/materialdesignicons.min.css';
donejs develop
index.stache:8: Unable to find key "this.routeData.page".
npm install --save @mdi/font
Expected results:
A proper error message. The template error is a rabbit hole that isn't the real problem.
Actual results:
Misleading error message.
Note: This can be done with ANY missing LESS import. The above is just an example.
Environment:
The text was updated successfully, but these errors were encountered: