javascript - AppJS --harmony issue? -


i'm using msvc , have nodejs tools setup in it. new node.js other npm packages i've installed via command line or through nodejs tools , have worked. appjs gives me error when call require('appjs').

throw new error('appjs requires node run --harmony command line)

anyone know how fix this? error when calling script command line doing

node --harmony app.js 

actual code

var serialportlib = require("serialport"); var appjs = require('appjs');  var serialport = new serialportlib.serialport("com13",{     baudrate : 250000,     parser : serialportlib.parsers.readline('\n') });  serialport.on('open', function () { console.log('open'); serialport.write("sup!\n");}); serialport.on('data',function(data){ console.log(data);}) 


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -