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
When I run tsc in the root directory, I get lots of errors, and this is after responding to many of them by using npm to install various modules:
packages/core/stories/createStyleObject.stories.ts:1:10 - error TS2614: Module '"@emotion/css"' has no exported member 'css'. Did you mean to use 'import css from "@emotion/css"' instead?
1 import { css } from '@emotion/css';
~~~
packages/metrics/scripts/build.ts:3:20 - error TS2307: Cannot find module 'dedent' or its corresponding type declarations.
3 import dedent from 'dedent';
~~~~~~~~
packages/metrics/scripts/build.ts:4:20 - error TS2307: Cannot find module 'p-queue' or its corresponding type declarations.
4 import PQueue from 'p-queue';
~~~~~~~~~
packages/metrics/scripts/build.ts:5:25 - error TS2307: Cannot find module 'cli-progress' or its corresponding type declarations.
5 import cliProgress from 'cli-progress';
~~~~~~~~~~~~~~
packages/metrics/scripts/build.ts:6:31 - error TS2307: Cannot find module '@capsizecss/unpack' or its corresponding type declarations.
6 import { Font, fromUrl } from '@capsizecss/unpack';
~~~~~~~~~~~~~~~~~~~~
...
Maybe there's some implicit knowledge I'm supposed to have about how to build such projects for use in a website?
The text was updated successfully, but these errors were encountered:
Fixed an error in the site when building from the root level, I havent observed any of the above. The repo is a mono repo with a few packages and does not generate a single js file.
I would suggest installing @capsizecss/core into your project and consuming it that way.
When I run
tsc
in the root directory, I get lots of errors, and this is after responding to many of them by using npm to install various modules:Maybe there's some implicit knowledge I'm supposed to have about how to build such projects for use in a website?
The text was updated successfully, but these errors were encountered: