主頁 > 企業開發 > Module not found: Error: Package path 找不到模塊

Module not found: Error: Package path 找不到模塊

2023-04-21 08:21:39 企業開發

[1] ERROR in ./src/node_modules/react-bootstrap/esm/AbstractModalHeader.js 3:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/ModalHeader.js 4:0-56 14:27-46
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 42:0-55 42:0-55
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Alert.js 4:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 5:0-43 5:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Alert.js 5:0-40
[1] Module not found: Error: Package path ./Anchor is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 5:0-43 5:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Anchor.js 1:0-40
[1] Module not found: Error: Package path ./Anchor is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 6:0-45 6:0-45
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/BootstrapModalManager.js 5:0-52
[1] Module not found: Error: Package path ./ModalManager is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Modal.js 15:0-59 90:11-27
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 39:0-43 39:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/BreadcrumbItem.js 3:0-40
[1] Module not found: Error: Package path ./Anchor is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 9:0-61 9:0-61
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Button.js 3:0-52
[1] Module not found: Error: Package path ./Button is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 10:0-45 10:0-45
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Carousel.js 1:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 16:0-49 16:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Carousel.js 2:0-61
[1] Module not found: Error: Package path ./useUpdateEffect is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 16:0-49 16:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Carousel.js 3:0-61
[1] Module not found: Error: Package path ./useCommittedRef is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 16:0-49 16:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Carousel.js 4:0-51
[1] Module not found: Error: Package path ./useTimeout is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 16:0-49 16:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Carousel.js 5:0-40
[1] Module not found: Error: Package path ./Anchor is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 16:0-49 16:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Dropdown.js 4:0-48
[1] Module not found: Error: Package path ./Dropdown is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Dropdown.js 6:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/DropdownItem.js 3:0-59
[1] Module not found: Error: Package path ./DropdownItem is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 8:0-42 102:8-20
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/DropdownItem.js 4:0-40
[1] Module not found: Error: Package path ./Anchor is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 8:0-42 102:8-20
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/DropdownMenu.js 4:0-59
[1] Module not found: Error: Package path ./DropdownMenu is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 9:0-72 67:20-44 101:8-20
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/DropdownMenu.js 5:0-69
[1] Module not found: Error: Package path ./useIsomorphicEffect is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 9:0-72 67:20-44 101:8-20
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/DropdownMenu.js 6:0-57
[1] Module not found: Error: Package path ./useMergedRefs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 9:0-72 67:20-44 101:8-20
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/DropdownToggle.js 1:0-57
[1] Module not found: Error: Package path ./useMergedRefs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 10:0-46 100:10-24
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/DropdownToggle.js 2:0-58
[1] Module not found: Error: Package path ./DropdownContext is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 10:0-46 100:10-24
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/DropdownToggle.js 3:0-63
[1] Module not found: Error: Package path ./DropdownToggle is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 10:0-46 100:10-24
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/ListGroup.js 5:0-38
[1] Module not found: Error: Package path ./Nav is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 37:0-51 37:0-51
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/ListGroupItem.js 4:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 38:0-59 38:0-59
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/ListGroupItem.js 5:0-49
[1] Module not found: Error: Package path ./NavItem is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 38:0-59 38:0-59
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/ListGroupItem.js 6:0-61
[1] Module not found: Error: Package path ./SelectableContext is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 38:0-59 38:0-59
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Modal.js 7:0-59
[1] Module not found: Error: Package path ./useCallbackRef is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 39:0-43 39:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Modal.js 8:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 39:0-43 39:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Modal.js 9:0-57
[1] Module not found: Error: Package path ./useMergedRefs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 39:0-43 39:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Modal.js 10:0-59
[1] Module not found: Error: Package path ./useWillUnmount is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 39:0-43 39:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Modal.js 14:0-42
[1] Module not found: Error: Package path ./Modal is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 39:0-43 39:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Nav.js 6:0-38
[1] Module not found: Error: Package path ./Nav is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 45:0-39 45:0-39
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/NavLink.js 3:0-40
[1] Module not found: Error: Package path ./Anchor is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 50:0-47 50:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/NavLink.js 4:0-49
[1] Module not found: Error: Package path ./NavItem is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 50:0-47 50:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/NavLink.js 5:0-61
[1] Module not found: Error: Package path ./SelectableContext is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 50:0-47 50:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Navbar.js 4:0-62
[1] Module not found: Error: Package path ./SelectableContext is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 46:0-45 46:0-45
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/NavbarToggle.js 4:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Navbar.js 9:0-42 76:10-22
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 46:0-45 46:0-45
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Offcanvas.js 2:0-57
[1] Module not found: Error: Package path ./useBreakpoint is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 51:0-51 51:0-51
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Offcanvas.js 3:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 51:0-51 51:0-51
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Offcanvas.js 6:0-42
[1] Module not found: Error: Package path ./Modal is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 51:0-51 51:0-51
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Overlay.js 4:0-46
[1] Module not found: Error: Package path ./Overlay is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 55:0-47 55:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Overlay.js 5:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 55:0-47 55:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Overlay.js 6:0-69
[1] Module not found: Error: Package path ./useIsomorphicEffect is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 55:0-47 55:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Overlay.js 7:0-57
[1] Module not found: Error: Package path ./useMergedRefs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 55:0-47 55:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/OverlayTrigger.js 4:0-51
[1] Module not found: Error: Package path ./useTimeout is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 56:0-61 56:0-61
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/OverlayTrigger.js 7:0-57
[1] Module not found: Error: Package path ./useMergedRefs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 56:0-61 56:0-61
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/PageItem.js 4:0-40
[1] Module not found: Error: Package path ./Anchor is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 57:0-49 57:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/SSRProvider.js 1:0-46
[1] Module not found: Error: Package path ./ssr is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 69:0-55 69:0-55
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/TabContainer.js 2:0-36
[1] Module not found: Error: Package path ./Tabs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 72:0-57 72:0-57
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/TabPane.js 3:0-62
[1] Module not found: Error: Package path ./SelectableContext is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 75:0-47 75:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/TabPane.js 4:0-48
[1] Module not found: Error: Package path ./TabContext is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 75:0-47 75:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/TabPane.js 5:0-51
[1] Module not found: Error: Package path ./TabPanel is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 75:0-47 75:0-47
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Tabs.js 3:0-40
[1] Module not found: Error: Package path ./Tabs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 76:0-41 76:0-41
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/Toast.js 4:0-51
[1] Module not found: Error: Package path ./useTimeout is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 78:0-43 78:0-43
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/ToastHeader.js 4:0-63
[1] Module not found: Error: Package path ./useEventCallback is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 80:0-55 80:0-55
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/TransitionWrapper.js 3:0-57
[1] Module not found: Error: Package path ./useMergedRefs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Fade.js 7:0-52 32:27-44
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 23:0-41 23:0-41
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/getTabTransitionComponent.js 1:0-56
[1] Module not found: Error: Package path ./NoopTransition is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\ui\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/Tabs.js 10:0-68 67:16-41
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 76:0-41 76:0-41
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] ERROR in ./src/node_modules/react-bootstrap/esm/useWrappedRefWithWarning.js 3:0-57
[1] Module not found: Error: Package path ./useMergedRefs is not exported from package E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks (see exports field in E:\ProjectSource-Code\87VR-Game-Electron\src\node_modules\@restart\hooks\package.json)
[1] @ ./src/node_modules/react-bootstrap/esm/DropdownMenu.js 12:0-66 85:32-56
[1] @ ./src/node_modules/react-bootstrap/esm/Dropdown.js 9:0-72 67:20-44 101:8-20
[1] @ ./src/node_modules/react-bootstrap/esm/index.js 21:0-49 21:0-49
[1] @ ./src/App.tsx 42:0-49 658:28-42
[1] @ ./src/ViewManage.tsx 29:0-24 32:29-32
[1] @ ./src/index.tsx 7:0-39 8:26-37
[1]
[1] webpack 5.5.1 compiled with 58 errors and 1 warning in 12671 ms
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[1] error Command failed with exit code 1.
[1] yarn build:renderer exited with code 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

