-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as not planned
Labels
Description
Bug Description
Steps to Reproduce
- npm install -g pnpm wrangler
- git clone https://github.com/Mail-0/Zero
- cd Zero
- pnpm install
- pnpm nizzy env
- pnpm nizzy sync
- pnpm db:push
- pnpm dev
.env:
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET="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"
#MICROSOFT_CLIENT_ID="NA"
#MICROSOFT_CLIENT_SECRET="NA"
VITE_PUBLIC_APP_URL="http://192.168.7.52:3000"
VITE_PUBLIC_BACKEND_URL="http://localhost:8787"
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/zerodotemail"
BETTER_AUTH_SECRET="494482574d6f082b723af2fca24f50bdc8c3c5aebb051338a0a0970ce53c6ff4"
BETTER_AUTH_URL="http://192.168.7.52:3000"
COOKIE_DOMAIN="192.168.7.52"
REDIS_URL="redis://192.168.7.52:6379"
REDIS_TOKEN=""
RESEND_API_KEY=""
OPENAI_API_KEY=""
PERPLEXITY_API_KEY=""
OPENAI_MODEL=""
OPENAI_MINI_MODEL=""
AI_SYSTEM_PROMPT=""
NODE_ENV="production"
AUTUMN_SECRET_KEY=""
TWILIO_ACCOUNT_SID=""
TWILIO_AUTH_TOKEN=""
TWILIO_PHONE_NUMBER=""
PLAYWRIGHT_SESSION_TOKEN=""
PLAYWRIGHT_SESSION_DATA=""
EMAIL=""
NEXT_TELEMETRY_DISABLED=1
Expected Behavior
Normal opening
Actual Behavior
vite_ssr_import_2.m.navigation.sidebar.inbox is not a function
What browsers are you seeing the problem on?
Chrome
Application Version
master
Environment Information
root@Zero:~/Zero# cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
Relevant Log Output
10:57:10 AM [vite] Internal server error: __vite_ssr_import_2__.m.navigation.sidebar.inbox is not a function
at eval (/root/Zero/apps/mail/config/navigation.ts:16:69)
at ESModulesEvaluator.runInlinedModule (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1062
:5)
at ModuleRunner.directRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1284:61)
at ModuleRunner.cachedRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1180:76)
at eval (/root/Zero/apps/mail/components/context/command-palette-context.tsx:16:32)
at ESModulesEvaluator.runInlinedModule (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1062
:5)
at ModuleRunner.directRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1284:61)
at ModuleRunner.cachedRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1180:76)
at eval (/root/Zero/apps/mail/lib/hotkeys/global-hotkeys.tsx:5:31)
at ESModulesEvaluator.runInlinedModule (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1062
:5)
at ModuleRunner.directRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1284:61)
at ModuleRunner.cachedRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1180:76)
at eval (/root/Zero/apps/mail/components/providers/hotkey-provider-wrapper.tsx:10:31)
at ESModulesEvaluator.runInlinedModule (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1062
:5)
at ModuleRunner.directRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1284:61)
at ModuleRunner.cachedRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1180:76)
at eval (/root/Zero/apps/mail/app/(routes)/layout.tsx:7:31)
at ESModulesEvaluator.runInlinedModule (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1062
:5)
at ModuleRunner.directRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1284:61)
at ModuleRunner.cachedRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1180:76)
at eval (virtual:react-router/server-build:29:32)
at ESModulesEvaluator.runInlinedModule (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1062
:5)
at ModuleRunner.directRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1284:61)
at ModuleRunner.cachedRequest (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1180:76)
at ModuleRunner.import (file:///root/Zero/node_modules/.pnpm/vite@6.3.5_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_tsx@4.20.5_yaml@2.8.0/node_modules/vite/dist/node/module-runner.js:1117:12)
at /root/Zero/node_modules/.pnpm/@react-router+dev@7.6.3_@types+node@22.13.8_jiti@2.4.2_lightningcss@1.30.1_react-router_f575ed3f9c0f4d36670f06944850eae9/node_modules/@react-router/dev/dist/vite.js:3324:27 (x3)Reactions are currently unavailable