Skip to content

fix building of nodejs-based hooks #2

@asottile

Description

@asottile

For example: https://results.pre-commit.ci/run/github/261542529/1603753977.V8WMCZpnSTavW3yTrUdQhA

build attempt 1...
    => error
    [INFO] Installing environment for https://github.com/prettier/prettier.
    [INFO] Once installed this environment will be reused.
    [INFO] This may take a few minutes...
    An unexpected error has occurred: CalledProcessError: command: ('/pc/clone/uXI4ri67TKuUOEqHk8jLiQ/node_env-default/bin/node', '/pc/clone/uXI4ri67TKuUOEqHk8jLiQ/node_env-default/bin/npm', 'install')
    return code: 1
    expected return code: 0
    stdout: (none)
    stderr:
        npm ERR! code EROFS
        npm ERR! syscall mkdir
        npm ERR! path /src/.npm
        npm ERR! errno EROFS
        npm ERR! rofs Invalid response body while trying to fetch https://registry.npmjs.org/@angular%2fcompiler: EROFS: read-only file system, mkdir '/src/.npm'
        npm ERR! rofs Often virtualized file systems, or other file systems
        npm ERR! rofs that don't support symlinks, give this error.
    
    Check the log at /pc/pre-commit.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions