neume-network / neume-network/core

installing @neume-network/core fails because of husky or missing .git repository

Open
#84 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27
Forks
11
PR merge metrics
No merged PRs in 30d

Description

 timdaub@kazoo  ~/Projects/neume-network/blueprints   main  npm i @neume-network/core

> @neume-network/core@0.1.0 postinstall /Users/timdaub/Projects/neume-network/blueprints/node_modules/@neume-network/core
> git submodule sync && git submodule update --init && cd ./src/strategies && npm install


> neume-network-strategies@0.0.1 prepare /Users/timdaub/Projects/neume-network/blueprints/node_modules/@neume-network/core/src/strategies
> husky install

.git can't be found (see https://git.io/Jc3F9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! neume-network-strategies@0.0.1 prepare: `husky install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the neume-network-strategies@0.0.1 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/timdaub/.npm/_logs/2022-09-02T13_50_55_489Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @neume-network/core@0.1.0 postinstall: `git submodule sync && git submodule update --init && cd ./src/strategies && npm install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @neume-network/core@0.1.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/timdaub/.npm/_logs/2022-09-02T13_50_56_323Z-debug.log

Contributor guide

Open the contributing guide

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 with npm i @neume-network/core and inspect the package's postinstall script, especially the src/strategies install and its prepare script. Verify the installation path works when no .git repository is present and that the package installs without the reported lifecycle error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.