Code Monkey home page Code Monkey logo

egg-oidc-demo's Introduction

hackernews-async-ts

Hacker News showcase using typescript && egg

QuickStart

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Don't tsc compile at development mode, if you had run tsc then you need to npm run clean before npm run dev.

Deploy

$ npm run tsc
$ npm start

Npm Scripts

  • Use npm run lint to check code style
  • Use npm test to run unit test
  • se npm run clean to clean compiled js at development mode once

Requirement

  • Node.js 8.x
  • Typescript 2.8+

egg-oidc-demo's People

Contributors

hzeyuan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

wittech

egg-oidc-demo's Issues

Cannot find module './adapters/sequelize'

我运用您的Demo,遇见了这个问题。

2021-09-24 16:01:00,548 ERROR 28718 database connect error ==> Error: Cannot find module './adapters/sequelize'
Require stack:
- /Users/qins/Documents/projects/hy/egg-oidc-demo/app.ts
- /Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg-core/lib/utils/index.js
- /Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg-core/lib/egg.js
- /Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg-core/index.js
- /Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg/lib/application.js
- /Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg/index.js
- /Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg-cluster/lib/app_worker.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
    at Function.Module._load (internal/modules/cjs/loader.js:745:27)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at AppBootHook.<anonymous> (/Users/qins/Documents/projects/hy/egg-oidc-demo/app.ts:45:17)
    at Generator.next (<anonymous>)
    at /Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/tslib/tslib.js:115:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/tslib/tslib.js:111:16)
    at AppBootHook.willReady (/Users/qins/Documents/projects/hy/egg-oidc-demo/app.ts:24:24) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/qins/Documents/projects/hy/egg-oidc-demo/app.ts',
    '/Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg-core/lib/utils/index.js',
    '/Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg-core/lib/egg.js',
    '/Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg-core/index.js',
    '/Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg/lib/application.js',
    '/Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg/index.js',
    '/Users/qins/Documents/projects/hy/egg-oidc-demo/node_modules/egg-cluster/lib/app_worker.js'
  ]
}

我想请教一下,./adapters/sequelize 是需要自己编写吗?

能不能指点指点

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.