dylang / node-rss

RSS feed generator for Node.
https://npmjs.org/package/rss
MIT License
999 stars 133 forks source link

Error at install #80

Open pcmaffey opened 6 years ago

pcmaffey commented 6 years ago

When installing, gets error: error: no type named 'GCPrologueCallback' in 'v8::Isolate'

Plus 5 deprecations warnings.

What is libxmljs is no longer compatible with?

dmead commented 6 years ago

same error here. tons of C compiler output

robert-skarzycki commented 6 years ago

I have similar problem - when I'm adding the module via yarn add node-rss, I receive error that Python cannot be found:

error d:\Projekty\test-rss-custom-feed\node_modules\libxmljs: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: d:\<path-to-project>\node_modules\libxmljs
Output:
d:\<path-to-project>\node_modules\libxmljs>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.11.1 | win32 | x64
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Program Files (x86)\Python\Python36-32", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack     at PythonFinder.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack     at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd d:\<path-to-project>\node_modules\libxmljs
gyp ERR! node -v v8.11.1

I've installed Python 3.6.5 and I have node 8.11.1 as you see above.

Do you have any idea about that?

qas612820704 commented 6 years ago

Hi @robert-skarzycki, I got the same error.

Solved it by just

-$ npm install node-rss
+$ npm install rss

https://www.npmjs.com/package/rss