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
[16:36:03] Using gulpfile ~/../hox/gulpfile.js
[16:36:03] Starting 'build'...
[16:36:03] Starting 'clean-lib'...
[16:36:03] Finished 'clean-lib' after 2.4 ms
[16:36:03] Starting 'copy-files'...
[16:36:03] Finished 'copy-files' after 78 ms
[16:36:03] Starting 'ts'...
/.../node_modules/@types/testing-library__react/index.d.ts(13,49): error TS7016: Could not find a declaration file for module '@testing-library/dom'. '/.../node_modules/@testing-library/dom/dist/index.js' implicitly has an 'any' type.
Try `npm install @types/testing-library__dom` if it exists or add a new declaration (.d.ts) file containing `declare module '@testing-library/dom';`
/.../node_modules/@types/testing-library__react/index.d.ts(16,15): error TS7016: Could not find a declaration file for module '@testing-library/dom'. '/.../node_modules/@testing-library/dom/dist/index.js' implicitly has an 'any' type.
Try `npm install @types/testing-library__dom` if it exists or add a new declaration (.d.ts) file containing `declare module '@testing-library/dom';`
TypeScript: 2 semantic errors
TypeScript: emit succeeded (with errors)
[16:36:10] 'ts' errored after 6.67 s
[16:36:10] Error: TypeScript: Compilation failed
at Output.mightFinish (/.../node_modules/gulp-typescript/release/output.js:130:43)
at applySourceMap.then.appliedSourceMap (/.../node_modules/gulp-typescript/release/output.js:65:22)
[16:36:10] 'build' errored after 6.75 s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
使用yarn workspace方式时,yarn build的时候缺少库 @types/testing-library__dom
The text was updated successfully, but these errors were encountered: