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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -