warsclon / acra-node-server Goto Github PK
View Code? Open in Web Editor NEWServer ACRA for Node.js with data base Mongodb
Home Page: http://warsclon.github.com/acra-node-server
Server ACRA for Node.js with data base Mongodb
Home Page: http://warsclon.github.com/acra-node-server
Hi guys. I try to start acra-node-server, but it has a bug.
Look at this.
console.log("port_web:"+portWeb.red);
^
TypeError: Cannot read property 'red' of undefined
at Object. (/home/moltak/acra-node-server/properties.js:31:32)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/moltak/acra-node-server/appAcra.js:3:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
How can I fix it?
ps. I set a properties.js and execute npm install.
Set expess version to
"dependencies": { "express": " 3.1.0",
Or remove app.configure from appAcra.js, because it's remove from 4.x version.
You may experience a problem running node appAcra
My Solution
Try to install specific package version (example: by remove >=
from dependecies version)
"dependencies": {
"express": "3.1.0",
"mongodb":"1.2.14",
"log4js": "0.5.7",
"emailjs" : "0.3.4",
"colors" : "0.6.0-1",
"ejs" : "0.8.3",
"moment" : "2.0.0",
"async" : ">= 0.2.8",
"node-properties-parser" : "0.0.2"
},
Another common problem, mongodb v6 doesn't work since there are major syntax changes, I am using mongodb v4.2 and running well.
It would be nice if we could export logs with a crash date later than a certain timestamp (or than a certain bug report). That way, we can keep our logs, but know until where we looked, which is kinda hard at the moment.
Hi guys. I try to start acra-node-server, but it has a bug.
Look at this.
console.log("port_web:"+portWeb.red);
^
TypeError: Cannot read property 'red' of undefined
at Object. (/home/moltak/acra-node-server/properties.js:31:32)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/moltak/acra-node-server/appAcra.js:3:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
How can I fix it?
ps. I set a properties.js and execute npm install.
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.