deidentify icon indicating copy to clipboard operation
deidentify copied to clipboard

problem downloading NER

Open SimonSuster opened this issue 7 years ago • 0 comments

When executing npm run init I get the following error:

> [email protected] init /home/suster/Apps/deidentify
> git submodule update --init --recursive && node ./script/download_ner.js
/home/suster/Apps/deidentify/script/download_ner.js:12
new Download( { extract: 'true' } )
^
TypeError: Download is not a constructor
    at Object.<anonymous> (/home/suster/Apps/deidentify/script/download_ner.js:12:1)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3
npm ERR! Linux 4.4.0-51-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "init"
npm ERR! node v6.9.2
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] init: `git submodule update --init --recursive && node ./script/download_ner.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] init script 'git submodule update --init --recursive && node ./script/download_ner.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the deidentify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     git submodule update --init --recursive && node ./script/download_ner.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs deidentify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls deidentify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/suster/Apps/deidentify/npm-debug.log

SimonSuster avatar Dec 08 '16 15:12 SimonSuster