Skip to content

Getting typescript error on hot reload that's causing local development to fail #2735

@ngdevlabs

Description

@ngdevlabs

Node Version: 22.16.0
npm version: 10.9.2
checkout-js version: 1.709.0

During local development, I keep getting the following 18 errors that's crashing my local environment.

The error occurs any time I save to the project. On initial load (npm run dev) everything works.

I have not modified any of the files in this error log, so I'm at a bit of a loss as to why this keeps happening. But it's really holding back progress. The only way to resolve it is to delete everything in /build and run npm run dev again.

For now I made a linux script that automates the process of deleting /build and running npm run dev but that's just a bandaid for now, and hoping I'll find a solution here.

When I initially run npm run dev everything works. When I make a change and save, this is when I get the error log below and it breaks the build chain.

I also am unable to use the combined command in the same window: npm run dev & npm run dev:server
For some reason I have to run them separately.

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts
./packages/core/src/app/customer/resolveCheckoutButton.ts 5:17-23
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts(5,18)
TS7006: Parameter 'source' implicitly has an 'any' type.
@ ./packages/core/src/app/customer/CheckoutButtonContainer.tsx 8:0-60 29:39-60
@ ./packages/core/src/app/customer/index.ts 9:0-79 9:0-79
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts
./packages/core/src/app/customer/resolveCheckoutButton.ts 5:25-32
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts(5,26)
TS7006: Parameter 'exclude' implicitly has an 'any' type.
@ ./packages/core/src/app/customer/CheckoutButtonContainer.tsx 8:0-60 29:39-60
@ ./packages/core/src/app/customer/index.ts 9:0-79 9:0-79
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts
./packages/core/src/app/customer/resolveCheckoutButton.ts 9:6-18
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts(9,7)
TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
@ ./packages/core/src/app/customer/CheckoutButtonContainer.tsx 8:0-60 29:39-60
@ ./packages/core/src/app/customer/index.ts 9:0-79 9:0-79
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts
./packages/core/src/app/customer/resolveCheckoutButton.ts 11:13-17
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts(11,14)
TS2403: Subsequent variable declarations must have the same type. Variable 'prop' must be of type 'string', but here has type 'symbol'.
@ ./packages/core/src/app/customer/CheckoutButtonContainer.tsx 8:0-60 29:39-60
@ ./packages/core/src/app/customer/index.ts 9:0-79 9:0-79
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts
./packages/core/src/app/customer/resolveCheckoutButton.ts 13:8-20
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts(13,9)
TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
@ ./packages/core/src/app/customer/CheckoutButtonContainer.tsx 8:0-60 29:39-60
@ ./packages/core/src/app/customer/index.ts 9:0-79 9:0-79
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts
./packages/core/src/app/customer/resolveCheckoutButton.ts 19:46-55
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/resolveCheckoutButton.ts(19,47)
TS7006: Parameter 'resolveId' implicitly has an 'any' type.
@ ./packages/core/src/app/customer/CheckoutButtonContainer.tsx 8:0-60 29:39-60
@ ./packages/core/src/app/customer/index.ts 9:0-79 9:0-79
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/CheckoutButtonList.tsx
./packages/core/src/app/customer/CheckoutButtonList.tsx 92:20-35
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/CheckoutButtonList.tsx(92,21)
TS2322: Type '{ checkoutService: CheckoutService; checkoutState: CheckoutSelectors; containerId: string; language: LanguageService; methodId: string; onUnhandledError: (...args: any[]) => void; onWalletButtonClick: (...args: any[]) => void; }' is not assignable to type 'IntrinsicAttributes'.
Property 'checkoutService' does not exist on type 'IntrinsicAttributes'.
@ ./packages/core/src/app/customer/GuestFormContainer.tsx 7:0-54 28:30-48
@ ./packages/core/src/app/customer/Customer.tsx 15:0-58 206:54-72
@ ./packages/core/src/app/customer/index.ts 1:0-49 1:0-49
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/checkout/CheckoutPage.tsx
./packages/core/src/app/checkout/CheckoutPage.tsx 534:29-41
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/checkout/CheckoutPage.tsx(534,30)
TS2339: Property 'prerendering' does not exist on type 'Document'.
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/shipping/SingleShippingForm.tsx
./packages/core/src/app/shipping/SingleShippingForm.tsx 384:50-56
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/shipping/SingleShippingForm.tsx(384,51)
TS6133: 'values' is declared but its value is never read.
@ ./packages/core/src/app/shipping/ShippingForm.tsx 8:0-54 42:81-99
@ ./packages/core/src/app/shipping/Shipping.tsx 8:0-42 109:32-44
@ ./packages/core/src/app/checkout/components/ShippingStep.tsx 7:40-9:26
@ ./packages/core/src/app/checkout/components/index.ts 6:0-57 6:0-57
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 20:0-113 320:32-43 314:44-58 205:43-54 207:43-54 201:43-55 203:43-55
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/shipping/ShippingAddressForm.tsx
./packages/core/src/app/shipping/ShippingAddressForm.tsx 40:8-28
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/shipping/ShippingAddressForm.tsx(40,9)
TS6133: 'isShippingRestricted' is declared but its value is never read.
@ ./packages/core/src/app/shipping/ShippingAddress.tsx 6:0-56 26:32-51
@ ./packages/core/src/app/shipping/SingleShippingForm.tsx 15:0-48 225:36-51
@ ./packages/core/src/app/shipping/ShippingForm.tsx 8:0-54 42:81-99
@ ./packages/core/src/app/shipping/Shipping.tsx 8:0-42 109:32-44
@ ./packages/core/src/app/checkout/components/ShippingStep.tsx 7:40-9:26
@ ./packages/core/src/app/checkout/components/index.ts 6:0-57 6:0-57
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 20:0-113 320:32-43 314:44-58 205:43-54 207:43-54 201:43-55 203:43-55
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx
./packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx 86:20-35
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx(86,21)
TS2322: Type '{ checkoutService: CheckoutService; checkoutState: CheckoutSelectors; language: LanguageService; method: PaymentMethod; onUnhandledError: (error: Error) => void; paymentForm: PaymentFormService; }' is not assignable to type 'IntrinsicAttributes'.
Property 'checkoutService' does not exist on type 'IntrinsicAttributes'.
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodList.tsx 10:0-48 52:36-51
@ ./packages/core/src/app/payment/paymentMethod/index.ts 5:0-67 5:0-67
@ ./packages/core/src/app/customer/Customer.tsx 11:0-59 38:69-94 136:61-86
@ ./packages/core/src/app/customer/index.ts 1:0-49 1:0-49
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/CheckoutButtonContainer.tsx
./packages/core/src/app/customer/CheckoutButtonContainer.tsx 83:16-31
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/customer/CheckoutButtonContainer.tsx(83,17)
TS2322: Type '{ checkoutService: CheckoutService; checkoutState: CheckoutSelectors; containerId: string; language: LanguageService; methodId: string; onUnhandledError: (error: Error) => void; onWalletButtonClick: (methodId: string) => void; }' is not assignable to type 'IntrinsicAttributes'.
Property 'checkoutService' does not exist on type 'IntrinsicAttributes'.
@ ./packages/core/src/app/customer/index.ts 9:0-79 9:0-79
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts
./packages/core/src/app/payment/resolvePaymentMethod.ts 5:17-23
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts(5,18)
TS7006: Parameter 'source' implicitly has an 'any' type.
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx 9:0-59 23:34-54
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodList.tsx 10:0-48 52:36-51
@ ./packages/core/src/app/payment/paymentMethod/index.ts 5:0-67 5:0-67
@ ./packages/core/src/app/customer/Customer.tsx 11:0-59 38:69-94 136:61-86
@ ./packages/core/src/app/customer/index.ts 1:0-49 1:0-49
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts
./packages/core/src/app/payment/resolvePaymentMethod.ts 5:25-32
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts(5,26)
TS7006: Parameter 'exclude' implicitly has an 'any' type.
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx 9:0-59 23:34-54
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodList.tsx 10:0-48 52:36-51
@ ./packages/core/src/app/payment/paymentMethod/index.ts 5:0-67 5:0-67
@ ./packages/core/src/app/customer/Customer.tsx 11:0-59 38:69-94 136:61-86
@ ./packages/core/src/app/customer/index.ts 1:0-49 1:0-49
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts
./packages/core/src/app/payment/resolvePaymentMethod.ts 9:6-18
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts(9,7)
TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx 9:0-59 23:34-54
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodList.tsx 10:0-48 52:36-51
@ ./packages/core/src/app/payment/paymentMethod/index.ts 5:0-67 5:0-67
@ ./packages/core/src/app/customer/Customer.tsx 11:0-59 38:69-94 136:61-86
@ ./packages/core/src/app/customer/index.ts 1:0-49 1:0-49
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts
./packages/core/src/app/payment/resolvePaymentMethod.ts 11:13-17
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts(11,14)
TS2403: Subsequent variable declarations must have the same type. Variable 'prop' must be of type 'string', but here has type 'symbol'.
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx 9:0-59 23:34-54
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodList.tsx 10:0-48 52:36-51
@ ./packages/core/src/app/payment/paymentMethod/index.ts 5:0-67 5:0-67
@ ./packages/core/src/app/customer/Customer.tsx 11:0-59 38:69-94 136:61-86
@ ./packages/core/src/app/customer/index.ts 1:0-49 1:0-49
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts
./packages/core/src/app/payment/resolvePaymentMethod.ts 13:8-20
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts(13,9)
TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx 9:0-59 23:34-54
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodList.tsx 10:0-48 52:36-51
@ ./packages/core/src/app/payment/paymentMethod/index.ts 5:0-67 5:0-67
@ ./packages/core/src/app/customer/Customer.tsx 11:0-59 38:69-94 136:61-86
@ ./packages/core/src/app/customer/index.ts 1:0-49 1:0-49
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts
./packages/core/src/app/payment/resolvePaymentMethod.ts 19:45-50
[tsl] ERROR in /home/jjwdev/nextgen-myclient-checkout/packages/core/src/app/payment/resolvePaymentMethod.ts(19,46)
TS7006: Parameter 'query' implicitly has an 'any' type.
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodV2.tsx 9:0-59 23:34-54
@ ./packages/core/src/app/payment/paymentMethod/PaymentMethodList.tsx 10:0-48 52:36-51
@ ./packages/core/src/app/payment/paymentMethod/index.ts 5:0-67 5:0-67
@ ./packages/core/src/app/customer/Customer.tsx 11:0-59 38:69-94 136:61-86
@ ./packages/core/src/app/customer/index.ts 1:0-49 1:0-49
@ ./packages/core/src/app/checkout/CheckoutPage.tsx 13:0-48 88:33-63 156:32-54 179:28-50 182:28-58 198:52-74 198:77-99
@ ./packages/core/src/app/checkout/CheckoutInitializer.tsx 4:0-42 13:31-43
@ ./packages/core/src/app/checkout/Checkout.tsx 1:0-56 2:15-34
@ ./packages/core/src/app/checkout/CheckoutApp.tsx 11:0-34 37:48-56
@ ./packages/core/src/app/checkout/renderCheckout.tsx 10:37-61
@ ./packages/core/src/app/index.ts 1:0-75 1:0-75

18 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.102.0 compiled with 18 errors in 7159 msH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions