Skip to content

install fails with ENOENT and off path #1499

@monte-hayward

Description

@monte-hayward

Looks like this might be new.

$ node -v && npm -v
v5.7.0
3.7.5
$ npm i -g grunt grunt-cli

~/.node_modules_global/bin/grunt -> ~/.node_modules_global/lib/node_modules/grunt-cli/bin/grunt
- [email protected] node_modules/grunt-cli/node_modules/lodash
- [email protected] node_modules/grunt-cli/node_modules/lru-cache
- [email protected] node_modules/grunt-cli/node_modules/sigmund
- [email protected] node_modules/grunt/node_modules/argparse/node_modules/underscore.string
- [email protected] node_modules/grunt/node_modules/findup-sync/node_modules/lodash
- [email protected] node_modules/grunt/node_modules/glob/node_modules/inherits
- [email protected] node_modules/grunt/node_modules/grunt-legacy-log-utils/node_modules/underscore.string
- [email protected] node_modules/grunt/node_modules/grunt-legacy-log/node_modules/lodash
- [email protected] node_modules/grunt/node_modules/grunt-legacy-log/node_modules/underscore.string
- [email protected] node_modules/grunt/node_modules/lru-cache
- [email protected] node_modules/grunt/node_modules/sigmund
- [email protected] node_modules/grunt/node_modules/findup-sync/node_modules/minimatch
- [email protected] node_modules/grunt/node_modules/underscore
~/.node_modules_global/lib
└─┬ [email protected] 
  ├─┬ [email protected] 
  │ └─┬ [email protected] 
  │   ├─┬ [email protected] 
  │   │ └── [email protected] 
  │   ├─┬ [email protected] 
  │   │ └─┬ [email protected] 
  │   │   ├── [email protected] 
  │   │   └── [email protected] 
  │   ├── [email protected] 
  │   └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  └── [email protected] 

npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/bin/node" "~/.node_modules_global/bin/npm" "i" "-g" "grunt-cli" "grunt"
npm ERR! node v5.7.0
npm ERR! npm  v3.7.5
npm ERR! path ~/.node_modules_global/lib/node_modules/grunt/node_modules/grunt-cli/bin/grunt
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '~/.node_modules_global/lib/node_modules/grunt/node_modules/grunt-cli/bin/grunt'
npm ERR! enoent ENOENT: no such file or directory, chmod '~/.node_modules_global/lib/node_modules/grunt/node_modules/grunt-cli/bin/grunt'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions