Solana: Anchor CLI idl convert inside project: unrecognized subcommand

Oshchybka Overform IDL in the shipment: unchanged submarine

Solana: Anchor CLI idl convert inside project: unrecognized subcommand

The anchor of the CLI IDL command is reported to convert the conversion as it is, is the collapse of delivery of IDL code to the IDL in the correct project. The problem comes from the fact that the IDL conversion commander is filled in new abundant work or library.

Why apply a problem

In the launched Comandas converts IZL to a newly plentiful labor space or library, an anchor may not be covered with anchor and configuration. This is related to nutrition that they can manage their intravenous state and expression.

prevailing paths and decrees

To resolve this problem, dissatisfied with the pursuing excitement:

1.

Initially, to launch the conversion of Coomando IDL unprecedented by the new worker or library, try to indicate the “-Dl-in project” option behind which the road follows the world.

Primer:

`Bash

Anchor-Idl-in-Project/Path/To/Your/Project-Idl-Out/Path/to/Exit

This is the type of IDL code in the designated project without creating the division of the workspace or library.

2.

If you need to fill in a few of the IDL in the same and the volume of the same project, the dissatisfaction with the creation of anchor projects, the use of Commond Anchor Init and the launch of the Comand IDL compound.

Primer:

Bash

Create the correctional project

Anchor Init/Path/To/Your/Project

#Down in project directory

CD/PATH/TO/YOUR/Project

Convert IDL code

IDL order -o /path/to/utput.idl- in-project/pat/to/your/Project

This lingerie is the new abundant labor that covers the healing projects.

3.
Use anchor Deps' for advance automation service

The second potential resolution involves the use of "anchor Dep" for automation of intervals of interconnections and their IDL code. This can help kill that right -wing potators are included in the formation of the IDL code.

To turn onanchor DEPS, start:

Bash

Anchor DEPS INIT-EAL-IDL-IN-PROJECT/PATH/TO/YOUR/PROJECT

This is a new anchor project with unusual causes for automatic.

Conclusion

IDL code is looking for -Cotta projects, and Komanda `IDL conversion ‘may not work either. Using one of these arrangements or decrees, you are able to resolve the problem and pre -form your IDL code in the contractor.

Main options USPolzing

  • Create a new anchor project with IDL cuttings

  • Acquisition of Automation Automation between Projects and their IDL Code

By experiencing these options, you can overcome working with Yakari and IDL conversations.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *