Comments (5)
Hi!
Indeed, the testing instructions are incorrect. ava
is a development dependency of pdfreader
, so it's not installed when you add pdfreader
as a dependency of your own project.
Can you try running them with the command npx ava
(instead of just ava
) and tell me if it works, please?
Adrien
from npm-pdfreader.
Hello.
I tested with npx ava
but only got × Couldn’t find any files to test
.
Same result when I do npm install
inside the "node_modules/pdfreader" folder.
- Windows 10
- Node 16.10.0
- npm 7.24.0
from npm-pdfreader.
Even if you run npx ava
from the pdfreader
directory?
from npm-pdfreader.
Even if you run npx ava from the pdfreader directory?
Yes. Tried npx ava
insdie "node_modules/pdfreader". Same result.
Just realised there is no "test" folder inside "node_modules/pdfreader", because its listed in ".npmignore" to reduce package size.
from npm-pdfreader.
Just realised there is no "test" folder inside "node_modules/pdfreader", because its listed in ".npmignore" to reduce package size.
Good catch! That makes sense, as test files are not needed by projects that rely on pdfreader as a dependency.
If you need to run pdfreader's tests, you need to git clone https://github.com/adrienjoly/npm-pdfreader.git
.
from npm-pdfreader.
Related Issues (20)
- ReferenceError: MozBlobBuilder is not defined HOT 1
- example not working as shown in the document HOT 4
- PDF parse failed HOT 11
- Question: Missing spaces in text output HOT 1
- Can't import library: Unexpected token '(' HOT 7
- Clarification on latest release of pdfreader HOT 2
- Gettin items as promise HOT 1
- Make it async // return item as promise HOT 3
- Importing module failed HOT 4
- [ERR_REQUIRE_ESM] require() of ES Module is not supported HOT 11
- It is not supporting the TS type declaration. HOT 24
- aws lambda, sst. Error: Identifier '__dirname' has already been declared HOT 2
- Rules not working
- Import when using the library in Cypress HOT 1
- Can I get the coordinates of the given text from all pages of the PDF?
- Setting up fake worker.
- Cannot read text based PDF file content HOT 4
- Where is `displayValue` declared? HOT 1
- isDebugMode - No such file or directory "test\data\05-versions-space.pdf" HOT 2
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 npm-pdfreader.