我最近开始使用涡轮增压器。/apps
我在目录中添加了一个新应用程序,api
通过执行以下操作调用
$ cd apps
$ nest new api
现在,如果我尝试运行 nest api
$ cd api
$ yarn start:dev
它失败并出现以下错误,
../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:3100:14 - error type LibraryManagedAttributes<C, P>dAttributes'.
~~~~~~~~~~~~~~~~~~~~~~~~
3100
../../node_modules/@types/react/index.d.ts:3100:14
3100 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
~~~~~~~~~~~~~~~~~~~~~~~~
'LibraryManagedAttributes' was also declared here.
../../node_modules/@types/react/index.d.ts:3100:14 - error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
3100 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
~~~~~~~~~~~~~~~~~~~~~~~~
../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:3100:14
3100 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
~~~~~~~~~~~~~~~~~~~~~~~~
'LibraryManagedAttributes' was also declared here.
[4:35:02 PM] Found 2 errors. Watching for file changes.
帮助!