HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.17k stars 4.3k forks source link

run yarn build ERR! #280

Open Maha-code-star opened 2 years ago

Maha-code-star commented 2 years ago

yarn run v1.22.17 $ lerna run build lerna notice cli v3.22.1 lerna info versioning independent lerna info Executing command in 5 packages: "yarn run build" lerna info run Ran npm script 'build' in '@oyster/common' in 32.0s: $ run-s build-ts build-css $ tsc $ less-watch-compiler src/ dist/lib/ --run-once Running less-watch-compiler once. lerna info run Ran npm script 'build' in '@metaplex/cli' in 59.5s: $ tsc -p ./src lerna ERR! yarn run build exited 1 in 'web' lerna ERR! yarn run build stdout: $ next build info - Loaded env from /Users/mahasaad/Desktop/solana/metaplex-master/js/packages/web/.env.production info - Loaded env from /Users/mahasaad/Desktop/solana/metaplex-master/js/packages/web/.env info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5 info - Checking validity of types... info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lerna ERR! yarn run build stderr: Failed to compile.

./src/views/packCreate/components/Header/data.ts:4:14 Type error: Property '3' is missing in type '{ 0: { title: string; }; 1: { title: string; }; 2: { title: string; }; 4: { title: string; }; }' but required in type 'Record<CreatePackSteps, HeaderContentRecord>'.

2 | import { HeaderContentRecord } from './interface'; 3 |

4 | export const HEADER_CONTENT: Record<CreatePackSteps, HeaderContentRecord> = { | ^ 5 | [CreatePackSteps.SelectItems]: { 6 | title: 'Select items for your Pack Listing', 7 | }, error Command failed with exit code 1.

lerna ERR! yarn run build exited 1 in 'web' lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

FloBorg commented 2 years ago

similar issue on Monterey - Mac