dylang / dylang/node-rss

Error: ENOENT: no such file or directory, stat 'path-to-file'

Open
#77 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am getting this error, running the sample from the readme:

fs.js:940
binding.stat(pathModule._makeLong(path));
^

Error: ENOENT: no such file or directory, stat 'path-to-file'
at Object.fs.statSync (fs.js:940:11)
at getSize (/Users/esteban/Desktop/feed/node_modules/rss/lib/index.js:28:15)
at /Users/esteban/Desktop/feed/node_modules/rss/lib/index.js:89:61
at Array.forEach (native)
at generateXML (/Users/esteban/Desktop/feed/node_modules/rss/lib/index.js:63:16)
at RSS.xml (/Users/esteban/Desktop/feed/node_modules/rss/lib/index.js:185:17)
at Object. (/Users/esteban/Desktop/feed/rss.js:72:16)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)

**Node Version 8.0.0, "rss": "^1.2.2", OpSystem: Sierra OS.**

Error line: var xml = feed.xml();

Any ideas?

Thanks,

Esteban

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.