localstack-samples / localstack-samples/localstack-demo

Deploy and install targets are not working (npm error and bucket not found).

Open
#56 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
69
Forks
33
Avg merge
6h 1m
Merged PRs (30d)
1

Description

Hi,

I cannot get the demo to work on a fresh install of localstack:

2647 verbose stack TypeError: Cannot read properties of null (reading 'pickAlgorithm')
2647 verbose stack     at Integrity.match (/usr/lib/node_modules/npm/node_modules/ssri/lib/index.js:273:24)
2647 verbose stack     at CachePolicy.satisfies (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/policy.js:112:49)
2647 verbose stack     at Function.find (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js:178:25)
2647 verbose stack     at async cacheFetch (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js:8:17)
2647 verbose stack     at async fetch (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js:98:7)
Error:
Serverless plugin "serverless-deployment-bucket" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file. Run "serverless plugin install -n serverless-deployment-bucket" to install it.
make: *** [Makefile:14: deploy] Error 1

The fix proposed in #55 does not work for me.

Linux 4.19.0-23-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64 GNU/Linux
Python 3.10.5
npm v8.19.3
node v16.19.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the deploy target at Makefile:14 and the Serverless configuration's plugins section, then reproduce the npm and deployment-bucket errors using the reported Node, npm, and Python versions. Compare the behavior with the fix proposed in #55; done means a fresh LocalStack install can run the demo deployment without the plugin or bucket errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.