Comments (2)
Oh thanks Jos for pointing that out. That version is a bit out of date. Try running make test
instead.
Sent from my iPhone
On Jan 24, 2012, at 7:32 AM, Jos [email protected] wrote:
Seems like a little typo - the test suite points to
tests
instead oftest
JosProDesk:cheerio jos$ npm install JosProDesk:cheerio jos$ npm test > [email protected] test /Users/jos/Sites/cheerio > coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Cannot find module '/Users/jos/Sites/cheerio/tests/test.cheerio' at Function._resolveFilename (module.js:334:11) at Function._load (module.js:279:25) at Module.require (module.js:357:17) at require (module.js:368:17) at /usr/local/lib/node_modules/vows/bin/vows:496:19 at Array.reduce (native) at importSuites (/usr/local/lib/node_modules/vows/bin/vows:491:18) at Object.<anonymous> (/usr/local/lib/node_modules/vows/bin/vows:247:15) at Module._compile (module.js:432:26) at Object..js (module.js:450:10) npm ERR! [email protected] test: `coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec` npm ERR! `sh "-c" "coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec"` failed with 1 npm ERR! npm ERR! Failed at the [email protected] test script. npm ERR! This is most likely a problem with the cheerio package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec npm ERR! You can get their info via: npm ERR! npm owner ls cheerio npm ERR! There is likely additional logging output above. npm ERR! npm ERR! System Darwin 10.8.0 npm ERR! command "node" "/usr/local/bin/npm" "test" npm ERR! cwd /Users/jos/Sites/cheerio npm ERR! node -v v0.6.7 npm ERR! npm -v 1.1.0-beta-10 npm ERR! code ELIFECYCLE npm ERR! message [email protected] test: `coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec` npm ERR! message `sh "-c" "coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec"` failed with 1 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/jos/Sites/cheerio/npm-debug.log npm not ok
Reply to this email directly or view it on GitHub:
#30
from cheerio.
Fixed docs and removed npm test from package.json
from cheerio.
Related Issues (20)
- Incorrect code example in intro documation
- Multiple html tags are deleted HOT 2
- TypeError: cheerio.fromURL is not a function HOT 6
- How to "replaceWith" on plain text, which is not a DOM Elements? HOT 5
- Unsafe legacy renegotiation disabled
- text() method merges text parts HOT 3
- Bug: Crawler reached the maxRequestsPerCrawl limit of 1 requests and will shut down soon HOT 1
- Bug: XML tags with mixed case, when using lowerCaseTags: true, selectors will be lowercased before comparing with the xml tag name
- exporting function from battiers
- Error with nextjs 14 HOT 1
- Cherrio is unable to retrieve content with property of og in the meta tag HOT 3
- If the page is SPA (such as Vue), can't I use Cheerio to retrieve the content of the website that has been fully loaded HOT 1
- whitespace normalization removes NBSP chars in xmlMode HOT 1
- Can´t select elements based on their position in the document HOT 2
- Live Editor Result Panel Blank
- how to add defer to script tag HOT 1
- Weird behaviour with HTML entities within XML content
- Behaving exceptionally in template syntax containing curly braces
- error TS2724: '"/app/node_modules/cheerio/lib/esm/index"' has no exported member named 'Text'
- Using XML format for obfuscation
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 cheerio.