In the guide there is a reference to the following...
# guide
m
In the guide there is a reference to the following on page 347
Copy code
import debug from "../libs/debug-lib";
However, the reference should be to ../util/debug as per page 345
Copy code
Create a backend/util/debug.js file from your project root with the following
There is a further reference to debug-lib on page 349.
Copy code
Note that, the handler-lib.js needs to be imported before we import anything else. This is
because the debug-lib.js that it imports needs to initialize AWS SDK logging before it's used
anywhere else.
I think the handler-lib and debug-lib references got cross contaminated from the serverless app instructions from pages 578 and onwards.
j
Good catch! Fixing it right now.