|
|
ERROR Failed to compile with 1 error 10:02:48 ├F10: AM┤) l4 P% q+ m" [2 {
2 c4 G4 A( \! J5 JThis dependency was not found:, k0 ]8 T2 c6 p2 | S
( Q* F4 I3 y) U' S. s2 r; u* core-js/core/array in ./src/main.js
2 }1 q, W6 U! y u
8 L1 K; s# p& Q9 w# {/ _/ WTo install it, you can run: npm install --save core-js/core/array0 V! N" G( g. q9 F7 K' A; U5 u# V M
2 q+ v& f4 G; b v
* N6 v* t: V' ]( s, ? t* t
( h* N3 G: Z3 J. O; ^2 F& `3 m
解决办法:& o. ]5 ?/ R" h0 z0 ~& i( N" A
4 |! \/ B' z( R; e! z
PS C:\Users\admin\Desktop\deskdirectory\trip-mobile> npm install core-js
, G: \3 p9 ], ?/ B" |5 A
+ }3 O+ | S/ z7 \; N1 c> core-js@3.42.0 postinstall C:\Users\admin\Desktop\deskdirectory\trip-mobile\node_modules\core-js4 Z8 n: ^2 H7 a* V; O( w
> node -e "try{require('./postinstall')}catch(e){}"
) P0 ~# ^8 }) v6 @. ^
+ m' c0 t& {; e9 f- I: WThank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!( V* C( g9 t5 O( ^
" U2 \& A6 g! _$ GThe project needs your help! Please consider supporting core-js:9 b! |3 ]$ e- l* @ I5 K
> https://opencollective.com/core-js ! @2 [7 W1 F/ z8 \$ N& c7 k
> https://patreon.com/zloirock
, c5 H2 a) |& K> https://boosty.to/zloirock
9 U* M* r e9 z5 P> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz
8 A* L2 K3 z( J' B x1 ], O. W0 {; d/ l
I highly recommend reading this: https://github.com/zloirock/core ... 14-so-whats-next.md : \3 ]3 B% j) Y
8 S3 E. i$ ^& \$ F4 {- fnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.3 (node_modules\fsevents):$ V+ ~/ B% u2 O% C: M4 F& l
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})( d- k. r( N. X. i
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents):
4 l5 Y* y) I5 E4 T0 D& b i1 a. anpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
8 \7 [( |$ o7 a! ?* q, P: unpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents):6 p+ ]* |& }+ @0 \+ c& v
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})$ L* @" o. N0 s+ b3 q H
( v% m; F" D. \
+ core-js@3.42.0
- r) ^4 a* I K; b& |# |updated 1 package and audited 1553 packages in 32.554s
9 @5 u. v) W0 s8 m! F3 P8 t3 u1 @. h _. y+ A( z
162 packages are looking for funding" x1 }$ o3 ~0 S: T1 J' ]
run `npm fund` for details; q( D* F) X9 S! W! E* Y1 @0 z
6 P l2 B3 j) q6 u8 B9 W* wfound 108 vulnerabilities (3 low, 88 moderate, 15 high, 2 critical)& ]$ [. t, S' X& P( y
run `npm audit fix` to fix them, or `npm audit` for details. ~# [( P- X( O, N. H4 s
$ R8 W8 n5 V0 ^. T. q6 c- N
% ^! H& x# Q( m& V% e3 o1 e1 ]% h! Z5 U" Z
0 W/ |3 [ L# z' V5 R5 d9 g5 l" E; Q8 C" v5 C1 m! Z% F. U# G& C
|
|