-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm installation faild on Node.js v0.11.13 #4
Comments
Maybe something of in the v8 API has changed, but I don't feel like finding out what untill, 0.12/1.0 is released. 0.11.X are development releases not stable. |
Just tried to build it under 0.11.14 . The interface for C++ modules is rewritten, so the module needs to be rewritten also. Definitelly postponing this for a stable 0.12/1.0 release. |
👍 0.12 stable is out now. Is there a fix? |
I am working on the port, but it is still unstable.. |
Ok it seem I hit a bug in node itself, I opened and issue nodejs/node-v0.x-archive#9227 , and until it is resolved there is no point releasing version that supports v0.12.x as it will just crash randomly most of the time. |
All the changes are in master, so feel free to test yourself . Once things are stable, I will make a npm release. |
Installation went fine, but calling html_strip() yield the following error:
|
ok, can you provide more detail ? Like, OS , node version( I guess its 0.12.0 ), and a simple test case if On Sun, Feb 22, 2015 at 6:44 AM, Pomin Wu notifications@github.com wrote:
|
node v0.12.0 on OS X 10.9.5 with
Installed with
Then ran "use strict"
var htmlstrip = require('htmlstrip-native');
var html = '<style>b {color: red;}</style>' +
' Yey, <b> No more, tags</b>' +
'<script>document.write("Hello from Javascript")</script>';
console.log(htmlstrip.html_strip(html));
console.log(htmlstrip.html_strip(html, {
include_script: false,
include_style: false,
compact_whitespace: true
})); Only the above error showed up. Tested the same thing with node v0.10.36, the script ran correctly. |
Thanks, that was a good catch :) It seems null function arguments work differently in v0.12 and I didn't that at all. Fixed it in master, reinstall and it should be fine now. |
Just published 0.1.0 which supports both v0.12, v0.10 and iojs. |
woot! thanks :) |
Installation on Node.js v0.10 works fine for us, but failed on v0.11.13. Not sure what went wrong.
The text was updated successfully, but these errors were encountered: