Code Monkey home page Code Monkey logo

Comments (3)

affine-issue-bot avatar affine-issue-bot commented on July 2, 2024

Issue Status: 🔍 Under Investigation

🔍 Under Investigation

We’ve triaged the issue, but now we need to investigate it more thoroughly. This may require processing additional information like logs or dumps.

This is an automatic reply by the bot.

from affine.

elisaday avatar elisaday commented on July 2, 2024

+1, but different logs.

affine  | running predeploy script.
affine  | yarn run v1.22.22
affine  | $ yarn prisma migrate deploy && node --import ./scripts/register.js ./dist/data/index.js run
affine  | $ /app/node_modules/.bin/prisma migrate deploy
affine  | Prisma schema loaded from schema.prisma
affine  | Datasource "db": PostgreSQL database "affine", schema "public" at "localhost:5432"
affine  |
affine  | 33 migrations found in prisma/migrations
affine  |
affine  |
affine  | No pending migrations to apply.
affine  | (node:95) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
affine  | (Use `node --trace-warnings ...` to show where the warning was created)
affine  | file:///app/dist/config/affine.js:88
affine  | AFFiNE.plugins.use('redis', {
affine  |                ^
affine  |
affine  | TypeError: AFFiNE.plugins.use is not a function
affine  |     at file:///app/dist/config/affine.js:88:16
affine  |     at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
affine  |     at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
affine  |     at async loadRemote (file:///app/dist/prelude.js:16:5)
affine  |     at async load (file:///app/dist/prelude.js:37:5)
affine  |     at async file:///app/dist/prelude.js:46:1
affine  |
affine  | Node.js v20.14.0
affine  | error Command failed with exit code 1.
affine  | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
affine  | node:internal/errors:984
affine  |   const err = new Error(message);
affine  |               ^
affine  |
affine  | Error: Command failed: yarn predeploy
affine  |     at genericNodeError (node:internal/errors:984:15)
affine  |     at wrappedFn (node:internal/errors:538:14)
affine  |     at checkExecSyncError (node:child_process:890:11)
affine  |     at execSync (node:child_process:962:15)
affine  |     at runPredeployScript (file:///app/scripts/self-host-predeploy.js:67:3)
affine  |     at file:///app/scripts/self-host-predeploy.js:75:1
affine  |     at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
affine  |     at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
affine  |     at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5) {
affine  |   status: 1,
affine  |   signal: null,
affine  |   output: [ null, null, null ],
affine  |   pid: 20,
affine  |   stdout: null,
affine  |   stderr: null
affine  | }
affine  |
affine  | Node.js v20.14.0

from affine.

forehalo avatar forehalo commented on July 2, 2024

@elisaday the solution is mentioned in #6708

and it looks like a breaking change compared to a very old config system. we will figure out a better way to smoothly migrate user configuration if you are not that hurry

from affine.

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.