Giter Club home page Giter Club logo

acra-node-server's People

Contributors

warsclon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acra-node-server's Issues

Cannot read property 'red' of undefined

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.

new express version related issue

Set expess version to

"dependencies": { "express": " 3.1.0",

Or remove app.configure from appAcra.js, because it's remove from 4.x version.

Important notes while installation using Node 14 and MongoDB 6

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.

export logs since a certain date?

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.

Cannot read property 'red' of undefined

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.