Giter VIP home page Giter VIP logo

Comments (5)

popomore avatar popomore commented on March 29, 2024

I have disabled csrf in #44

You can try it again.

from egg.

mattma avatar mattma commented on March 29, 2024

Running in the branch of egg-core.

here is the error message:

assert.js:90
  throw new assert.AssertionError({
  ^
AssertionError: options.customEgg is required
    at module.exports (/Users/mattma/Desktop/egg/egg/node_modules/egg-cluster/lib/utils/options.js:23:3)
    at Master (/Users/mattma/Desktop/egg/egg/node_modules/egg-cluster/lib/master.js:35:20)
    at Object.exports.startCluster (/Users/mattma/Desktop/egg/egg/node_modules/egg-cluster/index.js:20:3)
    at Object.<anonymous> (/Users/mattma/Desktop/egg/egg/examples/cookie/dispatch.js:5:5)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.runMain (module.js:575:10)

It looks like every example project, even helloworld, failed on this error which came from egg-cluster.

BTW, I saw in the beta version of [email protected]. Is it the latest? Do you have an issue to track what is the latest? Hope @popomore #44 can be merged into the master soon so that we could have the latest greatest egg-core.

from egg.

popomore avatar popomore commented on March 29, 2024

Maybe it's a bug for the examples.

#44 is developing, and plugins need the new API to test, so I release beta version for it.

from egg.

popomore avatar popomore commented on March 29, 2024

I have fixed on a20b202a408c357537f286790ab9f9134baef741, you can use this branch to test again.

from egg.

mattma avatar mattma commented on March 29, 2024

Your latest release 1.0 has fixed the issue permanently. All examples are working as expected.

from egg.

Related Issues (20)

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.