解決:
1.編譯時出現幾十條 ERROR in ./node_modules/***,說明node_modules出現了問題,可能你的包出現問題,但是實際上包出現問題的幾率不大,那什么導致了node_modules出現了問題?

解決方法:原因基本是你在使用babel的時候,babel的檔案匹配規則出現了錯誤,打開你的webpack.config.js,找到module里的rules陣列,看看是不是自己的babel匹配規則缺少了exclude:/node_modules/

如果只是 { test:/\.js$/ , use:"babel-loader" } 就會出現以上的錯誤,添加上 exclude:/node_modules/

改成:{ test:/\.js$/ , use:"babel-loader",exclude:/node_modules/ }

以上配置齊全那么就說明真的是包出現問題了,請重新安裝react-bootstrap,注意安裝目錄

轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/550707.html

標籤:其他

上一篇:微信小程式隱藏頁面滾動條

下一篇:返回列表

標籤雲
其他(157745) Python(38083) JavaScript(25379) Java(17984) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1917) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • IEEE1588PTP在數字化變電站時鐘同步方面的應用

    IEEE1588ptp在數字化變電站時鐘同步方面的應用 京準電子科技官微——ahjzsz 一、電力系統時間同步基本概況 隨著對IEC 61850標準研究的不斷深入,國內外學者提出基于IEC61850通信標準體系建設數字化變電站的發展思路。數字化變電站與常規變電站的顯著區別在于程序層傳統的電流/電壓互 ......

    uj5u.com 2020-09-10 03:51:52 more
  • HTTP request smuggling CL.TE

    CL.TE 簡介 前端通過Content-Length處理請求,通過反向代理或者負載均衡將請求轉發到后端,后端Transfer-Encoding優先級較高,以TE處理請求造成安全問題。 檢測 發送如下資料包 POST / HTTP/1.1 Host: ac391f7e1e9af821806e890 ......

    uj5u.com 2020-09-10 03:52:11 more
  • 網路滲透資料大全單——漏洞庫篇

    網路滲透資料大全單——漏洞庫篇漏洞庫 NVD ——美國國家漏洞庫 →http://nvd.nist.gov/。 CERT ——美國國家應急回應中心 →https://www.us-cert.gov/ OSVDB ——開源漏洞庫 →http://osvdb.org Bugtraq ——賽門鐵克 →ht ......

    uj5u.com 2020-09-10 03:52:15 more
  • 京準講述NTP時鐘服務器應用及原理

    京準講述NTP時鐘服務器應用及原理京準講述NTP時鐘服務器應用及原理 安徽京準電子科技官微——ahjzsz 北斗授時原理 授時是指接識訓通過某種方式獲得本地時間與北斗標準時間的鐘差,然后調整本地時鐘使時差控制在一定的精度范圍內。 衛星導航系統通常由三部分組成:導航授時衛星、地面檢測校正維護系統和用戶 ......

    uj5u.com 2020-09-10 03:52:25 more
  • 利用北斗衛星系統設計NTP網路時間服務器

    利用北斗衛星系統設計NTP網路時間服務器 利用北斗衛星系統設計NTP網路時間服務器 安徽京準電子科技官微——ahjzsz 概述 NTP網路時間服務器是一款支持NTP和SNTP網路時間同步協議,高精度、大容量、高品質的高科技時鐘產品。 NTP網路時間服務器設備采用冗余架構設計,高精度時鐘直接來源于北斗 ......

    uj5u.com 2020-09-10 03:52:35 more
  • 詳細解讀電力系統各種對時方式

    詳細解讀電力系統各種對時方式 詳細解讀電力系統各種對時方式 安徽京準電子科技官微——ahjzsz,更多資料請添加VX 衛星同步時鐘是我京準公司開發研制的應用衛星授時時技術的標準時間顯示和發送的裝置,該裝置以M國全球定位系統(GLOBAL POSITIONING SYSTEM,縮寫為GPS)或者我國北 ......

    uj5u.com 2020-09-10 03:52:45 more
  • 如何保證外包團隊接入企業內網安全

    不管企業規模的大小,只要企業想省錢,那么企業的某些服務就一定會采用外包的形式,然而看似美好又經濟的策略,其實也有不好的一面。下面我通過安全的角度來聊聊使用外包團的安全隱患問題。 先看看什么服務會使用外包的,最常見的就是話務/客服這種需要大量重復性、無技術性的服務,或者是一些銷售外包、特殊的職能外包等 ......

    uj5u.com 2020-09-10 03:52:57 more
  • PHP漏洞之【整型數字型SQL注入】

    0x01 什么是SQL注入 SQL是一種注入攻擊,通過前端帶入后端資料庫進行惡意的SQL陳述句查詢。 0x02 SQL整型注入原理 SQL注入一般發生在動態網站URL地址里,當然也會發生在其它地發,如登錄框等等也會存在注入,只要是和資料庫打交道的地方都有可能存在。 如這里http://192.168. ......

    uj5u.com 2020-09-10 03:55:40 more
  • [GXYCTF2019]禁止套娃

    git泄露獲取原始碼 使用GET傳參,引數為exp 經過三層過濾執行 第一層過濾偽協議,第二層過濾帶引數的函式,第三層過濾一些函式 preg_replace('/[a-z,_]+\((?R)?\)/', NULL, $_GET['exp'] (?R)參考當前正則運算式,相當于匹配函式里的引數 因此傳遞 ......

    uj5u.com 2020-09-10 03:56:07 more
  • 等保2.0實施流程

    流程 結論 ......

    uj5u.com 2020-09-10 03:56:16 more
最新发布
  • Module not found: Error: Package path 找不到模塊

    [1] ERROR in ./src/node_modules/react-bootstrap/esm/AbstractModalHeader.js 3:0-63[1] Module not found: Error: Package path ./useEventCallback is not e ......

    uj5u.com 2023-04-21 08:21:39 more
  • 微信小程式隱藏頁面滾動條

    開發小程式時,經常會碰到頁面長度超過螢屏高度,然后下拉時會出現滾動條,對于一些有強迫癥的人來說是不可忍受的。 網上看了好多,寫的。都評論有起作用或者不起作用的。 我在這分享一個全域隱藏滾動條的方式。 樣式代碼我們在app.wxss中,寫一個類選擇器: .contain { height: 100vh ......

    uj5u.com 2023-04-21 08:21:34 more
  • vue全家桶進階之路43:Vue3 Element Plus el-form表單組件

    在 Element Plus 中,el-form 是一個表單組件,用于創建表單以便用戶填寫和提交資料。它提供了許多內置的驗證規則和驗證方法,使表單驗證更加容易。 使用 el-form 組件,您可以將表單控制元件組織在一起,并對表單進行驗證,以確保提交的資料符合預期的格式和要求。該組件具有以下特性: 支持 ......

    uj5u.com 2023-04-21 08:21:30 more
  • 【Vue2.x原始碼系列07】監聽器watch原理

    本章目標:監聽器是如何實作的?監聽器選項 - immediate、deep 內部實作?在初始化Vue實體時,我們會給每個偵聽器都創建一個對應watcher,我們稱之為偵聽器watcher ......

    uj5u.com 2023-04-21 08:21:26 more
  • JS中的for in和for of

    在JavaScript中, for...in 和 for...of 都是用于迭代回圈的結構: 1. for...in 回圈: for...in 回圈主要用于遍歷物件的可列舉屬性。這種回圈不僅遍歷物件自身的屬性,還會遍歷原型鏈上的可列舉屬性。它的語法如下: for (variable in objec ......

    uj5u.com 2023-04-21 08:21:22 more
  • 執行背景關系

    變數提升與函式提升 變數宣告提升 通過var定義(宣告)的變數--在定義陳述句之前就可以訪問到 值為undefined console.log(a); //undefined var a = 1; //執行順序 var a; console.log(a); a = 1; 函式宣告提升 通過functi ......

    uj5u.com 2023-04-21 08:15:57 more
  • JavaScript 簡寫語法

    JavaScript 簡寫語法 1、簡寫的閉包自執行函式(Immediately Invoked Function Expression (IIFE)) 使用括號將函式定義包裹起來,再在末尾加上另一對括號,即可創建一個自執行函式。例如: (() => { console.log("Hello, wo ......

    uj5u.com 2023-04-21 08:15:51 more
  • JS中的for in和for of

    在JavaScript中, for...in 和 for...of 都是用于迭代回圈的結構: 1. for...in 回圈: for...in 回圈主要用于遍歷物件的可列舉屬性。這種回圈不僅遍歷物件自身的屬性,還會遍歷原型鏈上的可列舉屬性。它的語法如下: for (variable in objec ......

    uj5u.com 2023-04-21 08:13:34 more
  • 探索FSM (有限狀態機)應用

    我們是袋鼠云數堆疊 UED 團隊,致力于打造優秀的一站式資料中臺產品。我們始終保持工匠精神,探索前端道路,為社區積累并傳播經驗價值。。 本文作者:木杪 有限狀態機(FSM) 是計算機科學中的一種數學模型,可用于表示和控制系統的行為。它由一組狀態以及定義在這些狀態上的轉換函陣列成。FSM 被廣泛用于計算 ......

    uj5u.com 2023-04-21 08:13:02 more
  • 微信小程式隱藏頁面滾動條

    開發小程式時,經常會碰到頁面長度超過螢屏高度,然后下拉時會出現滾動條,對于一些有強迫癥的人來說是不可忍受的。 網上看了好多,寫的。都評論有起作用或者不起作用的。 我在這分享一個全域隱藏滾動條的方式。 樣式代碼我們在app.wxss中,寫一個類選擇器: .contain { height: 100vh ......

    uj5u.com 2023-04-21 08:12:52 more