Traceback (most recent call last):


 "/usr/local/Cellar/aws-sam-cli/1.21.0/libexec/lib/python3.8/site-packages/aws_lambda_builders/workflows/nodejs_npm/actions.py", line 59, in execute

tarfile_name = self.subprocess_npm.run(["pack", "-q", package_path], cwd=self.scratch_dir).splitlines()[-1]


 "/usr/local/Cellar/aws-sam-cli/1.21.0/libexec/lib/python3.8/site-packages/aws_lambda_builders/workflows/nodejs_npm/npm.py", line 85, in run

raise NpmExecutionError(message=err.decode("utf8").strip())
aws_lambda_builders.workflows.nodejs_npm.npm.NpmExecutionError: NPM Failed: npm ERR! code ENOLOCAL

WARNING: Writing cache to '/home/parker/.cache/youtube-dl/youtube-sigfuncs/js_vfl5aDZwb_84.json' failed: Traceback (most recent call last):

 "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 391, in _extract_signature_function
cache_res = res(test_string)

 "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 449, in <lambda>
return lambda s: initial_function([s])

 "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)

 "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)

 "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 58, in interpret_expression
val = local_vars[m.group('in')]KeyError: 'go'