Comments (8)
Ah I see. But I'm really only interested in citationjs and bbt. I commented out the rest and it worked fine.
from bibtex-parser-experiments.
That is a bit annoying, I think fsevents is a Mac-only dependency. Could you try
- Removing
package-lock.json
and runningnpm install
to see if it generates a better package lock? - Running
npm install --no-optional
as it should skip fsevents altogether?
fsevents/fsevents#321 might have more info.
from bibtex-parser-experiments.
option 1 gets met past the problem.
from bibtex-parser-experiments.
Could you share that package lock with me so I can diff it?
from bibtex-parser-experiments.
https://gist.github.com/bc41ab7cabc4af96a5915308ea6e0fd3
from bibtex-parser-experiments.
npm test
stops at
> node ./test/
| | Init | Time (single entry) | Time (3345 entries) |
|--------------|-----------------:|--------------------:|--------------------:|
| citationjs-old | 0.940ms ± 2.1% | 0.775ms ± 1.0% | 1.74e+3ms ± 2.9% |
| citationjs | 5.39ms ± 0.8% | 0.435ms ± 0.7% | 980ms ± 3.9% |
| astrocite |internal/modules/cjs/loader.js:1033
throw err;
^
Error: Cannot find module './grammar'
Require stack:
- /Users/emile/github/bibtex-parser-experiments/lib/astrocite/index.js
- /Users/emile/github/bibtex-parser-experiments/test/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1030:15)
at Function.Module._load (internal/modules/cjs/loader.js:899:27)
at Module.require (internal/modules/cjs/loader.js:1090:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object.<anonymous> (/Users/emile/github/bibtex-parser-experiments/lib/astrocite/index.js:9:38)
at Module._compile (internal/modules/cjs/loader.js:1201:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
at Module.load (internal/modules/cjs/loader.js:1050:32)
at Function.Module._load (internal/modules/cjs/loader.js:938:14)
at Module.require (internal/modules/cjs/loader.js:1090:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/emile/github/bibtex-parser-experiments/lib/astrocite/index.js',
'/Users/emile/github/bibtex-parser-experiments/test/index.js'
]
}
from bibtex-parser-experiments.
Damn. On my system, citationjs takes 908ms for long.bib
, where the lexer I was building takes ~5s.
from bibtex-parser-experiments.
Regarding the error, you want to run at least the astrocite
and zotero
script first:
bibtex-parser-experiments/package.json
Lines 9 to 12 in c02f9dd
from bibtex-parser-experiments.
Related Issues (13)
- Sharing Bib(La)TeX test cases? HOT 6
- idea-reworked: diacritics misplaced HOT 16
- @comment behavior in BibTeX vs BibLaTeX HOT 1
- Zotero parser comparison HOT 1
- Update result for Zotero HOT 1
- Argument commands HOT 5
- BBT test suite HOT 20
- Add pandoc to the test suite
- Progress on the active parser ("citationjs") HOT 13
- BBT parser HOT 58
- What should I run so I can run the tests? HOT 4
- closedown biblatex-cslc-onverter HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bibtex-parser-experiments.