burnstony#1975B
Convex Community2y ago
45 replies
burnstony#1975

expo using template

I tried to follow the instructions for this template.
https://www.convex.dev/templates/monorepo

It kind of seems to work but not really.

I ran
1. npm create convex -- -t get-convex/turbo-expo-nextjs-clerk-convex-monorepo
than
2. npm run dev

this gives a QR for expo go, and a url for the website. Both give the errors

start uop warning and errors:
native-app:dev: Starting project at /Users/ashleylorettedills/tony/src/elam_5_3/my-app/apps/native
native-app:dev: (node:48999) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
native-app:dev: (Use node --trace-deprecation ... to show where the warning was created)
web-app:dev: ▲ Next.js 14.0.4
web-app:dev: - Local: http://localhost:3001
web-app:dev: - Environments: .env.local
web-app:dev:
⠸ Preparing Convex functions...
web-app:dev: npm ERR! code ENOWORKSPACES
web-app:dev: npm ERR! This command does not support workspaces.
web-app:dev:
✔ 13:24:09 Convex functions ready! (549.04ms)
Starting Metro Bundler
native-app:dev: The following packages should be updated for best compatibility with the installed expo version:
native-app:dev: react-native@0.73.2 - expected version: 0.73.6
native-app:dev: Your project may not work correctly until you install the correct versions of the packages.

web errors
./src/app/ConvexClientProvider.tsx:4:0
Module not found: Can't resolve 'convex/react'
2 |
3 | import { ReactNode } from 'react';
4 | import { ConvexReactClient } from 'convex/react';
5 | import { ConvexProviderWithClerk } from 'convex/react-clerk';
6 | import { ClerkProvider, useAuth } from '@clerk/clerk-react';
7 | import { ErrorBoundary } from './ErrorBoundary';

expo go error
ConvexReactClient related error, cant reproduce right now doesn't work on my work wifi
The backend application platform with everything you need to build your product.
Templates
Was this page helpful?