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
{{ message }}
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
There is an issue with ergo compile running ergo compile ./model/model.cto ./logic/logic.ergo in the latest version (23) of Ergo obtained through npm install -g @accordproject/ergo-cli or npm install -g @accordproject/ergo-cli@0.23
I tested this on both my Windows and Linux development systems and experienced the same issue.
Expected Behavior
ergo compile to return Compiling Ergo './logic/logic.ergo' -- './logic/logic.js'
Current Behavior
Unknown arguments: ./model/model.cto, ./logic/logic.ergo is returned.
Possible Solution
Steps to Reproduce
npm install -g @accordproject/ergo-cli@0.23 or simply npm install -g @accordproject/ergo-cli verifying its version 23
run ergo compile against the model.cto and logic.ergo (i.e. ergo compile model.cto logic.ergo)
Context (Environment)
Desktop
OS: Windows 2012 R2 and Ubuntu 22.04
Browser: [e.g. Chrome, Safari]
Version: [e.g. 0.22.15]
Detailed Description
NOTE: After reverting to an earlier version as in npm install -g @accordproject/ergo-cli@0.22 the process worked as expected. Running ergo compile model.cto logic.ergo returned Compiling Ergo './logic/logic.ergo' -- './logic/logic.js' as expected.
Possible Implementation
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report 🐛
There is an issue with ergo compile running ergo compile ./model/model.cto ./logic/logic.ergo in the latest version (23) of Ergo obtained through npm install -g @accordproject/ergo-cli or npm install -g @accordproject/ergo-cli@0.23
I tested this on both my Windows and Linux development systems and experienced the same issue.
Expected Behavior
ergo compile to return Compiling Ergo './logic/logic.ergo' -- './logic/logic.js'
Current Behavior
Unknown arguments: ./model/model.cto, ./logic/logic.ergo is returned.
Possible Solution
Steps to Reproduce
Context (Environment)
Desktop
Detailed Description
NOTE: After reverting to an earlier version as in npm install -g @accordproject/ergo-cli@0.22 the process worked as expected. Running ergo compile model.cto logic.ergo returned Compiling Ergo './logic/logic.ergo' -- './logic/logic.js' as expected.
Possible Implementation
The text was updated successfully, but these errors were encountered: