相关文章推荐
逆袭的豆腐  ·  Visual ...·  4 月前    · 
细心的乒乓球  ·  Outlook 日历 REST API ...·  5 月前    · 
最近接触ant design,再上手的时候,老是会碰到,找不到某某模块的问题,上网搜了一下,发现很多都不能解决问题。
后来,发现可以通过 yarn add 模块名 的方式,处理这种Error, 如:
yarn add umi
记录一下,希望也可以帮到您!
NangongYi@LAPTOP-AKD59FEP MINGW64 /d/web/html/ant/myapp
 $ yarn add umi
 yarn add v1.22.10
 info No lockfile found.
 [1/4] Resolving packages...
 warning @umijs/preset-react > @umijs/plugin-antd > antd-mobile > babel-runtime > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
 warning @umijs/preset-react > @umijs/plugin-locale > react-intl > @formatjs/intl-unified-numberformat@3.3.7: We have renamed the package to @formatjs/intl-numberformat
 warning @umijs/preset-react > @umijs/plugin-locale > react-intl > intl-messageformat-parser@3.6.4: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
 warning @umijs/preset-react > @umijs/plugin-locale > react-intl > intl-messageformat > intl-messageformat-parser@3.6.4: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
 warning @umijs/preset-react > @umijs/plugin-locale > react-intl > intl-messageformat-parser > @formatjs/intl-unified-numberformat@3.3.7: We have renamed the package to @formatjs/intl-numberformat
 warning @umijs/preset-react > @umijs/plugin-antd > antd-mobile > rc-swipeout > react-native-swipeout@2.3.6: Package no longer supported. Use at your own risk or consider using https://github.com/software-mansion/react-native-gesture-handler
 warning @umijs/preset-react > @umijs/plugin-antd > antd-mobile > rmc-list-view > fbjs > core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
 warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-environment-jsdom-fourteen > @jest/environment > @jest/transform > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
 warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-environment-jsdom-fourteen > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
 warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
 warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-environment-jsdom-fourteen > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
 warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
 warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-environment-jsdom-fourteen > jsdom > request > har-validator@5.1.5: this library is no longer supported
 warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-environment-jsdom-fourteen > @jest/environment > @jest/transform > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
 warning @umijs/preset-react > @umijs/plugin-test > @umijs/test > jest-environment-jsdom-fourteen > @jest/environment > @jest/transform > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
 [2/4] Fetching packages...
 info fsevents@2.3.2: The platform "win32" is incompatible with this module.
 info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
 info fsevents@1.2.13: The platform "win32" is incompatible with this module.
 info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
 [3/4] Linking dependencies...
 warning " > @ant-design/pro-layout@6.17.0" has unmet peer dependency "antd@^4.x".
 warning "@ant-design/pro-layout > @ant-design/pro-utils@1.16.3" has unmet peer dependency "antd@4.x".
 warning "@ant-design/pro-layout > @ant-design/pro-provider@1.4.11" has unmet peer dependency "antd@4.x".
 warning "@ant-design/pro-layout > use-json-comparison@1.0.5" has incorrect peer dependency "react@16.x".
 warning "@ant-design/pro-layout > use-media-antd-query@1.0.6" has incorrect peer dependency "react@16.x".
 warning "@umijs/preset-react > @umijs/plugin-layout@0.14.1" has unmet peer dependency "@ant-design/icons@^4.0.0".
 warning "@umijs/preset-react > @umijs/plugin-dva > dva@2.6.0-beta.22" has incorrect peer dependency "react@^16.8.4".
 warning "@umijs/preset-react > @umijs/plugin-dva > dva@2.6.0-beta.22" has incorrect peer dependency "react-dom@^16.8.4".
 warning "@umijs/preset-react > @umijs/plugin-dva > babel-plugin-dva-hmr@0.4.2" has unmet peer dependency "redbox-react@1.x".
 warning "@umijs/preset-react > @umijs/plugin-dva > dva-loading@3.0.22" has unmet peer dependency "dva-core@^1.1.0 | ^1.5.0-0 | ^1.6.0-0".
 warning "@umijs/preset-react > @umijs/plugin-locale > react-intl@3.12.1" has incorrect peer dependency "react@^16.3.0".
 warning "@umijs/preset-react > @umijs/plugin-dva > dva > connected-react-router@6.5.2" has incorrect peer dependency "react@^16.4.0".
 warning "@umijs/preset-react > @umijs/plugin-dva > dva > connected-react-router@6.5.2" has unmet peer dependency "react-router@^4.3.1 || ^5.0.0".
 warning "@umijs/preset-react > @umijs/plugin-antd > antd > rc-picker@2.5.10" has unmet peer dependency "dayjs@^1.8.30".
 [4/4] Building fresh packages...
 success Saved lockfile.
 success Saved 656 new dependencies.
 info Direct dependencies
 ├─ @ant-design/pro-layout@6.17.0
 ├─ @types/react-dom@17.0.3
 ├─ @umijs/preset-react@1.8.6
 ├─ @umijs/test@3.4.11
 ├─ lint-staged@10.5.4
 ├─ prettier@2.2.1
 ├─ react-dom@17.0.2
 ├─ react@17.0.2
 ├─ typescript@4.2.4
 ├─ umi@3.4.11
 └─ yorkie@2.0.0
 info All dependencies
 ├─ @ahooksjs/use-request@2.8.4
 ├─ @ant-design/icons-svg@4.1.0
 ├─ @ant-design/icons@4.6.2
 ├─ @ant-design/pro-layout@6.17.0
 ├─ @ant-design/pro-utils@1.16.3
 ├─ @ant-design/react-slick@0.28.3
 ├─ @babel/compat-data@7.13.15
 ├─ @babel/core@7.12.10
 ├─ @babel/generator@7.13.16
 ├─ @babel/helper-function-name@7.12.13
 ├─ @babel/helper-get-function-arity@7.12.13
 ├─ @babel/helper-member-expression-to-functions@7.13.12
 ├─ @babel/helper-module-imports@7.13.12
 ├─ @babel/helper-module-transforms@7.13.14
 ├─ @babel/helper-optimise-call-expression@7.12.13
 ├─ @babel/helper-replace-supers@7.13.12
 ├─ @babel/helper-simple-access@7.13.12
 ├─ @babel/helper-validator-option@7.12.17
 ├─ @babel/helpers@7.13.17
 ├─ @babel/highlight@7.13.10
 ├─ @babel/parser@7.13.16
 ├─ @babel/plugin-syntax-async-generators@7.8.4
 ├─ @babel/plugin-syntax-bigint@7.8.3
 ├─ @babel/plugin-syntax-class-properties@7.12.13
 ├─ @babel/plugin-syntax-import-meta@7.10.4
 ├─ @babel/plugin-syntax-json-strings@7.8.3
 ├─ @babel/plugin-syntax-logical-assignment-operators@7.10.4
 ├─ @babel/plugin-syntax-nullish-coalescing-operator@7.8.3
 ├─ @babel/plugin-syntax-numeric-separator@7.10.4
 ├─ @babel/plugin-syntax-object-rest-spread@7.8.3
 ├─ @babel/plugin-syntax-optional-catch-binding@7.8.3
 ├─ @babel/plugin-syntax-optional-chaining@7.8.3
 ├─ @babel/plugin-syntax-top-level-await@7.12.13
 ├─ @babel/template@7.12.13
 ├─ @babel/traverse@7.13.17
 ├─ @bcoe/v8-coverage@0.2.3
 ├─ @bloomberg/record-tuple-polyfill@0.0.3
 ├─ @cnakazawa/watch@1.0.4
 ├─ @ctrl/tinycolor@3.4.0
 ├─ @formatjs/intl-displaynames@1.2.10
 ├─ @formatjs/intl-listformat@1.4.8
 ├─ @formatjs/intl-pluralrules@1.5.9
 ├─ @formatjs/intl-relativetimeformat@4.5.16
 ├─ @istanbuljs/load-nyc-config@1.1.0
 ├─ @jest/globals@26.6.2
 ├─ @jest/reporters@26.6.2
 ├─ @jest/test-sequencer@26.6.3
 ├─ @qixian.cs/path-to-regexp@6.1.0
 ├─ @sinonjs/commons@1.8.3
 ├─ @sinonjs/fake-timers@6.0.1
 ├─ @types/babel__core@7.1.14
 ├─ @types/babel__generator@7.6.2
 ├─ @types/babel__template@7.4.0
 ├─ @types/babel__traverse@7.11.1
 ├─ @types/graceful-fs@4.1.5
 ├─ @types/hoist-non-react-statics@3.3.1
 ├─ @types/invariant@2.2.34
 ├─ @types/isomorphic-fetch@0.0.35
 ├─ @types/istanbul-lib-coverage@2.0.3
 ├─ @types/istanbul-reports@3.0.0
 ├─ @types/normalize-package-data@2.4.0
 ├─ @types/parse-json@4.0.0
 ├─ @types/prettier@2.2.3
 ├─ @types/react-dom@17.0.3
 ├─ @types/react-helmet@6.1.1
 ├─ @types/react-redux@7.1.16
 ├─ @types/react-router-config@5.0.2
 ├─ @types/react-router-dom@5.1.7
 ├─ @types/stack-utils@2.0.0
 ├─ @umijs/ast@3.4.11
 ├─ @umijs/babel-plugin-auto-css-modules@3.4.11
 ├─ @umijs/babel-plugin-import-to-await-require@3.4.11
 ├─ @umijs/babel-plugin-lock-core-js-3@3.4.11
 ├─ @umijs/babel-plugin-no-anonymous-default-export@3.4.11
 ├─ @umijs/bundler-utils@3.4.11
 ├─ @umijs/plugin-access@2.3.3
 ├─ @umijs/plugin-analytics@0.2.2
 ├─ @umijs/plugin-antd@0.9.1
 ├─ @umijs/plugin-crossorigin@1.2.0
 ├─ @umijs/plugin-dva@0.12.0
 ├─ @umijs/plugin-helmet@1.1.3
 ├─ @umijs/plugin-initial-state@2.3.0
 ├─ @umijs/plugin-layout@0.14.1
 ├─ @umijs/plugin-locale@0.11.2
 ├─ @umijs/plugin-model@2.5.7
 ├─ @umijs/plugin-request@2.5.2
 ├─ @umijs/plugin-test@1.0.0
 ├─ @umijs/preset-react@1.8.6
 ├─ @umijs/route-utils@1.0.37
 ├─ @umijs/test@3.4.11
 ├─ @umijs/use-params@1.0.3
 ├─ abab@2.0.5
 ├─ acorn-globals@4.3.4
 ├─ acorn-walk@6.2.0
 ├─ acorn@6.4.2
 ├─ add-dom-event-listener@1.1.0
 ├─ aggregate-error@3.1.0
 ├─ ajv-errors@1.0.1
 ├─ ajv-keywords@3.5.2
 ├─ ajv@6.12.6
 ├─ ansi-colors@4.1.1
 ├─ ansi-escapes@4.3.2
 ├─ antd-mobile@2.3.4
 ├─ antd@4.15.2
 ├─ arch@2.2.0
 ├─ argparse@1.0.10
 ├─ arr-flatten@1.1.0
 ├─ array-equal@1.0.0
 ├─ asap@2.0.6
 ├─ asn1.js@5.4.1
 ├─ asn1@0.2.4
 ├─ assert@1.5.0
 ├─ assign-symbols@1.0.0
 ├─ async-limiter@1.0.1
 ├─ async-validator@3.5.1
 ├─ asynckit@0.4.0
 ├─ atob@2.1.2
 ├─ autoprefixer@9.8.6
 ├─ aws-sign2@0.7.0
 ├─ aws4@1.11.0
 ├─ babel-core@7.0.0-bridge.0
 ├─ babel-plugin-dva-hmr@0.4.2
 ├─ babel-plugin-jest-hoist@26.6.2
 ├─ babel-preset-current-node-syntax@1.0.1
 ├─ babel-preset-jest@26.6.2
 ├─ base@0.11.2
 ├─ base64-js@1.5.1
 ├─ bcrypt-pbkdf@1.0.2
 ├─ big.js@5.2.2
 ├─ binary-extensions@2.2.0
 ├─ brace-expansion@1.1.11
 ├─ braces@3.0.2
 ├─ brorand@1.1.0
 ├─ browser-process-hrtime@1.0.0
 ├─ browserify-aes@1.2.0
 ├─ browserify-cipher@1.0.1
 ├─ browserify-des@1.0.2
 ├─ browserify-rsa@4.1.0
 ├─ browserify-sign@4.2.1
 ├─ browserify-zlib@0.2.0
 ├─ browserslist@4.16.5
 ├─ bser@2.1.1
 ├─ buffer-from@1.1.1
 ├─ buffer-xor@1.0.3
 ├─ buffer@4.9.2
 ├─ builtin-status-codes@3.0.0
 ├─ cache-base@1.0.1
 ├─ caller-callsite@2.0.0
 ├─ caller-path@2.0.0
 ├─ camelcase@5.3.1
 ├─ caniuse-lite@1.0.30001214
 ├─ capture-exit@2.0.0
 ├─ caseless@0.12.0
 ├─ char-regex@1.0.2
 ├─ chokidar@3.5.1
 ├─ ci-info@2.0.0
 ├─ cjs-module-lexer@0.6.0
 ├─ class-utils@0.3.6
 ├─ clean-stack@2.2.0
 ├─ cli-cursor@3.1.0
 ├─ clipboardy@2.3.0
 ├─ cliui@6.0.0
 ├─ co@4.6.0
 ├─ collection-visit@1.0.0
 ├─ color-convert@2.0.1
 ├─ color-name@1.1.4
 ├─ colorette@1.2.2
 ├─ combined-stream@1.0.8
 ├─ commander@6.2.1
 ├─ component-classes@1.2.6
 ├─ component-indexof@0.0.3
 ├─ compute-scroll-into-view@1.0.17
 ├─ concat-map@0.0.1
 ├─ connected-react-router@6.5.2
 ├─ console-browserify@1.2.0
 ├─ constants-browserify@1.0.0
 ├─ convert-source-map@1.7.0
 ├─ copy-descriptor@0.1.1
 ├─ copy-to-clipboard@3.3.1
 ├─ core-js@3.8.2
 ├─ core-util-is@1.0.2
 ├─ cosmiconfig@7.0.0
 ├─ create-ecdh@4.0.4
 ├─ create-hmac@1.1.7
 ├─ create-react-class@15.7.0
 ├─ cross-spawn@6.0.5
 ├─ crypto-browserify@3.12.0
 ├─ css-animation@1.6.1
 ├─ css-blank-pseudo@0.1.4
 ├─ css-has-pseudo@0.10.0
 ├─ css-prefers-color-scheme@3.1.1
 ├─ cssdb@4.4.0
 ├─ cssesc@2.0.0
 ├─ cssom@0.3.8
 ├─ cssstyle@1.4.0
 ├─ dashdash@1.14.1
 ├─ data-urls@1.1.0
 ├─ date-fns@2.21.1
 ├─ debug@4.3.1
 ├─ decimal.js@10.2.1
 ├─ dedent@0.7.0
 ├─ deep-is@0.1.3
 ├─ deepmerge@1.5.2
 ├─ delayed-stream@1.0.0
 ├─ dequal@2.0.2
 ├─ des.js@1.0.1
 ├─ detect-newline@3.1.0
 ├─ diff-sequences@26.6.2
 ├─ diffie-hellman@5.0.3
 ├─ dom-align@1.12.0
 ├─ dom-walk@0.1.2
 ├─ domain-browser@1.2.0
 ├─ dva-core@2.0.4
 ├─ dva-immer@0.5.2
 ├─ dva-loading@3.0.22
 ├─ dva@2.6.0-beta.22
 ├─ ecc-jsbn@0.1.2
 ├─ electron-to-chromium@1.3.720
 ├─ emittery@0.7.2
 ├─ emoji-regex@8.0.0
 ├─ emojis-list@3.0.0
 ├─ encoding@0.1.13
 ├─ end-of-stream@1.4.4
 ├─ enquirer@2.3.6
 ├─ es-abstract@1.18.0
 ├─ es-to-primitive@1.2.1
 ├─ es5-imcompatible-versions@0.1.67
 ├─ escalade@3.1.1
 ├─ escodegen@1.14.3
 ├─ estraverse@4.3.0
 ├─ events@3.3.0
 ├─ exenv@1.2.2
 ├─ expand-brackets@2.1.4
 ├─ extend@3.0.2
 ├─ extglob@2.0.4
 ├─ extsprintf@1.3.0
 ├─ fast-deep-equal@3.1.3
 ├─ fast-levenshtein@2.0.6
 ├─ fbjs@0.8.17
 ├─ figures@3.2.0
 ├─ fill-range@7.0.1
 ├─ filter-obj@1.1.0
 ├─ for-each@0.3.3
 ├─ for-in@1.0.2
 ├─ forever-agent@0.6.1
 ├─ form-data@2.3.3
 ├─ fs.realpath@1.0.0
 ├─ gensync@1.0.0-beta.2
 ├─ get-caller-file@2.0.5
 ├─ get-intrinsic@1.1.1
 ├─ get-own-enumerable-property-symbols@3.0.2
 ├─ get-package-type@0.1.0
 ├─ get-stream@4.1.0
 ├─ get-value@2.0.6
 ├─ getpass@0.1.7
 ├─ glob-parent@5.1.2
 ├─ globals@11.12.0
 ├─ graceful-fs@4.2.6
 ├─ growly@1.3.0
 ├─ har-schema@2.0.0
 ├─ har-validator@5.1.5
 ├─ harmony-reflect@1.6.2
 ├─ has-bigints@1.0.1
 ├─ has-value@1.0.0
 ├─ hash.js@1.1.7
 ├─ hmac-drbg@1.0.1
 ├─ hosted-git-info@2.8.9
 ├─ html-encoding-sniffer@1.0.2
 ├─ html-escaper@2.0.2
 ├─ http-signature@1.2.0
 ├─ https-browserify@1.0.0
 ├─ human-signals@1.1.1
 ├─ iconv-lite@0.4.24
 ├─ identity-obj-proxy@3.0.0
 ├─ ieee754@1.2.1
 ├─ immer@7.0.15
 ├─ immutable@3.8.2
 ├─ import-cwd@2.1.0
 ├─ import-fresh@3.3.0
 ├─ import-from@2.1.0
 ├─ inflight@1.0.6
 ├─ intl-messageformat@7.8.4
 ├─ intl@1.2.5
 ├─ is-accessor-descriptor@1.0.0
 ├─ is-arrayish@0.2.1
 ├─ is-bigint@1.0.1
 ├─ is-binary-path@2.1.0
 ├─ is-boolean-object@1.1.0
 ├─ is-callable@1.2.3
 ├─ is-core-module@2.2.0
 ├─ is-data-descriptor@1.0.0
 ├─ is-date-object@1.0.2
 ├─ is-descriptor@1.0.2
 ├─ is-directory@0.3.1
 ├─ is-docker@2.2.1
 ├─ is-extglob@2.1.1
 ├─ is-generator-fn@2.1.0
 ├─ is-glob@4.0.1
 ├─ is-negative-zero@2.0.1
 ├─ is-number-object@1.0.4
 ├─ is-obj@1.0.1
 ├─ is-plain-obj@1.1.0
 ├─ is-potential-custom-element-name@1.0.1
 ├─ is-regex@1.1.2
 ├─ is-regexp@1.0.0
 ├─ is-symbol@1.0.3
 ├─ is-typedarray@1.0.0
 ├─ is-unicode-supported@0.1.0
 ├─ is-windows@1.0.2
 ├─ is-wsl@2.2.0
 ├─ isarray@1.0.0
 ├─ isexe@2.0.0
 ├─ isomorphic-fetch@2.2.1
 ├─ isstream@0.1.2
 ├─ istanbul-lib-instrument@4.0.3
 ├─ istanbul-lib-source-maps@4.0.0
 ├─ istanbul-reports@3.0.2
 ├─ javascript-stringify@2.1.0
 ├─ jest-changed-files@26.6.2
 ├─ jest-docblock@26.0.0
 ├─ jest-each@26.6.2
 ├─ jest-environment-jsdom-fourteen@1.0.1
 ├─ jest-environment-jsdom@26.6.2
 ├─ jest-environment-node@26.6.2
 ├─ jest-jasmine2@26.6.3
 ├─ jest-leak-detector@26.6.2
 ├─ jest-pnp-resolver@1.2.2
 ├─ jest-resolve-dependencies@26.6.3
 ├─ jest-serializer@26.6.2
 ├─ jest-watcher@26.6.2
 ├─ jest-worker@26.6.2
 ├─ jest@26.6.3
 ├─ js-tokens@4.0.0
 ├─ jsdom@14.1.0
 ├─ jsesc@2.5.2
 ├─ json-parse-better-errors@1.0.2
 ├─ json-parse-even-better-errors@2.3.1
 ├─ json-schema-traverse@0.4.1
 ├─ json-schema@0.2.3
 ├─ json-stringify-safe@5.0.1
 ├─ json2mq@0.2.0
 ├─ jsprim@1.4.1
 ├─ kind-of@3.2.2
 ├─ kleur@3.0.3
 ├─ leven@3.1.0
 ├─ levn@0.3.0
 ├─ lines-and-columns@1.1.6
 ├─ lint-staged@10.5.4
 ├─ listr2@3.7.1
 ├─ load-json-file@4.0.0
 ├─ loader-utils@1.4.0
 ├─ locate-path@5.0.0
 ├─ lodash.debounce@4.0.8
 ├─ lodash.isequal@4.5.0
 ├─ lodash.sortby@4.7.0
 ├─ lodash.throttle@4.1.1
 ├─ log-symbols@4.1.0
 ├─ log-update@4.0.0
 ├─ lru-cache@4.1.5
 ├─ make-dir@3.1.0
 ├─ makeerror@1.0.11
 ├─ map-visit@1.0.0
 ├─ memoize-one@5.2.0
 ├─ miller-rabin@4.0.1
 ├─ mime-db@1.47.0
 ├─ mime-types@2.1.30
 ├─ mimic-fn@2.1.0
 ├─ min-document@2.19.0
 ├─ mini-store@3.0.6
 ├─ mixin-deep@1.3.2
 ├─ mkdirp@0.5.5
 ├─ moment@2.29.1
 ├─ ms@2.1.2
 ├─ nanomatch@1.2.13
 ├─ natural-compare@1.4.0
 ├─ nice-try@1.0.5
 ├─ node-fetch@1.7.3
 ├─ node-int64@0.4.0
 ├─ node-libs-browser@2.2.1
 ├─ node-modules-regexp@1.0.0
 ├─ node-notifier@8.0.2
 ├─ node-releases@1.1.71
 ├─ normalize-package-data@2.5.0
 ├─ normalize-range@0.1.2
 ├─ normalize-url@1.9.1
 ├─ normalize.css@7.0.0
 ├─ num2fraction@1.2.2
 ├─ nwsapi@2.2.0
 ├─ oauth-sign@0.9.0
 ├─ object-copy@0.1.0
 ├─ object.assign@4.1.2
 ├─ object.getownpropertydescriptors@2.1.2
 ├─ omit.js@2.0.2
 ├─ once@1.4.0
 ├─ os-browserify@0.3.0
 ├─ p-each-series@2.2.0
 ├─ p-limit@2.3.0
 ├─ p-locate@4.1.0
 ├─ p-map@4.0.0
 ├─ p-try@2.2.0
 ├─ pako@1.0.11
 ├─ parent-module@1.0.1
 ├─ parse-asn1@5.1.6
 ├─ parse5@5.1.0
 ├─ pascalcase@0.1.1
 ├─ path-browserify@0.0.1
 ├─ path-exists@4.0.0
 ├─ path-is-absolute@1.0.1
 ├─ path-key@2.0.1
 ├─ path-parse@1.0.6
 ├─ path-to-regexp@1.8.0
 ├─ path-type@4.0.0
 ├─ picomatch@2.2.3
 ├─ pkg-dir@4.2.0
 ├─ please-upgrade-node@3.2.0
 ├─ pn@1.1.0
 ├─ posix-character-classes@0.1.1
 ├─ postcss-attribute-case-insensitive@4.0.2
 ├─ postcss-color-functional-notation@2.0.1
 ├─ postcss-color-gray@5.0.0
 ├─ postcss-color-hex-alpha@5.0.3
 ├─ postcss-color-mod-function@3.0.3
 ├─ postcss-color-rebeccapurple@4.0.1
 ├─ postcss-custom-media@7.0.8
 ├─ postcss-custom-properties@8.0.11
 ├─ postcss-custom-selectors@5.1.2
 ├─ postcss-dir-pseudo-class@5.0.0
 ├─ postcss-double-position-gradients@1.0.0
 ├─ postcss-env-function@2.0.2
 ├─ postcss-flexbugs-fixes@4.2.1
 ├─ postcss-focus-visible@4.0.0
 ├─ postcss-focus-within@3.0.0
 ├─ postcss-font-variant@4.0.1
 ├─ postcss-gap-properties@2.0.0
 ├─ postcss-image-set-function@3.0.1
 ├─ postcss-initial@3.0.4
 ├─ postcss-lab-function@2.0.1
 ├─ postcss-load-config@2.1.2
 ├─ postcss-loader@3.0.0
 ├─ postcss-logical@3.0.0
 ├─ postcss-media-minmax@4.0.0
 ├─ postcss-nesting@7.0.1
 ├─ postcss-overflow-shorthand@2.0.0
 ├─ postcss-page-break@2.0.0
 ├─ postcss-place@4.0.1
 ├─ postcss-preset-env@6.7.0
 ├─ postcss-pseudo-class-any-link@6.0.0
 ├─ postcss-replace-overflow-wrap@3.0.0
 ├─ postcss-safe-parser@4.0.2
 ├─ postcss-selector-matches@4.0.0
 ├─ postcss-selector-not@4.0.1
 ├─ postcss-value-parser@4.1.0
 ├─ postcss@7.0.35
 ├─ prepend-http@1.0.4
 ├─ prettier@2.2.1
 ├─ process-nextick-args@2.0.1
 ├─ promise@7.3.1
 ├─ prompts@2.4.1
 ├─ pseudomap@1.0.2
 ├─ psl@1.8.0
 ├─ public-encrypt@4.0.3
 ├─ qs@6.10.1
 ├─ query-string@4.3.4
 ├─ querystring-es3@0.2.1
 ├─ querystring@0.2.0
 ├─ raf@3.4.1
 ├─ randomfill@1.0.4
 ├─ rc-align@4.0.9
 ├─ rc-cascader@1.4.2
 ├─ rc-checkbox@2.0.3
 ├─ rc-collapse@1.9.3
 ├─ rc-dialog@8.5.2
 ├─ rc-drawer@4.3.1
 ├─ rc-dropdown@3.2.0
 ├─ rc-field-form@1.20.0
 ├─ rc-gesture@0.0.22
 ├─ rc-image@5.2.4
 ├─ rc-input-number@7.0.6
 ├─ rc-mentions@1.5.3
 ├─ rc-menu@8.10.7
 ├─ rc-notification@4.5.5
 ├─ rc-overflow@1.1.1
 ├─ rc-pagination@3.1.6
 ├─ rc-picker@2.5.10
 ├─ rc-progress@3.1.3
 ├─ rc-rate@2.9.1
 ├─ rc-select@12.1.10
 ├─ rc-slider@8.2.0
 ├─ rc-steps@4.1.3
 ├─ rc-swipeout@2.0.11
 ├─ rc-switch@3.2.2
 ├─ rc-table@7.13.3
 ├─ rc-tabs@11.7.3
 ├─ rc-textarea@0.3.4
 ├─ rc-tooltip@5.1.0
 ├─ rc-tree-select@4.3.2
 ├─ rc-tree@4.1.5
 ├─ rc-upload@4.2.0
 ├─ rc-util@5.10.1
 ├─ rc-virtual-list@3.2.6
 ├─ react-dom@17.0.2
 ├─ react-fast-compare@3.2.0
 ├─ react-helmet@6.1.0
 ├─ react-intl@3.12.1
 ├─ react-is@16.13.1
 ├─ react-native-swipeout@2.3.6
 ├─ react-redux@7.2.3
 ├─ react-refresh@0.9.0
 ├─ react-side-effect@2.1.1
 ├─ react-tween-state@0.1.5
 ├─ react@17.0.2
 ├─ read-pkg-up@7.0.1
 ├─ read-pkg@5.2.0
 ├─ readable-stream@2.3.7
 ├─ readdirp@3.5.0
 ├─ realpath-native@1.1.0
 ├─ redux-saga@0.16.2
 ├─ redux@4.0.5
 ├─ remove-trailing-separator@1.1.0
 ├─ repeat-element@1.1.4
 ├─ request-promise-core@1.1.4
 ├─ request-promise-native@1.0.9
 ├─ request@2.88.2
 ├─ require-directory@2.1.1
 ├─ resolve-cwd@3.0.0
 ├─ resolve-url@0.2.1
 ├─ resolve@1.20.0
 ├─ restore-cursor@3.1.0
 ├─ ret@0.1.15
 ├─ rimraf@3.0.2
 ├─ rmc-align@1.0.0
 ├─ rmc-calendar@1.1.4
 ├─ rmc-cascader@5.0.3
 ├─ rmc-dialog@1.1.1
 ├─ rmc-drawer@0.4.11
 ├─ rmc-input-number@1.0.5
 ├─ rmc-list-view@0.11.5
 ├─ rmc-notification@1.0.0
 ├─ rmc-nuka-carousel@3.0.1
 ├─ rmc-pull-to-refresh@1.0.13
 ├─ rmc-steps@1.0.1
 ├─ rmc-tabs@1.2.29
 ├─ rmc-tooltip@1.0.1
 ├─ rmc-trigger@1.0.12
 ├─ rsvp@4.8.5
 ├─ rxjs@6.6.7
 ├─ saxes@3.1.11
 ├─ scheduler@0.20.2
 ├─ schema-utils@1.0.0
 ├─ scroll-into-view-if-needed@2.2.28
 ├─ seamless-immutable@7.1.4
 ├─ semver-compare@1.0.0
 ├─ set-blocking@2.0.0
 ├─ set-value@2.0.1
 ├─ setimmediate@1.0.5
 ├─ shallow-equal@1.2.1
 ├─ shallowequal@1.1.0
 ├─ shebang-regex@1.0.0
 ├─ shellwords@0.1.1
 ├─ side-channel@1.0.4
 ├─ sisteransi@1.0.5
 ├─ slice-ansi@3.0.0
 ├─ snapdragon-node@2.1.1
 ├─ snapdragon-util@3.0.1
 ├─ sort-keys@1.1.2
 ├─ source-map-resolve@0.5.3
 ├─ source-map-support@0.5.19
 ├─ source-map-url@0.4.1
 ├─ spdx-correct@3.1.1
 ├─ spdx-exceptions@2.3.0
 ├─ split-on-first@1.1.0
 ├─ split-string@3.1.0
 ├─ sprintf-js@1.0.3
 ├─ sshpk@1.16.1
 ├─ stack-utils@2.0.3
 ├─ static-extend@0.1.2
 ├─ stealthy-require@1.1.1
 ├─ stream-browserify@2.0.2
 ├─ stream-http@2.8.3
 ├─ strict-uri-encode@1.1.0
 ├─ string_decoder@1.3.0
 ├─ string-argv@0.3.1
 ├─ string-convert@0.2.1
 ├─ string.prototype.trimend@1.0.4
 ├─ string.prototype.trimstart@1.0.4
 ├─ stringify-object@3.3.0
 ├─ strip-bom@4.0.0
 ├─ strip-final-newline@2.0.0
 ├─ strip-indent@2.0.0
 ├─ supports-hyperlinks@2.2.0
 ├─ swr@0.5.5
 ├─ symbol-observable@1.2.0
 ├─ symbol-tree@3.2.4
 ├─ terminal-link@2.1.1
 ├─ terser@5.6.0
 ├─ test-exclude@6.0.0
 ├─ through@2.3.8
 ├─ timers-browserify@2.0.12
 ├─ tmpl@1.0.4
 ├─ to-arraybuffer@1.0.1
 ├─ to-fast-properties@2.0.0
 ├─ to-object-path@0.3.0
 ├─ to-regex-range@5.0.1
 ├─ toggle-selection@1.0.6
 ├─ tough-cookie@2.5.0
 ├─ tr46@1.0.1
 ├─ tslib@1.14.1
 ├─ tty-browserify@0.0.0
 ├─ tunnel-agent@0.6.0
 ├─ tween-functions@1.2.0
 ├─ tweetnacl@0.14.5
 ├─ type-detect@4.0.8
 ├─ type-fest@0.21.3
 ├─ typedarray-to-buffer@3.1.5
 ├─ typescript@4.2.4
 ├─ ua-parser-js@0.7.28
 ├─ umi-request@1.3.5
 ├─ umi@3.4.11
 ├─ unbox-primitive@1.0.1
 ├─ union-value@1.0.1
 ├─ universalify@0.1.2
 ├─ unset-value@1.0.0
 ├─ unstated-next@1.1.0
 ├─ uri-js@4.4.1
 ├─ urix@0.1.0
 ├─ url@0.11.0
 ├─ use-json-comparison@1.0.5
 ├─ use-media-antd-query@1.0.6
 ├─ use@3.1.1
 ├─ util-deprecate@1.0.2
 ├─ util.promisify@1.1.1
 ├─ util@0.11.1
 ├─ uuid@3.4.0
 ├─ v8-compile-cache@2.3.0
 ├─ v8-to-istanbul@7.1.1
 ├─ validate-npm-package-license@3.0.4
 ├─ verror@1.10.0
 ├─ vm-browserify@1.1.2
 ├─ w3c-hr-time@1.0.2
 ├─ w3c-xmlserializer@1.1.2
 ├─ walker@1.0.7
 ├─ warning@4.0.3
 ├─ whatwg-fetch@3.6.2
 ├─ which-boxed-primitive@1.0.2
 ├─ which-module@2.0.0
 ├─ word-wrap@1.2.3
 ├─ write-file-atomic@3.0.3
 ├─ ws@6.2.1
 ├─ xmlchars@2.2.0
 ├─ xtend@4.0.2
 ├─ y18n@4.0.3
 ├─ yallist@2.1.2
 ├─ yaml@1.10.2
 ├─ yargs-parser@18.1.3
 ├─ yorkie@2.0.0
 └─ zscroller@0.4.8
 $ umi generate tmp
 Done in 78.33s.
最近接触ant design,再上手的时候,老是会碰到,找不到某某模块的问题,上网搜了一下,发现很多都不能解决问题。后来,发现可以通过 yarn add 模块名 的方式,处理这种Error, 如:yarn add umi记录一下,希望也可以帮到您!NangongYi@LAPTOP-AKD59FEP MINGW64 /d/web/html/ant/myapp $ yarn add umi yarn add v1.22.10 info No lockfile found. [1/4] .
项目中需要新下载一个插件,当时网络不是特别好,下载失败了,后来不知道怎么项目就跑不起来了。 运行cnpm install没 问题 ,运行cnpm run serve就会报错: internal/ module s/cjs/loader.js:583 [app-scripts] throw err; [app-scripts] ^ [app-scripts] [app-scripts] Error : Can...
当遇到这个 问题 的时候表示你的当前项目node_ module s目录下没有npm安装对应得的 module 模块。 这个一般都是第一次使用nodejs的时候遇到的小白 问题 。 所以你只需要npm install 模块名 即可; 譬如提示“semver”模块没有可以npm install semver。 如果嫌弃默认的npm仓库安装比较慢可以,通过命令修改安装仓库国内淘宝的仓库 npm ...