https://pulumi.com logo
#automation-api
Title
# automation-api
w

wet-soccer-72485

11/22/2020, 5:37 PM
If the Pulumi Automation API can’t find modules needed by my Dynamic Resource Provider, is that a sign my working directory might be wrong?
Copy code
+ pulumi-nodejsdynamic:Resource xyz creating error: _my_logger__WEBPACK_IMPORTED_MODULE_6__ is not defined
+ pulumi-nodejsdynamic:Resource xyz **creating failed** error: _my_logger__WEBPACK_IMPORTED_MODULE_6__ is not defined
Actually, now I’m getting a different error (different module):
Copy code
variable '_xyz_logging_gcp__WEBPACK_IMPORTED_MODULE_1__' which indirectly referenced
		function '<anonymous>': which captured
			variable 'logger' which indirectly referenced
				function 'BufferList': which referenced
					function '[nodejs.util.inspect.custom]': which referenced
						function 'inspect': which captured
							'ObjectKeys', a function defined at
								function 'keys': which could not be serialized because
									it was a native code function.