At Cannot find module 'zotero-bibtex-parse'
Error: Cannot find module 'zotero-bibtex-parse'
at Module._resolveFilename (module.js:455:15)
at Module._resolveFilename (/opt/atom/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.get_Module._resolveFilename (/opt/atom/resources/app/src/module-cache.js:354:58)
at Module.require (opt/atom/resources/app/static/index.js:40:43)
at require (/opt/atom/resources/app/src/native-compile-cache.js:66:33)
at /packages/autocomplete-bibtex/lib/provider.coffee:2:15)
at /packages/autocomplete-bibtex/lib/provider.coffee:1:1)
at Module.get_Module._compile (/opt/atom/resources/app/src/native-compile-cache.js:106:36)
at Object.value [as .coffee] (/opt/atom/resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (opt/atom/resources/app/static/index.js:47:45)
at require (/opt/atom/resources/app/src/native-compile-cache.js:66:33)
at /packages/autocomplete-bibtex/lib/main.coffee:4:21)
at /packages/autocomplete-bibtex/lib/main.coffee:1:1)
at Module.get_Module._compile (/opt/atom/resources/app/src/native-compile-cache.js:106:36)
at Object.value [as .coffee] (/opt/atom/resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (opt/atom/resources/app/static/index.js:47:45)
at require (internal/module.js:20:19)
at customRequire (/opt/atom/resources/app/static/<embedded>:96:26)
at Package.module.exports.Package.requireMainModule (/opt/atom/resources/app/src/package.js:887:35)
at /opt/atom/resources/app/src/package.js:158:34
at Package.module.exports.Package.measure (/opt/atom/resources/app/src/package.js:99:21)
at Package.module.exports.Package.load (/opt/atom/resources/app/src/package.js:144:18)
at PackageManager.module.exports.PackageManager.loadAvailablePackage (/opt/atom/resources/app/src/package-manager.js:565:22)
at /opt/atom/resources/app/src/package-manager.js:479:25
I followed the following steps to get it working for me.
clone autocomplete-bibtex
cd autocomplete-bibtex
npm install zotero-bibtex-parse
From inside autocomplete-bibtex, edit package.json and
change to zotero-bibtex-parse": "0.0.13",
I know 0.0.13 is an old version but unfortunately it's the only one I managed to install via npm.
[Enter steps to reproduce:]
Atom: 1.18.0 x64 Electron: 1.3.15 OS: Ubuntu 16.04.2 Thrown From: autocomplete-bibtex package 0.7.0
Stack Trace
Failed to load the autocomplete-bibtex package
Commands
Non-Core Packages