Written by

UKK Köln
Question Dmitrii Baranov · Sep 25, 2023

ZPM: install vs install -dev

Hello, I'm developing a custom ZPM package and debugging the installer.

In default mode (zpm install), the process terminates with the following error: ERROR! : <COMMAND>LoadNewModule+133^%ZPM.PackageManager.Developer.Utils.1 *NoTransaction

With the -dev flag (zpm install -dev) everything works fine. What could be the problem?

Product version: IRIS 2023.2

Comments

Julius Kavay · Sep 25, 2023

Usually, you get a <COMMAND> error, if you call a (class)method as an expression but the called method does not provide a value 

Method SomethingErr()
{
    write"Hello"
}

Method SomethingOk()
{
    quit"Hello"
}


do..SomethingErr() // this is OKdo..SomethingOK()  // this is OKwrite..SomethingErr() // gives a <COMMAND> errorwrite..SomethingOK()  // is OK
0
Dmitrii Baranov  Sep 25, 2023 to Julius Kavay

Interesting... I'm actively using the Write method, but for emitting console messages using constant strings. Anyway, thanks

0