The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

425617 (8) [Avatar] Offline
#1
After installing sample authorization service (chapter 10 or 9) , it cannot be run as I am getting:

Unable to import module 'index': Error
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)


etc...

when trying to sign up a user by sampleAuthCreateUser lambda.

This error is also reported on the forum for another Manning book, (Serverless Architectures on AWS) with no real solution. https://forums.manning.com/posts/list/40870.page


Can anybody help. What is going on?