Giter Club home page Giter Club logo

nodefony's People

Contributors

ccamensuli avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

sensouamine o0n

nodefony's Issues

bug terminate codespace

Thu Dec 29 2022 11:19:07 PM ERROR KERNEL :  TypeError: this.server.closeAllConnections is not a function
    at /workspaces/nodefony-starter/node_modules/.pnpm/@[email protected]/node_modules/@nodefony/http-bundle/services/servers/httpService.js:92:23
    at tryCallTwo (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/promise/lib/core.js:45:5)
    at doResolve (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/promise/lib/core.js:200:13)
    at new Promise (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/promise/lib/core.js:66:3)
    at Events.<anonymous> (/workspaces/nodefony-starter/node_modules/.pnpm/@[email protected]/node_modules/@nodefony/http-bundle/services/servers/httpService.js:90:14)
    at Object.onceWrapper (node:events:628:26)
    at Events.emitAsync (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/nodefony/notificationsCenter.es6:58:32)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async appKernel.terminate (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/nodefony/kernel/kernel.es6:1760:7) {
  name: 'nodefonyError',
  code: null,

Add pm2 logrotate in cli

Do you want to request a feature or report a bug?

What is the expected behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Which versions of NODEFONY are affected by this issue?

Mode production launch with --daemon-off for docker entrypoint

Do you want to request a feature or report a bug?

What is the expected behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Which versions of NODEFONY are affected by this issue?

add cookies websocket on connect

WebSocket-Node : accept method

https://github.com/theturtle32/WebSocket-Node

WebSocketRequest.prototype.accept = function(acceptedProtocol, allowedOrigin, cookies)

cuurent state : context websocket

this.connection = this.request.accept(acceptedProtocol, this.origin);

What is the expected behavior?

example cookies :

var cookies = [
    {
        name: 'TestCookie',
        value: 'CookieValue' + Math.floor(Math.random()*1000),
        path: '/',
        secure: false,
        maxage: 5000,
        httponly: true
    }
];
 this.connection = this.request.accept(acceptedProtocol, this.origin, cookies);

https://github.com/theturtle32/WebSocket-Node/blob/c91a6cb8f0cf896edf0d2d49faa0c9e0a9985172/test/scripts/libwebsockets-test-server.js

Add a visible text on nodefony repo to this repo

Hello,

I think it would be a good idea to add a clearly visible link to this repository on the nodefony/nodefony repository explaining this is v5 and v6 is available here.

It's not really clear for a new user like me what's going on between both repository.

build cli project with bundle user disabled

Wed Oct 14 2020 17:20:17 INFO COMMAND nodefony : Generate Sequelize Fixtures
Wed Oct 14 2020 17:20:17 ERROR SERVICE nodefony : getCommand command : users Bundle : users don't exist
Wed Oct 14 2020 17:20:17 ERROR KERNEL CONSOLE : getCommand command : users Bundle : users don't exist
Wed Oct 14 2020 17:20:17 ERROR nodefony : getCommand command : users Bundle : users don't exist
Wed Oct 14 2020 17:20:17 ERROR nodefony : getCommand command : users Bundle : users don't exist
Wed Oct 14 2020 17:20:17 ERROR nodefony : getCommand command : users Bundle : users don't exist

bug monitoring bundle

4|nodefony-starter  |  Thu Dec 29 2022 11:10:43 PM ERROR KERNEL :  Error: ENOENT: no such file or directory, lstat '/workspaces/nodefony-starter/node_modules/@nodefony'
4|nodefony-starter  |     at Object.lstatSync (node:fs:1561:3)
4|nodefony-starter  |     at new File (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/nodefony/fileClass.es6:31:23)
4|nodefony-starter  |     at new File (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/nodefony/finder/file.es6:3:5)
4|nodefony-starter  |     at Finder.ckeckPath (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/nodefony/finder/finder2.es6:236:21)
4|nodefony-starter  |     at Finder.in (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/nodefony/finder/finder2.es6:267:21)
4|nodefony-starter  |     at appKernel.getUnregistredBundles (/workspaces/nodefony-starter/node_modules/.pnpm/[email protected]/node_modules/nodefony/kernel/kernel.es6:493:10)
4|nodefony-starter  |     at processTicksAndRejections (node:internal/process/task_queues:96:5)
4|nodefony-starter  |     at async Object.getBundles (/workspaces/nodefony-starter/node_modules/.pnpm/@[email protected]/node_modules/@nodefony/monitoring-bundle/controller/api/graphgl/resolvers/bundle.js:52:16) {
4|nodefony-starter  |   name: 'nodefonyError',
4|nodefony-starter  |   code: 'ENOENT',
4|nodefony-starter  |   errorType: 'SystemError',
4|nodefony-starter  |   errno: -2,
4|nodefony-starter  |   syscall: 'lstat',
4|nodefony-starter  |   address: undefined,
4|nodefony-starter  |   port: undefined
4|nodefony-starter  | }

Sessions Cannot read properties of undefined (reading 'addCookie')

Tue Jan 03 2023 16:53:48 WARNING SESSIONS :  TypeError: Cannot read properties of undefined (reading 'addCookie')
    at Session.setCookieSession (/Users/cci/repository/dlake/portal/d-lake-si/node_modules/@nodefony/http-bundle/src/session/session.js:409:29)
    at Session.create (/Users/cci/repository/dlake/portal/d-lake-si/node_modules/@nodefony/http-bundle/src/session/session.js:121:35)
    at /Users/cci/repository/dlake/portal/d-lake-si/node_modules/@nodefony/http-bundle/src/session/session.js:483:23
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Session.invalidate (/Users/cci/repository/dlake/portal/d-lake-si/node_modules/@nodefony/http-bundle/src/session/session.js:481:14)
    at async /Users/cci/repository/dlake/portal/d-lake-si/node_modules/@nodefony/http-bundle/src/session/session.js:288:17 {
  name: 'nodefonyError',
  code: null,
  errorType: 'TypeError'

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.