getappmap / getappmap/appmap-js

Agent installer is not supporting packages without a package-lock.json file

Open
#602 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
53
Forks
18
Avg merge
3d 18h
Merged PRs (30d)
8

Description

The agent installation (via npx @appland/appmap install) fails for https://github.com/juice-shop/juice-shop, because the repository intentionally disabled with package-lock=false in the .npmrc file.

$ git clone https://github.com/juice-shop/juice-shop.git
$ cd juice-shop
# no package-lock.json
$ npm install
$ npx @appland/appmap install # fails

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

Reproduce the failure in the juice-shop repository using the shown clone, npm install, and npx @appland/appmap install commands. Start by checking how the installer handles the absence of package-lock.json and the package-lock=false setting in .npmrc. Done means installation succeeds for a repository without package-lock.json.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.