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

Installing “-project-shell-env@0.2.4” failed. #2

@zimbatm

Description

@zimbatm

Hi, direnv author here. I tried installing your plugin but got this error, any idea what the cause would be ? It's a bit weird that the install is looking for a package.json in my home.

npm ERR! install Couldn't read dependencies
npm ERR! Linux 4.4.0
npm ERR! argv "/nix/store/99jqgk3pf56xflhiag7w7hj8zm88jggj-atom-1.4.3/share/atom/resources/app/apm/bin/node" "/nix/store/99jqgk3pf56xflhiag7w7hj8zm88jggj-atom-1.4.3/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/zimbatm/.atom/.apm/.apmrc" "--userconfig" "/home/zimbatm/.atom/.apmrc" "install" "--target=0.34.5" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! path /home/zimbatm/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34

npm ERR! package.json ENOENT, open '/home/zimbatm/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/zimbatm/npm-debug.log

content of npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ '/nix/store/99jqgk3pf56xflhiag7w7hj8zm88jggj-atom-1.4.3/share/atom/resources/app/apm/bin/node',
1 verbose cli   '/nix/store/99jqgk3pf56xflhiag7w7hj8zm88jggj-atom-1.4.3/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js',
1 verbose cli   '--globalconfig',
1 verbose cli   '/home/zimbatm/.atom/.apm/.apmrc',
1 verbose cli   '--userconfig',
1 verbose cli   '/home/zimbatm/.atom/.apmrc',
1 verbose cli   'install',
1 verbose cli   '--target=0.34.5',
1 verbose cli   '--arch=x64' ]
2 info using npm@2.13.3
3 info using node@v0.10.40
4 verbose readDependencies loading dependencies from /home/zimbatm/package.json
5 error install Couldn't read dependencies
6 verbose stack Error: ENOENT, open '/home/zimbatm/package.json'
7 verbose cwd /home/zimbatm
8 error Linux 4.4.0
9 error argv "/nix/store/99jqgk3pf56xflhiag7w7hj8zm88jggj-atom-1.4.3/share/atom/resources/app/apm/bin/node" "/nix/store/99jqgk3pf56xflhiag7w7hj8zm88jggj-atom-1.4.3/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/zimbatm/.atom/.apm/.apmrc" "--userconfig" "/home/zimbatm/.atom/.apmrc" "install" "--target=0.34.5" "--arch=x64"
10 error node v0.10.40
11 error npm  v2.13.3
12 error path /home/zimbatm/package.json
13 error code ENOPACKAGEJSON
14 error errno 34
15 error package.json ENOENT, open '/home/zimbatm/package.json'
15 error package.json This is most likely not a problem with npm itself.
15 error package.json npm can't find a package.json file in your current directory.
16 verbose exit [ 34, true ]

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