ordinaryparksee / theia-middleware

14 stars 6 forks source link

Release problem #5

Open ordinaryparksee opened 4 years ago

ordinaryparksee commented 4 years ago

Hi @akosyakov Now i'm build up OTP authentication in this extension. The test is okay in my extension package but.. there's two problem

  1. When I publish and rebuild in other packages the expressjs middleware is not working. I mean literally not working, it's not about error. it seems to be ignored app.use(() => {}) statement
  2. When I launch the gitpod raises error Module not found: Error: Can't resolve 'vscode'; I think it's not important but some environment can be same occurse this.

package.json

{
  "private": true,
  "dependencies": {
    "@theia/callhierarchy": "next",
    "@theia/file-search": "next",
    "@theia/git": "next",
    "@theia/markers": "next",
    "@theia/messages": "next",
    "@theia/mini-browser": "next",
    "@theia/navigator": "next",
    "@theia/outline-view": "next",
    "@theia/plugin-ext-vscode": "next",
    "@theia/preferences": "next",
    "@theia/preview": "next",
    "@theia/search-in-workspace": "next",
    "@theia/terminal": "next",
    "theia-middleware": "^0.1.4"
  },
  "devDependencies": {
    "@theia/cli": "next"
  }
}

I think somethings different at the time of first i made of this extension.

xinsheng1964871232 commented 4 years ago

you can try connect, I don't known. or you could try learn plugin-ext module