moduscreateorg / touchdj Goto Github PK
View Code? Open in Web Editor NEWExample repository for a technical talk given at SenchaCon 2013
Home Page: https://moduscreate.com/
License: Other
Example repository for a technical talk given at SenchaCon 2013
Home Page: https://moduscreate.com/
License: Other
ake: Entering directory '/home/odix/public_html/modus/TouchDJ/server/node_modules/midi/build'
CXX(target) Release/obj.target/midi/src/node-midi.o
../src/node-midi.cpp:51:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value New(const v8::Arguments& args)
starts there...
then...too much to post but here is tail end of it
pm ERR! Linux 4.4.0-53-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the midi package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs midi
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls midi
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/odix/public_html/modus/TouchDJ/server/npm-debug.log
odix@odix ~/public_html/modus/TouchDJ/server $ sudo npm install
[email protected] install /home/odix/public_html/modus/TouchDJ/server/node_modules/midi
node-gyp rebuild
make: Entering directory '/home/odix/public_html/modus/TouchDJ/server/node_modules/midi/build'
CXX(target) Release/obj.target/midi/src/node-midi.o
../src/node-midi.cpp:51:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value New(const v8::Arguments& args)
^
../src/node-midi.cpp:59:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value GetPortCount(const v8::Arguments& args)
^
../src/node-midi.cpp:67:56: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value GetPortName(const v8::Arguments& args)
^
../src/node-midi.cpp:80:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value OpenPort(const v8::Arguments& args)
^
../src/node-midi.cpp:97:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value OpenVirtualPort(const v8::Arguments& args)
^
../src/node-midi.cpp:110:54: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value ClosePort(const v8::Arguments& args)
^
../src/node-midi.cpp:118:56: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value SendMessage(const v8::Arguments& args)
^
In file included from ../src/node-midi.cpp:1:0:
/home/odix/.node-gyp/6.9.5/include/node/v8.h: In static member function ‘static void NodeMidiOutput::Init(v8::Handlev8::Object)’:
/home/odix/.node-gyp/6.9.5/include/node/v8.h:915:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/node-midi.cpp:20:25: error: within this context
v8::HandleScope scope;
^
../src/node-midi.cpp:22:74: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
v8::Localv8::FunctionTemplate t = v8::FunctionTemplate::New(New);
^
In file included from ../src/node-midi.cpp:1:0:
/home/odix/.node-gyp/6.9.5/include/node/v8.h:4483:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/odix/.node-gyp/6.9.5/include/node/v8.h:4483:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate*’
/home/odix/.node-gyp/6.9.5/include/node/v8.h:4487:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/home/odix/.node-gyp/6.9.5/include/node/v8.h:4487:34: note: candidate expects 6 arguments, 1 provided
../src/node-midi.cpp:24:59: error: no matching function for call to ‘v8::Persistentv8::FunctionTemplate::New(v8::Localv8::FunctionTemplate&)’
s_ct = v8::Persistentv8::FunctionTemplate::New(t);
^
In file included from ../src/node-midi.cpp:1:0:
/home/odix/.node-gyp/6.9.5/include/node/v8.h:7554:4: note: candidate: static T* v8::PersistentBase::New(v8::Isolate*, T*) [with T = v8::FunctionTemplate]
T* PersistentBase::New(Isolate* isolate, T* that) {
^
/home/odix/.node-gyp/6.9.5/include/node/v8.h:7554:4: note: candidate expects 2 arguments, 1 provided
../src/node-midi.cpp:25:13: error: base operand of ‘->’ has non-pointer type ‘v8::Persistentv8::FunctionTemplate’
s_ct->InstanceTemplate()->SetInternalFieldCount(1);
^
../src/node-midi.cpp:26:13: error: base operand of ‘->’ has non-pointer type ‘v8::Persistentv8::FunctionTemplate’
s_ct->SetClassName(v8::String::NewSymbol("NodeMidiOutput"));
^
../src/node-midi.cpp:26:28: error: ‘NewSymbol’ is not a member of ‘v8::String’
s_ct->SetClassName(v8::String::NewSymbol("NodeMidiOutput"));
^
../src/node-midi.cpp:28:69: error: could not convert ‘NodeMidiOutput::s_ct’ from ‘v8::Persistentv8::FunctionTemplate’ to ‘v8::Localv8::FunctionTemplate’
NODE_SET_PROTOTYPE_METHOD(s_ct, "getPortCount", GetPortCount);
^
../src/node-midi.cpp:29:67: error: could not convert ‘NodeMidiOutput::s_ct’ from ‘v8::Persistentv8::FunctionTemplate’ to ‘v8::Localv8::FunctionTemplate’
NODE_SET_PROTOTYPE_METHOD(s_ct, "getPortName", GetPortName);
^
../src/node-midi.cpp:31:61: error: could not convert ‘NodeMidiOutput::s_ct’ from ‘v8::Persistentv8::FunctionTemplate’ to ‘v8::Localv8::FunctionTemplate’
NODE_SET_PROTOTYPE_METHOD(s_ct, "openPort", OpenPort);
^
../src/node-midi.cpp:32:75: error: could not convert ‘NodeMidiOutput::s_ct’
I'm starting it on mac os x:
./sencha fs web -p 8080 start -m /Users/umberto/Projects/TouchDJ
Sencha Cmd v5.0.1.231
[INF] Mapping http://localhost:8080/ to /Users/umberto/Projects/TouchDJ...
[INF] ------------------------------------------------------------------
[INF] Starting web server at : http://localhost:8080
[INF] ------------------------------------------------------------------
And I started node js server:
node app.js
info - socket.io started
But I can't see the tracks in tracks menu ,I put them in the tracks folder and they are all mp3
TKS !
I have node 6.9.5 and i can' run npm install command because file package.json doesn't exist in the project
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.