We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx create-react-app c7n-demo-ts --template typescript
按照官网使用 npx create-react-app c7n-demo-ts --template typescript 创建项目导入组件库后运行报错
环境: Macbook Pro M2 Google Chrome 119.0.6045.105 (arm64) node v16.19.1 pnpm 8.10.2
[HMR] Waiting for update signal from WDS... FormField.js:53 Uncaught TypeError: Cannot read properties of undefined (reading 'name') at TextArea.get (FormField.js:53:1) at getDisplayName (reactBatchedUpdates.js:1:1) at makeClassComponentObserver (reactBatchedUpdates.js:1:1) at observer (reactBatchedUpdates.js:1:1) at __decorate (tslib.es6.js:55:1) at ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/intl-field/IntlField.js (IntlField.js:312:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/utils.js (utils.js:22:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/TableCell.js (TableCell.js:11:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/TableRow.js (TableRow.js:9:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/Table.js (Table.js:21:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/index.js (index.js:1:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/index.js (index.js:17:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/index.js (index.js:7:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at Module.<anonymous> (App.css:82:1) at ./src/App.tsx (App.tsx:15:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at Module.<anonymous> (index.css:82:1) at ./src/index.tsx (index.tsx:18:1) at __webpack_require__ (bootstrap:856:1) at fn (bootstrap:150:1) at 1 (reportWebVitals.ts:16:1) at __webpack_require__ (bootstrap:856:1) at checkDeferredModules (bootstrap:45:1) at Array.webpackJsonpCallback [as push] (bootstrap:32:1) at main.chunk.js:1:75 get @ FormField.js:53 getDisplayName @ reactBatchedUpdates.js:1 makeClassComponentObserver @ reactBatchedUpdates.js:1 observer @ reactBatchedUpdates.js:1 __decorate @ tslib.es6.js:55 ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/intl-field/IntlField.js @ IntlField.js:312 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/utils.js @ utils.js:22 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/TableCell.js @ TableCell.js:11 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/TableRow.js @ TableRow.js:9 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/Table.js @ Table.js:21 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/table/index.js @ index.js:1 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/lib/index.js @ index.js:17 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 ./node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_mobx@4._nrmko3tblsxk4pu4baomipwolq/node_modules/choerodon-ui/pro/index.js @ index.js:7 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 (anonymous) @ App.css:82 ./src/App.tsx @ App.tsx:15 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 (anonymous) @ index.css:82 ./src/index.tsx @ index.tsx:18 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 1 @ reportWebVitals.ts:16 __webpack_require__ @ bootstrap:856 checkDeferredModules @ bootstrap:45 webpackJsonpCallback @ bootstrap:32 (anonymous) @ main.chunk.js:1 VM126:2 Uncaught ReferenceError: process is not defined at 4043 (<anonymous>:2:13168) at r (<anonymous>:2:306599) at 8048 (<anonymous>:2:9496) at r (<anonymous>:2:306599) at 8641 (<anonymous>:2:1379) at r (<anonymous>:2:306599) at <anonymous>:2:315627 at <anonymous>:2:324225 at <anonymous>:2:324229 at e.onload (index.js:1:1) 4043 @ VM126:2 r @ VM126:2 8048 @ VM126:2 r @ VM126:2 8641 @ VM126:2 r @ VM126:2 (anonymous) @ VM126:2 (anonymous) @ VM126:2 (anonymous) @ VM126:2 e.onload @ index.js:1 be @ index.js:1 (anonymous) @ index.js:1 (anonymous) @ index.js:1 load (async) be @ index.js:1 (anonymous) @ index.js:1 (anonymous) @ index.js:1 Promise.then (async) (anonymous) @ index.js:1 (anonymous) @ index.js:1 t @ index.js:1 error (async) o @ index.js:1 (anonymous) @ index.js:1 ge @ index.js:1 ./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-dev-utils/webpackHotDevClient.js @ webpackHotDevClient.js:45 __webpack_require__ @ bootstrap:856 fn @ bootstrap:150 1 @ reportWebVitals.ts:16 __webpack_require__ @ bootstrap:856 checkDeferredModules @ bootstrap:45 webpackJsonpCallback @ bootstrap:32 (anonymous) @ main.chunk.js:1 webpackHotDevClient.js:76 The development server has disconnected. Refresh the page if necessary.
同时尝试过镜像源安装
pnpm i [email protected] --registry http://nexus.saas.hand-china.com/content/groups/hzero-npm-group/
并按照官网文档在项目入口文件引入 choerodon-ui 的默认全局依然报错!
我报错的demo 🔗
https://github.com/liaoyio/c7n-demo-ts
The text was updated successfully, but these errors were encountered:
No branches or pull requests
按照官网使用
npx create-react-app c7n-demo-ts --template typescript
创建项目导入组件库后运行报错环境:
Macbook Pro M2
Google Chrome 119.0.6045.105 (arm64)
node v16.19.1
pnpm 8.10.2
同时尝试过镜像源安装
并按照官网文档在项目入口文件引入 choerodon-ui 的默认全局依然报错!
我报错的demo 🔗
https://github.com/liaoyio/c7n-demo-ts
The text was updated successfully, but these errors were encountered: