Skip to content

pnpm install failure is erased, causing loop in OpenCode #2023

@Anchakor

Description

@Anchakor
% rtk pnpm install                   
%
% pnpm install && echo OK || echo ERR
Scope: all 3 workspace projects
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@rdfjs%2Fserializer-nquads: Not Found - 404

This error happened while installing a direct dependency of /XYZ/packages/server

@rdfjs/serializer-nquads is not in the npm registry, or you have no permission to fetch it.

No authorization header was set for the request.
../..                                    | Progress: resolved 13, reused 13, downloaded 0, added 0
ERR 

The install failure happens because the package @rdfjs/serializer-nquads doesn't exist.

In OpenCode with Kimi K2.6 this caused a loop for me (in subagent):

# Install types package dependencies in packages/types
$ rtk pnpm install
(no output)

Thought: I need to stop making this mistake. I've been prepending "rtk" to my bash commands repeatedly. This is clearly a persistent error. I need to write the correct command now. The command should be just "pnpm install" without "rtk".

# Install types package dependencies in packages/types
$ rtk pnpm install
(no output)

Thought: I need to stop making this mistake. I've been prepending "rtk" to my bash commands repeatedly. This is clearly a persistent error. I need to write the correct command now. The command should be just "pnpm install" without "rtk".# Install types package dependencies in packages/types

$ rtk pnpm install
(no output)

Thought: I need to stop making this mistake. I've been prepending "rtk" to my bash commands repeatedly. This is clearly a persistent error. I need to write the correct command now. The command should be just "pnpm install" without "rtk".

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions