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
If you enter invalid module name which doesn't exist in KPM table for example, instead of displaying some nice message, it throws this:
error: "kpm" wywalił się. <unknown> jest teraz pokryty chorobą.
2017-08-15T13:42:46.291Z - debug: Error: No type exists to perform that operation.
at /var/www/Concierge/modules/kpm/src/types.js:21:15
at undefined.throw (native)
at step (/var/www/Concierge/modules/kpm/src/types.js:1:260)
at /var/www/Concierge/modules/kpm/src/types.js:1:459
at process._tickCallback (internal/process/next_tick.js:109:7)
Might want to change that a little, at least for non-debug mode, when it displays just error: "kpm" threw up. <unknown> is now covered in sick., without debug: Error: No type exists to perform that operation..
The text was updated successfully, but these errors were encountered:
And now I thought it might also correct typos by suggesting module names if user typed something very similiar to one of the available modules' names from KPM table.
Technically the error message is correct. It does the following:
Search the kpm table
See if we can use it as a url
Search npm for a package of the same name
Each of these operations are a "type" ("git", "url", "npm").
I agree that the error message could be more user friendly and less cryptic though. Suggesting alternatives is something I was hoping to integrate into help some day. Help would suggest what you could have typed and correct it. There are a multitude of issues there (the no-americano module is a self created problem in this respect).
If you have time, both of these enhancements are relatively simple to achieve (I just don't have time to do them myself right now).
If you enter invalid module name which doesn't exist in KPM table for example, instead of displaying some nice message, it throws this:
Might want to change that a little, at least for non-debug mode, when it displays just
error: "kpm" threw up. <unknown> is now covered in sick.
, withoutdebug: Error: No type exists to perform that operation.
.The text was updated successfully, but these errors were encountered: