dpcunningham / exertimer_i4ng_v0

Public Tutorial (from Gary Simon's DesignCourse): Build an exercise interval timer using Ionic4/Angular
0 stars 0 forks source link

eliminate code "fat finger" causing runtime/logfile errors #20

Closed dpcunningham closed 4 years ago

dpcunningham commented 4 years ago

There's an error in the console log:

[ng] ERROR in src/app/home/home.page.ts:3:49 - error TS2307: Cannot find module 'constants'.
[ng] 3 import { SSL_OP_SSLEAY_080_CLIENT_DH_BUG } from 'constants';

...and I saw this weird-ass line (syntax-colored as a warning/error) when I was in home.page.ts:

    import { SSL_OP_SSLEAY_080_CLIENT_DH_BUG } from 'constants';

I think this is a cut & paste error on my part. I'm dropping the line.

Save + rebuild + eyeball console log ==> we're now good to go.

$ git commit -am "Corrected cut/paste error."