A-A+

core-js缺少引起的问题

2020年04月01日 javascript, 前端 暂无评论 阅读 16 views 次

ERROR Failed to compile with 144 errors 00:47:59

These dependencies were not found:

* core-js/modules/es6.array.copy-within in ./src/global.js
* core-js/modules/es6.array.every in ./src/global.js
* core-js/modules/es6.array.fill in ./src/global.js
* core-js/modules/es6.array.filter in ./src/global.js
* core-js/modules/es6.array.find in ./src/global.js
* core-js/modules/es6.array.find-index in ./src/global.js
* core-js/modules/es6.array.for-each in ./src/global.js
* core-js/modules/es6.array.from in ./src/global.js
* core-js/modules/es6.array.index-of in ./src/global.js
* core-js/modules/es6.array.is-array in ./src/global.js
* core-js/modules/es6.array.iterator in ./src/global.js
* core-js/modules/es6.array.last-index-of in ./src/global.js
* core-js/modules/es6.array.map in ./src/global.js
* core-js/modules/es6.array.of in ./src/global.js
* core-js/modules/es6.array.reduce in ./src/global.js
* core-js/modules/es6.array.reduce-right in ./src/global.js
* core-js/modules/es6.array.some in ./src/global.js
* core-js/modules/es6.array.sort in ./src/global.js
* core-js/modules/es6.array.species in ./src/global.js
* core-js/modules/es6.date.now in ./src/global.js
* core-js/modules/es6.date.to-iso-string in ./src/global.js
* core-js/modules/es6.date.to-json in ./src/global.js
* core-js/modules/es6.date.to-primitive in ./src/global.js
* core-js/modules/es6.date.to-string in ./src/global.js
* core-js/modules/es6.function.bind in ./src/global.js
* core-js/modules/es6.function.has-instance in ./src/global.js
* core-js/modules/es6.function.name in ./src/global.js
* core-js/modules/es6.map in ./src/global.js
* core-js/modules/es6.math.acosh in ./src/global.js
* core-js/modules/es6.math.asinh in ./src/global.js
* core-js/modules/es6.math.atanh in ./src/global.js
* core-js/modules/es6.math.cbrt in ./src/global.js
* core-js/modules/es6.math.clz32 in ./src/global.js
* core-js/modules/es6.math.cosh in ./src/global.js
* core-js/modules/es6.math.expm1 in ./src/global.js
* core-js/modules/es6.math.fround in ./src/global.js
* core-js/modules/es6.math.hypot in ./src/global.js
* core-js/modules/es6.math.imul in ./src/global.js
* core-js/modules/es6.math.log10 in ./src/global.js
* core-js/modules/es6.math.log1p in ./src/global.js
* core-js/modules/es6.math.log2 in ./src/global.js
* core-js/modules/es6.math.sign in ./src/global.js
* core-js/modules/es6.math.sinh in ./src/global.js
* core-js/modules/es6.math.tanh in ./src/global.js
* core-js/modules/es6.math.trunc in ./src/global.js
* core-js/modules/es6.number.epsilon in ./src/global.js
* core-js/modules/es6.number.is-finite in ./src/global.js
* core-js/modules/es6.number.is-integer in ./src/global.js
* core-js/modules/es6.number.is-nan in ./src/global.js
* core-js/modules/es6.number.is-safe-integer in ./src/global.js
* core-js/modules/es6.number.max-safe-integer in ./src/global.js
* core-js/modules/es6.number.min-safe-integer in ./src/global.js
* core-js/modules/es6.number.parse-float in ./src/global.js
* core-js/modules/es6.number.parse-int in ./src/global.js
* core-js/modules/es6.object.assign in ./src/global.js
* core-js/modules/es6.object.create in ./src/global.js
* core-js/modules/es6.object.define-properties in ./src/global.js
* core-js/modules/es6.object.define-property in ./src/global.js
* core-js/modules/es6.object.freeze in ./src/global.js
* core-js/modules/es6.object.get-own-property-descriptor in ./src/global.js
* core-js/modules/es6.object.get-own-property-names in ./src/global.js
* core-js/modules/es6.object.get-prototype-of in ./src/global.js
* core-js/modules/es6.object.is in ./src/global.js
* core-js/modules/es6.object.is-extensible in ./src/global.js
* core-js/modules/es6.object.is-frozen in ./src/global.js
* core-js/modules/es6.object.is-sealed in ./src/global.js
* core-js/modules/es6.object.keys in ./src/global.js
* core-js/modules/es6.object.prevent-extensions in ./src/global.js
* core-js/modules/es6.object.seal in ./src/global.js
* core-js/modules/es6.object.set-prototype-of in ./src/global.js
* core-js/modules/es6.object.to-string in ./src/global.js
* core-js/modules/es6.promise in ./src/global.js
* core-js/modules/es6.reflect.apply in ./src/global.js
* core-js/modules/es6.reflect.construct in ./src/global.js
* core-js/modules/es6.reflect.define-property in ./src/global.js
* core-js/modules/es6.reflect.delete-property in ./src/global.js
* core-js/modules/es6.reflect.get in ./src/global.js
* core-js/modules/es6.reflect.get-own-property-descriptor in ./src/global.js
* core-js/modules/es6.reflect.get-prototype-of in ./src/global.js
* core-js/modules/es6.reflect.has in ./src/global.js
* core-js/modules/es6.reflect.is-extensible in ./src/global.js
* core-js/modules/es6.reflect.own-keys in ./src/global.js
* core-js/modules/es6.reflect.prevent-extensions in ./src/global.js
* core-js/modules/es6.reflect.set in ./src/global.js
* core-js/modules/es6.reflect.set-prototype-of in ./src/global.js
* core-js/modules/es6.regexp.flags in ./src/global.js
* core-js/modules/es6.regexp.match in ./src/global.js
* core-js/modules/es6.regexp.replace in ./src/global.js
* core-js/modules/es6.regexp.search in ./src/global.js
* core-js/modules/es6.regexp.split in ./src/global.js
* core-js/modules/es6.regexp.to-string in ./src/global.js
* core-js/modules/es6.set in ./src/global.js
* core-js/modules/es6.string.anchor in ./src/global.js
* core-js/modules/es6.string.big in ./src/global.js
* core-js/modules/es6.string.blink in ./src/global.js
* core-js/modules/es6.string.bold in ./src/global.js
* core-js/modules/es6.string.code-point-at in ./src/global.js
* core-js/modules/es6.string.ends-with in ./src/global.js
* core-js/modules/es6.string.fixed in ./src/global.js
* core-js/modules/es6.string.fontcolor in ./src/global.js
* core-js/modules/es6.string.fontsize in ./src/global.js
* core-js/modules/es6.string.from-code-point in ./src/global.js
* core-js/modules/es6.string.includes in ./src/global.js
* core-js/modules/es6.string.italics in ./src/global.js
* core-js/modules/es6.string.iterator in ./src/global.js
* core-js/modules/es6.string.link in ./src/global.js
* core-js/modules/es6.string.raw in ./src/global.js
* core-js/modules/es6.string.repeat in ./src/global.js
* core-js/modules/es6.string.small in ./src/global.js
* core-js/modules/es6.string.starts-with in ./src/global.js
* core-js/modules/es6.string.strike in ./src/global.js
* core-js/modules/es6.string.sub in ./src/global.js
* core-js/modules/es6.string.sup in ./src/global.js
* core-js/modules/es6.string.trim in ./src/global.js
* core-js/modules/es6.symbol in ./src/global.js
* core-js/modules/es6.typed.array-buffer in ./src/global.js
* core-js/modules/es6.typed.data-view in ./src/global.js
* core-js/modules/es6.typed.float32-array in ./src/global.js
* core-js/modules/es6.typed.float64-array in ./src/global.js
* core-js/modules/es6.typed.int16-array in ./src/global.js
* core-js/modules/es6.typed.int32-array in ./src/global.js
* core-js/modules/es6.typed.int8-array in ./src/global.js
* core-js/modules/es6.typed.uint16-array in ./src/global.js
* core-js/modules/es6.typed.uint32-array in ./src/global.js
* core-js/modules/es6.typed.uint8-array in ./src/global.js
* core-js/modules/es6.typed.uint8-clamped-array in ./src/global.js
* core-js/modules/es6.weak-map in ./src/global.js
* core-js/modules/es6.weak-set in ./src/global.js
* core-js/modules/es7.array.flat-map in ./src/global.js
* core-js/modules/es7.array.includes in ./src/global.js
* core-js/modules/es7.object.define-getter in ./src/global.js
* core-js/modules/es7.object.define-setter in ./src/global.js
* core-js/modules/es7.object.entries in ./src/global.js
* core-js/modules/es7.object.get-own-property-descriptors in ./src/global.js
* core-js/modules/es7.object.lookup-getter in ./src/global.js
* core-js/modules/es7.object.lookup-setter in ./src/global.js
* core-js/modules/es7.object.values in ./src/global.js
* core-js/modules/es7.promise.finally in ./src/global.js
* core-js/modules/es7.string.pad-end in ./src/global.js
* core-js/modules/es7.string.pad-start in ./src/global.js
* core-js/modules/es7.string.trim-left in ./src/global.js
* core-js/modules/es7.string.trim-right in ./src/global.js
* core-js/modules/es7.symbol.async-iterator in ./src/global.js
* core-js/modules/web.dom.iterable in ./src/global.js

To install them, you can run: npm install --save core-js/modules/es6.array.copy-within core-js/modules/es6.array.every core-js/modules/es6.array.fill core-js/modules/es6.array.filter core-js/modules/es6.array.find core-js/modules/es6.array.find-index core-js/modules/es6.array.for-each core-js/modules/es6.array.from core-js/modules/es6.array.index-of core-js/modules/es6.array.is-array core-js/modules/es6.array.iterator core-js/modules/es6.array.last-index-of core-js/modules/es6.array.map core-js/modules/es6.array.of core-js/modules/es6.array.reduce core-js/modules/es6.array.reduce-right core-js/modules/es6.array.some core-js/modules/es6.array.sort core-js/modules/es6.array.species core-js/modules/es6.date.now core-js/modules/es6.date.to-iso-string core-js/modules/es6.date.to-json core-js/modules/es6.date.to-primitive core-js/modules/es6.date.to-string core-js/modules/es6.function.bind core-js/modules/es6.function.has-instance core-js/modules/es6.function.name core-js/modules/es6.map core-js/modules/es6.math.acosh core-js/modules/es6.math.asinh core-js/modules/es6.math.atanh core-js/modules/es6.math.cbrt core-js/modules/es6.math.clz32 core-js/modules/es6.math.cosh core-js/modules/es6.math.expm1 core-js/modules/es6.math.fround core-js/modules/es6.math.hypot core-js/modules/es6.math.imul core-js/modules/es6.math.log10 core-js/modules/es6.math.log1p core-js/modules/es6.math.log2 core-js/modules/es6.math.sign core-js/modules/es6.math.sinh core-js/modules/es6.math.tanh core-js/modules/es6.math.trunc core-js/modules/es6.number.epsilon core-js/modules/es6.number.is-finite core-js/modules/es6.number.is-integer core-js/modules/es6.number.is-nan core-js/modules/es6.number.is-safe-integer core-js/modules/es6.number.max-safe-integer core-js/modules/es6.number.min-safe-integer core-js/modules/es6.number.parse-float core-js/modules/es6.number.parse-int core-js/modules/es6.object.assign core-js/modules/es6.object.create core-js/modules/es6.object.define-properties core-js/modules/es6.object.define-property core-js/modules/es6.object.freeze core-js/modules/es6.object.get-own-property-descriptor core-js/modules/es6.object.get-own-property-names core-js/modules/es6.object.get-prototype-of core-js/modules/es6.object.is core-js/modules/es6.object.is-extensible core-js/modules/es6.object.is-frozen core-js/modules/es6.object.is-sealed core-js/modules/es6.object.keys core-js/modules/es6.object.prevent-extensions core-js/modules/es6.object.seal core-js/modules/es6.object.set-prototype-of core-js/modules/es6.object.to-string core-js/modules/es6.promise core-js/modules/es6.reflect.apply core-js/modules/es6.reflect.construct core-js/modules/es6.reflect.define-property core-js/modules/es6.reflect.delete-property core-js/modules/es6.reflect.get core-js/modules/es6.reflect.get-own-property-descriptor core-js/modules/es6.reflect.get-prototype-of core-js/modules/es6.reflect.has core-js/modules/es6.reflect.is-extensible core-js/modules/es6.reflect.own-keys core-js/modules/es6.reflect.prevent-extensions core-js/modules/es6.reflect.set core-js/modules/es6.reflect.set-prototype-of core-js/modules/es6.regexp.flags core-js/modules/es6.regexp.match core-js/modules/es6.regexp.replace core-js/modules/es6.regexp.search core-js/modules/es6.regexp.split core-js/modules/es6.regexp.to-string core-js/modules/es6.set core-js/modules/es6.string.anchor core-js/modules/es6.string.big core-js/modules/es6.string.blink core-js/modules/es6.string.bold core-js/modules/es6.string.code-point-at core-js/modules/es6.string.ends-with core-js/modules/es6.string.fixed core-js/modules/es6.string.fontcolor core-js/modules/es6.string.fontsize core-js/modules/es6.string.from-code-point core-js/modules/es6.string.includes core-js/modules/es6.string.italics core-js/modules/es6.string.iterator core-js/modules/es6.string.link core-js/modules/es6.string.raw core-js/modules/es6.string.repeat core-js/modules/es6.string.small core-js/modules/es6.string.starts-with core-js/modules/es6.string.strike core-js/modules/es6.string.sub core-js/modules/es6.string.sup core-js/modules/es6.string.trim core-js/modules/es6.symbol core-js/modules/es6.typed.array-buffer core-js/modules/es6.typed.data-view core-js/modules/es6.typed.float32-array core-js/modules/es6.typed.float64-array core-js/modules/es6.typed.int16-array core-js/modules/es6.typed.int32-array core-js/modules/es6.typed.int8-array core-js/modules/es6.typed.uint16-array core-js/modules/es6.typed.uint32-array core-js/modules/es6.typed.uint8-array core-js/modules/es6.typed.uint8-clamped-array core-js/modules/es6.weak-map core-js/modules/es6.weak-set core-js/modules/es7.array.flat-map core-js/modules/es7.array.includes core-js/modules/es7.object.define-getter core-js/modules/es7.object.define-setter core-js/modules/es7.object.entries core-js/modules/es7.object.get-own-property-descriptors core-js/modules/es7.object.lookup-getter core-js/modules/es7.object.lookup-setter core-js/modules/es7.object.values core-js/modules/es7.promise.finally core-js/modules/es7.string.pad-end core-js/modules/es7.string.pad-start core-js/modules/es7.string.trim-left core-js/modules/es7.string.trim-right core-js/modules/es7.symbol.async-iterator core-js/modules/web.dom.iterable

ERROR CODE ERR_WEBPACK_MODULE_NOT_FOUND

DETAILS

## 错误原因

1. 文件确实不存在
2. 大小写问题

如果 mac 下构建成功,而在 linux 下或云构建平台上构建失败,则基本可断定为大小写问题。

## 解决方案

如果是大小写问题,请仔细检查 import 或 require 的文件和目标文件的大小写是否一致。

√ Installed 1 packages
√ Linked 0 latest versions
√ Run 0 scripts
√ All packages installed (used 391ms(network 385ms), speed 34.06kB/s, json 1(13.11kB), tarball 0B)

标签:

给我留言

您必须 登录 才能发表留言!

Copyright © 分享休闲玩耍去处分享-大一网 保留所有权利.  辽ICP备06002933号-2 Theme  Ality

用户登录 ⁄ 注册

分享到: