-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
When using shank defined in the workspace cargo.toml, with shank = { workspace = true }
in the crate cargo.toml. The script fails to generate IDLs.
$ pnpm generate:idls
> @ generate:idls /Users/<USER>/my-program
> zx ./scripts/generate-idls.mjs
/Users/<USER>/my-program/node_modules/.pnpm/[email protected]/node_modules/text-table/index.js:59
return m ? m.index + 1 : c.length;
^
TypeError: Cannot read properties of undefined (reading 'length')
at dotindex (/Users/<USER>/my-program/node_modules/.pnpm/[email protected]/node_modules/text-table/index.js:59:32)
at /Users/<USER>/my-program/node_modules/.pnpm/[email protected]/node_modules/text-table/index.js:11:21
at Array.forEach (<anonymous>)
at forEach (/Users/<USER>/my-program/node_modules/.pnpm/[email protected]/node_modules/text-table/index.js:73:31)
at /Users/<USER>/my-program/node_modules/.pnpm/[email protected]/node_modules/text-table/index.js:10:9
at Array.reduce (<anonymous>)
at reduce (/Users/<USER>/my-program/node_modules/.pnpm/[email protected]/node_modules/text-table/index.js:63:30)
at module.exports (/Users/<USER>/my-program/node_modules/.pnpm/[email protected]/node_modules/text-table/index.js:9:20)
at Rustbin.check (/Users/<USER>/my-program/node_modules/.pnpm/@[email protected]/node_modules/@metaplex-foundation/rustbin/dist/src/rustbin.js:51:55)
at async rustbinMatch (/Users/<USER>/my-program/node_modules/.pnpm/@[email protected]/node_modules/@metaplex-foundation/rustbin/dist/src/rustbin.js:146:51)
Node.js v23.5.0
ELIFECYCLE Command failed with exit code 1.
Is this the intended behavior?
Metadata
Metadata
Assignees
Labels
No labels