Skip to content

Can't run on ZSH #3

@olgabot

Description

@olgabot

I'm able to npm install this module, and I recently switched to oh-my-zsh as my shell instead of bash, and I can't seem to use it, despite putting the $HOME/node_modules into my path. The full log is below.

➜  projects  npm install bionode-sra
-
> [email protected] preinstall /Users/olga/node_modules/bionode-sra
> cd sra; make

mkdir -p build
curl http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.3.5-2/sratoolkit.2.3.5-2-mac64.tar.gz -o build/sratoolkit.2.3.5-2-mac64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 26.1M  100 26.1M    0     0   977k      0  0:00:27  0:00:27 --:--:--  769k
cd build; tar xzvf sratoolkit.2.3.5-2-mac64.tar.gz
...
x sratoolkit.2.3.5-2-mac64/schema/vdb/vdb.vschema
mv build/sratoolkit.2.3.5-2-mac64/bin bin
[email protected] ../node_modules/bionode-sra
├── [email protected]
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])
➜  projects  export PATH=$PATH:$HOME/node_modules        
➜  projects  bionode-sra fastq-dump SRP041736                
zsh: permission denied: bionode-sra
➜  projects  chmod ugo+x ~/node_modules/*
➜  projects  bionode-sra fastq-dump SRP041736
zsh: permission denied: bionode-sra
➜  projects  ll ~/node_modules 
total 0
drwxr-xr-x  14 olga  staff   476B Nov 27 12:16 bionode
drwxr-xr-x  14 olga  staff   476B Nov 27 12:27 bionode-sra

Full log

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions