Giter Site home page Giter Site logo

status-page's Introduction

Hi i am Vüsal!

I am a student who likes to code websites, bots and other things

Technologies I use

CSS3 JavaScript Next.js Express HTML5 CSS3

Stats

Vusal's GitHub stats

Top Langs

visits

Links:

Personal Site

status-page's People

Contributors

vsl-dev avatar

Stargazers

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

Watchers

 avatar

status-page's Issues

I got some issue. Help me to fix!

[System Manager]: System running on port 8080
[System Manager]: https://github.com/vsl-dev
TypeError: /home/runner/status-page/web/views/index.ejs:56
    54| 
    55| <div class="container" style="padding: 0 0 0 20px;">
 >> 56| <% log.fetch(`${x.link_id}`).slice(-46).reverse().forEach((a) => { %>
    57| <% if((a.error == true) == false) { %>
    58| <% if(a.status_code == 200) { %><div style="background-color: green;" class="status tooltip"><span class="tooltiptext">Status: Online!<br><span style="font-size: 0.5em;">Last Control: <%= moment(a.last_req).from() %></span></span></div><% } else { %><div style="background-color: red;" class="status tooltip"><span class="tooltiptext">Status: Offline!<br><span style="font-size: 0.5em;">Last Control: <%= moment(a.last_req).from() %></span></span></div><% }} else { %>
    59| <div style="background-color: orange;" class="status tooltip"><span class="tooltiptext">Status: Degraded!<br><span style="font-size: 0.5em;">Last Control: <%= moment(a.last_req).from() %></span></span></div>

Cannot read properties of null (reading 'slice')
    at eval ("/home/runner/status-page/web/views/index.ejs":49:33)
    at Array.forEach (<anonymous>)
    at eval ("/home/runner/status-page/web/views/index.ejs":12:12)
    at index (/home/runner/status-page/node_modules/ejs/lib/ejs.js:703:17)
    at tryHandleCache (/home/runner/status-page/node_modules/ejs/lib/ejs.js:274:36)
    at View.exports.renderFile [as engine] (/home/runner/status-page/node_modules/ejs/lib/ejs.js:491:10)
    at View.render (/home/runner/status-page/node_modules/express/lib/view.js:135:8)
    at tryRender (/home/runner/status-page/node_modules/express/lib/application.js:657:10)
    at Function.render (/home/runner/status-page/node_modules/express/lib/application.js:609:3)
    at ServerResponse.render (/home/runner/status-page/node_modules/express/lib/response.js:1039:7)
TypeError: /home/runner/status-page/web/views/index.ejs:56
    54| 
    55| <div class="container" style="padding: 0 0 0 20px;">
 >> 56| <% log.fetch(`${x.link_id}`).slice(-46).reverse().forEach((a) => { %>
    57| <% if((a.error == true) == false) { %>
    58| <% if(a.status_code == 200) { %><div style="background-color: green;" class="status tooltip"><span class="tooltiptext">Status: Online!<br><span style="font-size: 0.5em;">Last Control: <%= moment(a.last_req).from() %></span></span></div><% } else { %><div style="background-color: red;" class="status tooltip"><span class="tooltiptext">Status: Offline!<br><span style="font-size: 0.5em;">Last Control: <%= moment(a.last_req).from() %></span></span></div><% }} else { %>
    59| <div style="background-color: orange;" class="status tooltip"><span class="tooltiptext">Status: Degraded!<br><span style="font-size: 0.5em;">Last Control: <%= moment(a.last_req).from() %></span></span></div>

Cannot read properties of null (reading 'slice')
    at eval ("/home/runner/status-page/web/views/index.ejs":49:33)
    at Array.forEach (<anonymous>)
    at eval ("/home/runner/status-page/web/views/index.ejs":12:12)
    at index (/home/runner/status-page/node_modules/ejs/lib/ejs.js:703:17)
    at tryHandleCache (/home/runner/status-page/node_modules/ejs/lib/ejs.js:274:36)
    at View.exports.renderFile [as engine] (/home/runner/status-page/node_modules/ejs/lib/ejs.js:491:10)
    at View.render (/home/runner/status-page/node_modules/express/lib/view.js:135:8)
    at tryRender (/home/runner/status-page/node_modules/express/lib/application.js:657:10)
    at Function.render (/home/runner/status-page/node_modules/express/lib/application.js:609:3)
    at ServerResponse.render (/home/runner/status-page/node_modules/express/lib/response.js:1039:7)

This is the error

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.