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
Failed to parse source map from '/Users/felix/Documents/MobileWork/work/数据大屏/tsrsdv/scene_drill/node_modules/@antv/util/esm/path/convert/src/path/convert/path-2-absolute.ts' file: Error: ENOENT: no sfile or directory, open '/Users/felix/Documents/MobileWork/work/数据大屏/tsrsdv/scene_drill/node_modules/@antv/util/esm/path/convert/src/path/convert/path-2-absolute.ts'
底下还有很多很多
在安装后,使用就会出现大量这样的路径错误。
下面是复现问题的步骤:
yarn create react-app scene --template typescript
cd scene
yarn add @antv/util
修改 App.tsx 文件:
importReactfrom'react';importlogofrom'./logo.svg';import'./App.css';// 添加一行import{gradient}from'@antv/util';functionApp(){// 添加另一行console.log('gradient',gradient)return(<divclassName="App"><headerclassName="App-header"><imgsrc={logo}className="App-logo"alt="logo"/><p>Edit<code>src/App.tsx</code> and save to reload.</p><aclassName="App-link"href="https://reactjs.org"target="_blank"rel="noopener noreferrer">LearnReact</a></header></div>);}exportdefaultApp;
之后执行 yarn start 命令就可以看见大量 .ts 找不到了。
好像不影响使用,只是日志很长,看不见 On Your Network 了。
The text was updated successfully, but these errors were encountered:
在安装后,使用就会出现大量这样的路径错误。
下面是复现问题的步骤:
yarn create react-app scene --template typescript cd scene yarn add @antv/util
修改
App.tsx
文件:之后执行
yarn start
命令就可以看见大量.ts
找不到了。好像不影响使用,只是日志很长,看不见
On Your Network
了。The text was updated successfully, but these errors were encountered: