Skip to content

installation is broken #2829

@knrdl

Description

@knrdl

Marko Version: 6.1.1

Details

$ docker run -it --rm node:slim npm init marko

Need to install the following packages:
create-marko@6.1.1
Ok to proceed? (y) y


> npx
> "create-marko"

? Type your project n/root/.npm/_npx/ba91dde5859b4878/node_modules/degit/dist/index-688c5d50.js:14258
			throw new DegitError(`could not find commit hash for ${repo.ref}`, {
			      ^

DegitError: could not find commit hash for HEAD
    at Degit._cloneWithTar (/root/.npm/_npx/ba91dde5859b4878/node_modules/degit/dist/index-688c5d50.js:14258:10)
    at async Degit.clone (/root/.npm/_npx/ba91dde5859b4878/node_modules/degit/dist/index-688c5d50.js:14096:4)
    at async downloadRepo (/root/.npm/_npx/ba91dde5859b4878/node_modules/@marko/create/dist/index.js:133:3)
    at async exports.getExamples (/root/.npm/_npx/ba91dde5859b4878/node_modules/@marko/create/dist/index.js:72:3) {
  code: 'MISSING_REF',
  ref: 'HEAD'
}

Node.js v24.8.0
npm error code 1
npm error path /
npm error command failed
npm error command sh -c "create-marko"
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-09-13T16_56_18_962Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:unverified bugA bug report that has not been verified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions