title: AWS Lambda layer files location
body: <p>I have node.js lambda app and I created a layer for qrcode and added my layer to my lambda function.</p>
  <p>now when I goto my lambda and layers, I see my layer with the following details: myqrcodelayer</p>
  <p>and when I reference it in my function, i get below error:</p>
  <pre><code> &quot;errorType&quot;: &quot;Runtime.ImportModuleError&quot;,
   &quot;errorMessage&quot;: &quot;Error: Cannot find module 'qrcode'\nRequire stack:\n- /var/task/index.js\n-   /var/runtime/UserFunction.js\n- /var/runtime/index.js&quot;,
  &quot;trace&quot;: [
  &quot;Runtime.ImportModuleError: Error: Cannot find module 'qrcode'&quot;,
  </code></pre>
  <p>I call my qrcode in lambda like below:</p>
  <pre><code>const QRCode = require('/opt/myQRCodeLayer/qrcode');
  </code></pre>