-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
questionFurther information is requestedFurther information is requested
Description
This summary is from Lin Guopeng.
Compile
When he build the Kuai, the error sizzele error comes out. To solve this problem, he added the dom to the tsconfig.json in cli package.
DefinitelyTyped/DefinitelyTyped#52383
npm run build
> kuai@0.0.1 build
> npm run build:lib
> kuai@0.0.1 build:lib
> lerna run build
lerna notice cli v7.3.0
✔ @ckb-js/kuai-typeorm:build (2s)
✔ @ckb-js/kuai-common:build (4s)
✔ @ckb-js/kuai-docker-node:build (2s)
✔ @ckb-js/kuai-core:build (4s)
✖ @ckb-js/kuai-cli:build
> @ckb-js/kuai-cli@0.0.1-alpha.2 build
> tsc
../../../../node_modules/@types/sizzle/index.d.ts(14,82): error TS2304: Cannot find name 'Document'.
../../../../node_modules/@types/sizzle/index.d.ts(14,93): error TS2304: Cannot find name 'DocumentFragment'.
../../../../node_modules/@types/sizzle/index.d.ts(15,44): error TS2304: Cannot find name 'Document'.
../../../../node_modules/@types/sizzle/index.d.ts(15,55): error TS2304: Cannot find name 'DocumentFragment'.
../../../../node_modules/@types/sizzle/index.d.ts(41,58): error TS2304: Cannot find name 'Document'.
npm ERR! Lifecycle script `build` failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @ckb-js/kuai-cli@0.0.1-alpha.2
npm ERR! at location: /Users/guopenglin/test_kuai/kuai/packages/cli
✔ @ckb-js/kuai-io:build (4s)
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
> Lerna (powered by Nx) Ran target build for 9 projects (14s)
✔ 5/6 succeeded [0 read from cache]
✖ 1/6 targets failed, including the following:
- @ckb-js/kuai-cli:buildMetadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
Type
Projects
Status
📋 Backlog