Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

avn setup throws error TypeError: cb.apply is not a function #106

@wangyizhuo

Description

@wangyizhuo

Please describe your issue clearly and also include all details below.

Details

  • avn avn --version 0.2.4
  • node node --version v12.19.0
  • nvm nvm --version 0.35.3
  • n n --version n/a
  • zsh zsh --version zsh 5.8 (x86_64-apple-darwin19.3.0)
  • bash bash --version n/a

Steps to reproduce

avn setup

Output

avn: profile already set up (~/.zshrc)
/Users/wyz/.nvm/versions/node/v12.19.0/lib/node_modules/avn/node_modules/npm/node_modules/graceful-fs/polyfills.js:267
      if (cb) cb.apply(this, arguments)
                 ^

TypeError: cb.apply is not a function
    at /Users/wyz/.nvm/versions/node/v12.19.0/lib/node_modules/avn/node_modules/npm/node_modules/graceful-fs/polyfills.js:267:18

nvm specific

  • [ Y] As an nvm user I am confirming that I did not install with Homebrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions