unfoldadmin / turbo Goto Github PK
View Code? Open in Web Editor NEWDjango & Next.js boilerplate
License: MIT License
Django & Next.js boilerplate
License: MIT License
I am getting connection error when trying to signup, everything is set up right, any idea?
eb_1 | TypeError: fetch failed
web_1 | at node:internal/deps/undici/undici:12344:11
web_1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
web_1 | cause: Error: connect ECONNREFUSED 127.0.0.1:8000
web_1 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
web_1 | at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
web_1 | errno: -111,
web_1 | code: 'ECONNREFUSED',
web_1 | syscall: 'connect',
web_1 | address: '127.0.0.1',
web_1 | port: 8000
web_1 | }
web_1 | }
web_1 | TypeError: fetch failed
web_1 | at node:internal/deps/undici/undici:12344:11
web_1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
web_1 | cause: Error: connect ECONNREFUSED 127.0.0.1:8000
web_1 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
web_1 | at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
web_1 | errno: -111,
web_1 | code: 'ECONNREFUSED',
web_1 | syscall: 'connect',
web_1 | address: '127.0.0.1',
web_1 | port: 8000
web_1 | }
web_1 | }
web_1 | ⨯ unhandledRejection: TypeError: fetch failed
web_1 | at node:internal/deps/undici/undici:12344:11
web_1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
web_1 | cause: Error: connect ECONNREFUSED 127.0.0.1:8000
web_1 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
web_1 | at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
web_1 | errno: -111,
web_1 | code: 'ECONNREFUSED',
web_1 | syscall: 'connect',
web_1 | address: '127.0.0.1',
web_1 | port: 8000
web_1 | }
web_1 | }
web_1 | ⨯ unhandledRejection: TypeError: fetch failed
web_1 | at node:internal/deps/undici/undici:12344:11
web_1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
web_1 | cause: Error: connect ECONNREFUSED 127.0.0.1:8000
web_1 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
web_1 | at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
web_1 | errno: -111,
web_1 | code: 'ECONNREFUSED',
web_1 | syscall: 'connect',
web_1 | address: '127.0.0.1',
web_1 | port: 8000
web_1 | }
web_1 | }
Thanks for this great project.
I am having trouble testing out a production build. When I enter a container and try to build the production bundle, I get the following linter error:
root@374ceeea466f:/app/apps/web# npm run build
...
✓ Compiled successfully
Linting and checking validity of types .Failed to compile.
Linting and checking validity of types ..../../packages/types/api/core/CancelablePromise.ts:25:3
Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher.
23 |
24 | export class CancelablePromise<T> implements Promise<T> {
> 25 | #isResolved: boolean
| ^
26 | #isRejected: boolean
27 | #isCancelled: boolean
28 | readonly #cancelHandlers: (() => void)[]
Am I building this wrong? How to fix?
Thanks!
(what's the point of dockerizing amiright?!!)
Great work on this demo, thank you, it shows nicely how the two interact!!
For other users, I get the following error:
ERR_PNPM_LINKING_FAILED Error: ENOENT: no such file or directory, copyfile '/app/.pnpm-store/v3/files/46/a8b19d0de0d23c31939e2fcfb51a6db0b0fc8159612f3583bdd9bed982472e0f9aa8e9b245aef92216eb784efae03921fafec140e621430ccb28c02d966cf3' -> '/app/node_modules/.pnpm/[email protected]/node_modules/es-abstract_tmp_9/2021/ArraySetLength.js'
I believe this is the offending issue.
To solve it I did:
echo "package-import-method=clone-or-copy" > frontend/.npmrc
Hope this helps someone!
HIi, I meet the follow errors, when I login the front web after activated the user.
api_1 | [22/Dec/2023 15:44:16] "POST /api/token/ HTTP/1.1" 200 483
web_1 | ⨯ TypeError: "ikm" must be at least one byte in length
web_1 | at normalizeIkm (webpack-internal:///(rsc)/../../node_modules/.pnpm/@[email protected]/node_modules/@panva/hkdf/dist/node/cjs/index.js:25:32)
web_1 | at hkdf (webpack-internal:///(rsc)/../../node_modules/.pnpm/@[email protected]/node_modules/@panva/hkdf/dist/node/cjs/index.js:46:60)
web_1 | at getDerivedEncryptionKey (webpack-internal:///(rsc)/../../node_modules/.pnpm/[email protected][email protected]/node_modules/next-auth/jwt/index.js:80:36)
web_1 | at Object.encode (webpack-internal:///(rsc)/../../node_modules/.pnpm/[email protected][email protected]/node_modules/next-auth/jwt/index.js:34:36)
web_1 | at Object.callback (webpack-internal:///(rsc)/../../node_modules/.pnpm/[email protected][email protected]/node_modules/next-auth/core/routes/callback.js:356:36)
web_1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
web_1 | at async AuthHandler (webpack-internal:///(rsc)/../../node_modules/.pnpm/[email protected][email protected]/node_modules/next-auth/core/index.js:298:38)
web_1 | at async NextAuthRouteHandler (webpack-internal:///(rsc)/../../node_modules/.pnpm/[email protected][email protected]/node_modules/next-auth/next/index.js:50:30)
web_1 | at async NextAuth._args$ (webpack-internal:///(rsc)/../../node_modules/.pnpm/[email protected][email protected]/node_modules/next-auth/next/index.js:85:24)
web_1 | at async /app/node_modules/.pnpm/[email protected]/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:62361
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.