I’m trying to work with lambda layers and trying to add the
/opt/layer-name to the externals property, but after doing so, i get the following error, I’m not sure if its npm or how webpack should work with deploying, but its def new when adding the additional string for my expected path.
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/local/bin/node’, ‘/usr/local/bin/npm’, ‘install’ ]
2 info using email@example.com
3 info using firstname.lastname@example.org
4 verbose npm-session ef9371674631680a
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall email@example.com
7 info lifecycle firstname.lastname@example.org~preinstall: email@example.com
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 timing npm Completed in 415ms
11 error cb() never called!
12 error This is an error with npm itself. Please report this error at:
13 error https://npm.community