File size: 17,698 Bytes
188bf54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
��vite v8.0.1 building client environment for production...



transforming...��� 1760 modules transformed.

node.exe : ��� Build failed in 602ms

At line:1 char:1

+ & "C:\Program Files\nodejs/node.exe" 

"C:\Program Files\nodejs/node_mo ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: ([31 

   m��� Build failed in 602ms:String) [], R  

  emoteException

    + FullyQualifiedErrorId : NativeCommandError

 

error during build:

Build failed with 5 errors:



[UNRESOLVED_IMPORT] Error: Could not 

resolve '../../context/AuthContext' in 

src/pages/AdminDashboard.jsx

   ������

[ src/pages/AdminDashboard.jsx:2:25 

]

   ���

 2 ��� im

por[

0mt 

{ u[

0mseA

uth[

38;5;249m } [38

;5;249mfro[38;5

;249mm 

"../../context/AuthContext";

   ���                         ����

��������������������������������������������������

���������������������������  

   ���                             

         

���%��������������������������������������������� 

Module not found.

   ��� 

   ��� Help: 

'src/pages/AdminDashboard.jsx' is imported by the 

following path:

   ���         - 

src/pages/AdminDashboard.jsx

   ���         - src/App.jsx

   ���         - src/main.jsx

   ���         - index.html

������������



[UNRESOLVED_IMPORT] Error: Could not 

resolve 

'../../components/admin/DashboardOverview' in 

src/pages/AdminDashboard.jsx

   ������

[ src/pages/AdminDashboard.jsx:5:31 

]

   ���

 5 ��� im

por[

0mt D

ash[

38;5;249mboa[38

;5;249mrdO[38;5

;249mver[38;5;2

49mvie[38;5;249

mw fr

om [

0m"../../components/admin/DashboardOverview"[38;5

;249m;

   ���                             

  ������������������������������������������������

��������������������������������������������������

����������������������������  

   ���                             

                       ���%������������������������

������������������������������������������ Module 

not found.

   ��� 

   ��� Help: 

'src/pages/AdminDashboard.jsx' is imported by the 

following path:

   ���         - 

src/pages/AdminDashboard.jsx

   ���         - src/App.jsx

   ���         - src/main.jsx

   ���         - index.html

������������



[UNRESOLVED_IMPORT] Error: Could not 

resolve '../../components/admin/MenuEditor' in 

src/pages/AdminDashboard.jsx

   ������

[ src/pages/AdminDashboard.jsx:6:24 

]

   ���

 6 ��� im

por[

0mt M

enu[

38;5;249mEdi[38

;5;249mtor[38;5

;249m fr[38;5;2

49mom "../../com

ponents/admin/MenuEditor";

   ���                        �����

��������������������������������������������������

��������������������������������������������������

  

   ���                             

            ���%�����������������������������������

���������������������� Module not found.

   ��� 

   ��� Help: 

'src/pages/AdminDashboard.jsx' is imported by the 

following path:

   ���         - 

src/pages/AdminDashboard.jsx

   ���         - src/App.jsx

   ���         - src/main.jsx

   ���         - index.html

������������



[UNRESOLVED_IMPORT] Error: Could not 

resolve '../../components/admin/InventoryControl' 

in src/pages/AdminDashboard.jsx

   ������

[ src/pages/AdminDashboard.jsx:7:30 

]

   ���

 7 ��� im

por[

0mt I

nve[

38;5;249mnto[38

;5;249mryC[38;5

;249mont[38;5;2

49mrol[38;5;249

m fro

m "../../compone

nts/admin/InventoryControl";

   ���                             

 �������������������������������������������������

��������������������������������������������������

������������������������  

   ���                             

                     ���%��������������������������

���������������������������������������� Module 

not found.

   ��� 

   ��� Help: 

'src/pages/AdminDashboard.jsx' is imported by the 

following path:

   ���         - 

src/pages/AdminDashboard.jsx

   ���         - src/App.jsx

   ���         - src/main.jsx

   ���         - index.html

������������



[UNRESOLVED_IMPORT] Error: Could not 

resolve '../../components/admin/Reports' in 

src/pages/AdminDashboard.jsx

   ������

[ src/pages/AdminDashboard.jsx:8:21 

]

   ���

 8 ��� im

por[

0mt R

epo[

38;5;249mrts[38

;5;249m fr[38;5

;249mom "../../c

omponents/admin/Reports";

   ���                     ��������

��������������������������������������������������

��������������������������������������  

   ���                             

        ���%���������������������������������������

������������ Module not found.

   ��� 

   ��� Help: 

'src/pages/AdminDashboard.jsx' is imported by the 

following path:

   ���         - 

src/pages/AdminDashboard.jsx

   ���         - src/App.jsx

   ���         - src/main.jsx

   ���         - index.html

������������



    at aggregateBindingErrorsIntoJsError (file:///

C:/Users/Administrator/Documents/rest/frontend/nod

e_modules/rolldown/dist/shared/error-BO4SlZV_.mjs:

48:18)

    at unwrapBindingResult (file:///C:/Users/Admin

istrator/Documents/rest/frontend/node_modules/roll

down/dist/shared/error-BO4SlZV_.mjs:18:128)

    at #build (file:///C:/Users/Administrator/Docu

ments/rest/frontend/node_modules/rolldown/dist/sha

red/rolldown-build-yQC7KN8K.mjs:3311:34)

    at async buildEnvironment (file:///C:/Users/Ad

ministrator/Documents/rest/frontend/node_modules/v

ite/dist/node/chunks/node.js:32817:64)

    at async Object.build (file:///C:/Users/Admini

strator/Documents/rest/frontend/node_modules/vite/

dist/node/chunks/node.js:33239:19)

    at async Object.buildApp (file:///C:/Users/Adm

inistrator/Documents/rest/frontend/node_modules/vi

te/dist/node/chunks/node.js:33236:153)

    at async CAC.<anonymous> (file:///C:/Users/Adm

inistrator/Documents/rest/frontend/node_modules/vi

te/dist/node/cli.js:778:3) {

  errors: [Getter/Setter]

}