Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

Hi everyone, I setup a demo to explore how cljs could require a npm package, I install two npm packages puppeteer and pdfjs via npm install, and require them in ns statement, puppeteer works fine, but pdfs failed, it seems strange to me as those two packages are required in the same way.

Steps to reproduce:
1. clone https://github.com/jiacai2050/cljs-demo.git
2. comment out pdfjs in core.cljs
3. npm install
4. lein dev-build

1 Answer

+1 vote