sublime-text-markmon
sublime-text-markmon copied to clipboard
markmon installation fails partly, optional dep [email protected] EOL / not compatible with current node.js versions
Hi,
was trying
npm install -g markmon
on
node v0.12.7
npm 2.14.4
Darwin 14.5.0
resulting in
> [email protected] install /usr/local/lib/node_modules/markmon/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild
CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:339:13: error: no member named 'New' in 'v8::String'
return _NAN_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:343:5: error: no member named 'ThrowException' in namespace 'v8'
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
~~~~^
../node_modules/nan/nan.h:343:5: error: no member named 'New' in 'v8::String'
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:348:9: error: no type named 'ThrowException' in namespace 'v8'
v8::ThrowException(error);
~~~~^
../node_modules/nan/nan.h:355:65: error: no member named 'New' in 'v8::String'
v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));
~~~~~~~~~~~~^
../node_modules/nan/nan.h:356:50: error: expected '(' for function-style cast or type construction
v8::Local<v8::Object> obj = err.As<v8::Object>();
~~~~~~~~~~^
../node_modules/nan/nan.h:356:52: error: expected expression
v8::Local<v8::Object> obj = err.As<v8::Object>();
^
../node_modules/nan/nan.h:357:65: error: too few arguments to function call, expected 2, have 1
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
~~~~~~~~~~~~~~ ^
/Users/syz/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:3: note: 'New' declared here
static Local<Integer> New(Isolate* isolate, int32_t value);
^
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:357:26: error: no member named 'New' in 'v8::String'
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
~~~~~~~~~~~~^
../node_modules/nan/nan.h:369:12: error: no member named 'New' in 'v8::String'
return _NAN_ERROR(v8::Exception::TypeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:373:5: error: no member named 'ThrowException' in namespace 'v8'
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
~~~~^
../node_modules/nan/nan.h:373:5: error: no member named 'New' in 'v8::String'
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^~~~~~~~~~~~~~~~~~~~~~~
macro '_NAN_ERROR'n/nan.h:319:50: note: expanded from /
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:377:12: error: no member named 'New' in 'v8::String'
return _NAN_ERROR(v8::Exception::RangeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:381:5: error: no member named 'ThrowException' in namespace 'v8'
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
~~~~^
g'/node_modules/nan/nan.h:381:5: error: no member named 'New' in 'v8::Strin\
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
~~~~~~~~~~~~^
../node_modules/nan/nan.h:727:49: error: too few arguments to function call, single argument 'isolate' was not specified
v8::Local<v8::Object> obj = v8::Object::New();
~~~~~~~~~~~~~~~ ^
/Users/syz/.node-gyp/0.12.7/deps/v8/include/v8.h:2388:3: note: 'New' declared here
static Local<Object> New(Isolate* isolate);
^
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:733:49: error: too few arguments to function call, single argument 'isolate' was not specified
v8::Local<v8::Object> obj = v8::Object::New();
~~~~~~~~~~~~~~~ ^
/Users/syz/.node-gyp/0.12.7/deps/v8/include/v8.h:2388:3: note: 'New' declared here
static Local<Object> New(Isolate* isolate);
^
In file included from ../fsevents.cc:6:
0mno member named 'Dispose' in 'v8::Persistent<v8::Object,
v8::NonCopyablePersistentTraits<v8::Object> >'
handle.Dispose();
~~~~~~ ^
../node_modules/nan/nan.h:741:12: error: no member named 'Clear' in 'v8::Persistent<v8::Object,
v8::NonCopyablePersistentTraits<v8::Object> >'
handle.Clear();
~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/markmon/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
> [email protected] install /usr/local/lib/node_modules/markmon/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
npm WARN optional dep failed, continuing [email protected]
/usr/local/bin/markmon -> /usr/local/lib/node_modules/markmon/bin/markmon
[email protected] /usr/local/lib/node_modules/markmon
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
I tried to start Sublime Text 3 - Markmon with a markdown file and correct syntax, but i cannot see any preview.
Sublime text console shows:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 533, in run_
return self.run(**args)
File "commands in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 21, in run
File "markmon in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 56, in set_running
File "markmon in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 43, in display
File "markmon in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 108, in view_updated
File "markmon in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 102, in view_updated
File "./http/client.py", line 1147, in getresponse
File "./http/client.py", line 358, in begin
File "./http/client.py", line 328, in _read_status
http.client.BadStatusLine: ''
Traceback (most recent call last):
File "markmon in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 101, in view_updated
File "./http/client.py", line 1065, in request
File "./http/client.py", line 1103, in _send_request
File "./http/client.py", line 1061, in endheaders
File "./http/client.py", line 906, in _send_output
File "./http/client.py", line 844, in send
File "./http/client.py", line 822, in connect
File "./socket.py", line 435, in create_connection
File "./socket.py", line 426, in create_connection
ConnectionRefusedError: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 312, in on_activated_async
callback.on_activated_async(v)
File "MarkmonListener in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 42, in on_activated_async
File "markmon in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 108, in view_updated
File "markmon in /Users/syz/Library/Application Support/Sublime Text 3/Installed Packages/Markmon real-time markdown preview.sublime-package", line 102, in view_updated
File "./http/client.py", line 1147, in getresponse
File "./http/client.py", line 358, in begin
File "./http/client.py", line 328, in _read_status
http.client.BadStatusLine: ''
So sad =(
I have the same issue with the installation. Any updates for this? 😟
same issue.
Same issue :(
same here 😢
Same
Ancient fsevents fails to compile on OS X. Works anyway. Would be nice to have updated dependencies.