Failed to register
- Dominant language
- TypeScript
- Stars
- 656
- Forks
- 216
- PR merge metrics
- No merged PRs in 30d
Description
When I followed the steps in the README.md to install and start the service, registration fails. How can I resolve this issue? The logs are as follows:
```
> saas-starter-5@0.1.0 dev
> next dev --turbopack
⚠ Port 3000 is in use, using available port 3001 instead.
▲ Next.js 15.3.5 (Turbopack)
- Local: http://localhost:3001
- Network: http://ip:3001
- Environments: .env.local
✓ Starting...
✓ Compiled middleware in 156ms
✓ Ready in 3.2s
○ Compiling / ...
✓ Compiled / in 2.1s
GET / 200 in 2562ms
⚠ Blocked cross-origin request from ip to /_next/* resource. To allow this, configure "allowedDevOrigins" in next.config
Read more: https://nextjs.org/docs/app/api-reference/config/next-config-js/allowedDevOrigins
○ Compiling /register ...
✓ Compiled /register in 810ms
GET /register 200 in 833ms
```
I have already added **allowedDevOrigins** in next.config.ts, but I still cannot register. As follows:
```
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
ignoreBuildErrors: true,
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
{
protocol: 'http',
hostname: '**',
},
],
},
allowedDevOrigins: [
'http://ip',
'http://localhost:3001',
'http://127.0.0.1:3001'
],
};
export default nextConfig;
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the README.md installation and startup steps, then inspect the /register flow alongside the provided development-server logs and next.config.ts. Done means identifying the cause of registration failure and confirming that a new user can register successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100