Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem downloading NER #1

Open
SimonSuster opened this issue Dec 8, 2016 · 0 comments
Open

problem downloading NER #1

SimonSuster opened this issue Dec 8, 2016 · 0 comments

Comments

@SimonSuster
Copy link

When executing npm run init I get the following error:

> deidentify@0.2.0 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! deidentify@0.2.0 init: `git submodule update --init --recursive && node ./script/download_ner.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the deidentify@0.2.0 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant