Initializing deployment Cloning into '/etc/dokploy/applications/insights-naturerank-7kduqe/code'... remote: Enumerating objects: 180, done. remote: Counting objects: 0% (1/180) remote: Counting objects: 1% (2/180) remote: Counting objects: 2% (4/180) remote: Counting objects: 3% (6/180) remote: Counting objects: 4% (8/180) remote: Counting objects: 5% (9/180) remote: Counting objects: 6% (11/180) remote: Counting objects: 7% (13/180) remote: Counting objects: 8% (15/180) remote: Counting objects: 9% (17/180) remote: Counting objects: 10% (18/180) remote: Counting objects: 11% (20/180) remote: Counting objects: 12% (22/180) remote: Counting objects: 13% (24/180) remote: Counting objects: 14% (26/180) remote: Counting objects: 15% (27/180) remote: Counting objects: 16% (29/180) remote: Counting objects: 17% (31/180) remote: Counting objects: 18% (33/180) remote: Counting objects: 19% (35/180) remote: Counting objects: 20% (36/180) remote: Counting objects: 21% (38/180) remote: Counting objects: 22% (40/180) remote: Counting objects: 23% (42/180) remote: Counting objects: 24% (44/180) remote: Counting objects: 25% (45/180) remote: Counting objects: 26% (47/180) remote: Counting objects: 27% (49/180) remote: Counting objects: 28% (51/180) remote: Counting objects: 29% (53/180) remote: Counting objects: 30% (54/180) remote: Counting objects: 31% (56/180) remote: Counting objects: 32% (58/180) remote: Counting objects: 33% (60/180) remote: Counting objects: 34% (62/180) remote: Counting objects: 35% (63/180) remote: Counting objects: 36% (65/180) remote: Counting objects: 37% (67/180) remote: Counting objects: 38% (69/180) remote: Counting objects: 39% (71/180) remote: Counting objects: 40% (72/180) remote: Counting objects: 41% (74/180) remote: Counting objects: 42% (76/180) remote: Counting objects: 43% (78/180) remote: Counting objects: 44% (80/180) remote: Counting objects: 45% (81/180) remote: Counting objects: 46% (83/180) remote: Counting objects: 47% (85/180) remote: Counting objects: 48% (87/180) remote: Counting objects: 49% (89/180) remote: Counting objects: 50% (90/180) remote: Counting objects: 51% (92/180) remote: Counting objects: 52% (94/180) remote: Counting objects: 53% (96/180) remote: Counting objects: 54% (98/180) remote: Counting objects: 55% (99/180) remote: Counting objects: 56% (101/180) remote: Counting objects: 57% (103/180) remote: Counting objects: 58% (105/180) remote: Counting objects: 59% (107/180) remote: Counting objects: 60% (108/180) remote: Counting objects: 61% (110/180) remote: Counting objects: 62% (112/180) remote: Counting objects: 63% (114/180) remote: Counting objects: 64% (116/180) remote: Counting objects: 65% (117/180) remote: Counting objects: 66% (119/180) remote: Counting objects: 67% (121/180) remote: Counting objects: 68% (123/180) remote: Counting objects: 69% (125/180) remote: Counting objects: 70% (126/180) remote: Counting objects: 71% (128/180) remote: Counting objects: 72% (130/180) remote: Counting objects: 73% (132/180) remote: Counting objects: 74% (134/180) remote: Counting objects: 75% (135/180) remote: Counting objects: 76% (137/180) remote: Counting objects: 77% (139/180) remote: Counting objects: 78% (141/180) remote: Counting objects: 79% (143/180) remote: Counting objects: 80% (144/180) remote: Counting objects: 81% (146/180) remote: Counting objects: 82% (148/180) remote: Counting objects: 83% (150/180) remote: Counting objects: 84% (152/180) remote: Counting objects: 85% (153/180) remote: Counting objects: 86% (155/180) remote: Counting objects: 87% (157/180) remote: Counting objects: 88% (159/180) remote: Counting objects: 89% (161/180) remote: Counting objects: 90% (162/180) remote: Counting objects: 91% (164/180) remote: Counting objects: 92% (166/180) remote: Counting objects: 93% (168/180) remote: Counting objects: 94% (170/180) remote: Counting objects: 95% (171/180) remote: Counting objects: 96% (173/180) remote: Counting objects: 97% (175/180) remote: Counting objects: 98% (177/180) remote: Counting objects: 99% (179/180) remote: Counting objects: 100% (180/180) remote: Counting objects: 100% (180/180), done. remote: Compressing objects: 0% (1/131) remote: Compressing objects: 1% (2/131) remote: Compressing objects: 2% (3/131) remote: Compressing objects: 3% (4/131) remote: Compressing objects: 4% (6/131) remote: Compressing objects: 5% (7/131) remote: Compressing objects: 6% (8/131) remote: Compressing objects: 7% (10/131) remote: Compressing objects: 8% (11/131) remote: Compressing objects: 9% (12/131) remote: Compressing objects: 10% (14/131) remote: Compressing objects: 11% (15/131) remote: Compressing objects: 12% (16/131) remote: Compressing objects: 13% (18/131) remote: Compressing objects: 14% (19/131) remote: Compressing objects: 15% (20/131) remote: Compressing objects: 16% (21/131) remote: Compressing objects: 17% (23/131) remote: Compressing objects: 18% (24/131) remote: Compressing objects: 19% (25/131) remote: Compressing objects: 20% (27/131) remote: Compressing objects: 21% (28/131) remote: Compressing objects: 22% (29/131) remote: Compressing objects: 23% (31/131) remote: Compressing objects: 24% (32/131) remote: Compressing objects: 25% (33/131) remote: Compressing objects: 26% (35/131) remote: Compressing objects: 27% (36/131) remote: Compressing objects: 28% (37/131) remote: Compressing objects: 29% (38/131) remote: Compressing objects: 30% (40/131) remote: Compressing objects: 31% (41/131) remote: Compressing objects: 32% (42/131) remote: Compressing objects: 33% (44/131) remote: Compressing objects: 34% (45/131) remote: Compressing objects: 35% (46/131) remote: Compressing objects: 36% (48/131) remote: Compressing objects: 37% (49/131) remote: Compressing objects: 38% (50/131) remote: Compressing objects: 39% (52/131) remote: Compressing objects: 40% (53/131) remote: Compressing objects: 41% (54/131) remote: Compressing objects: 42% (56/131) remote: Compressing objects: 43% (57/131) remote: Compressing objects: 44% (58/131) remote: Compressing objects: 45% (59/131) remote: Compressing objects: 46% (61/131) remote: Compressing objects: 47% (62/131) remote: Compressing objects: 48% (63/131) remote: Compressing objects: 49% (65/131) remote: Compressing objects: 50% (66/131) remote: Compressing objects: 51% (67/131) remote: Compressing objects: 52% (69/131) remote: Compressing objects: 53% (70/131) remote: Compressing objects: 54% (71/131) remote: Compressing objects: 55% (73/131) remote: Compressing objects: 56% (74/131) remote: Compressing objects: 57% (75/131) remote: Compressing objects: 58% (76/131) remote: Compressing objects: 59% (78/131) remote: Compressing objects: 60% (79/131) remote: Compressing objects: 61% (80/131) remote: Compressing objects: 62% (82/131) remote: Compressing objects: 63% (83/131) remote: Compressing objects: 64% (84/131) remote: Compressing objects: 65% (86/131) remote: Compressing objects: 66% (87/131) remote: Compressing objects: 67% (88/131) remote: Compressing objects: 68% (90/131) remote: Compressing objects: 69% (91/131) remote: Compressing objects: 70% (92/131) remote: Compressing objects: 71% (94/131) remote: Compressing objects: 72% (95/131) remote: Compressing objects: 73% (96/131) remote: Compressing objects: 74% (97/131) remote: Compressing objects: 75% (99/131) remote: Compressing objects: 76% (100/131) remote: Compressing objects: 77% (101/131) remote: Compressing objects: 78% (103/131) remote: Compressing objects: 79% (104/131) remote: Compressing objects: 80% (105/131) remote: Compressing objects: 81% (107/131) remote: Compressing objects: 82% (108/131) remote: Compressing objects: 83% (109/131) remote: Compressing objects: 84% (111/131) remote: Compressing objects: 85% (112/131) remote: Compressing objects: 86% (113/131) remote: Compressing objects: 87% (114/131) remote: Compressing objects: 88% (116/131) remote: Compressing objects: 89% (117/131) remote: Compressing objects: 90% (118/131) remote: Compressing objects: 91% (120/131) remote: Compressing objects: 92% (121/131) remote: Compressing objects: 93% (122/131) remote: Compressing objects: 94% (124/131) remote: Compressing objects: 95% (125/131) remote: Compressing objects: 96% (126/131) remote: Compressing objects: 97% (128/131) remote: Compressing objects: 98% (129/131) remote: Compressing objects: 99% (130/131) remote: Compressing objects: 100% (131/131) remote: Compressing objects: 100% (131/131), done. Receiving objects: 0% (1/180) Receiving objects: 1% (2/180) Receiving objects: 2% (4/180) Receiving objects: 3% (6/180) Receiving objects: 4% (8/180) Receiving objects: 5% (9/180) Receiving objects: 6% (11/180) Receiving objects: 7% (13/180) Receiving objects: 8% (15/180) Receiving objects: 9% (17/180) Receiving objects: 10% (18/180) Receiving objects: 11% (20/180) Receiving objects: 12% (22/180) Receiving objects: 13% (24/180) Receiving objects: 14% (26/180) Receiving objects: 15% (27/180) Receiving objects: 16% (29/180) Receiving objects: 17% (31/180) Receiving objects: 18% (33/180) Receiving objects: 19% (35/180) Receiving objects: 20% (36/180) Receiving objects: 21% (38/180) Receiving objects: 22% (40/180) Receiving objects: 23% (42/180) Receiving objects: 24% (44/180) Receiving objects: 25% (45/180) Receiving objects: 26% (47/180) Receiving objects: 27% (49/180) Receiving objects: 28% (51/180) Receiving objects: 29% (53/180) Receiving objects: 30% (54/180) Receiving objects: 31% (56/180) Receiving objects: 32% (58/180) Receiving objects: 33% (60/180) Receiving objects: 34% (62/180) Receiving objects: 35% (63/180) Receiving objects: 36% (65/180) Receiving objects: 37% (67/180) Receiving objects: 38% (69/180) Receiving objects: 39% (71/180) Receiving objects: 40% (72/180) Receiving objects: 41% (74/180) Receiving objects: 42% (76/180) Receiving objects: 43% (78/180) Receiving objects: 44% (80/180) Receiving objects: 45% (81/180) Receiving objects: 46% (83/180) Receiving objects: 47% (85/180) Receiving objects: 48% (87/180) Receiving objects: 49% (89/180) Receiving objects: 50% (90/180) Receiving objects: 51% (92/180) Receiving objects: 52% (94/180) Receiving objects: 53% (96/180) Receiving objects: 54% (98/180) Receiving objects: 55% (99/180) Receiving objects: 56% (101/180) Receiving objects: 57% (103/180) Receiving objects: 58% (105/180) Receiving objects: 59% (107/180) Receiving objects: 60% (108/180) Receiving objects: 61% (110/180) Receiving objects: 62% (112/180) Receiving objects: 63% (114/180) Receiving objects: 64% (116/180) Receiving objects: 65% (117/180) Receiving objects: 66% (119/180) Receiving objects: 67% (121/180) Receiving objects: 68% (123/180) Receiving objects: 69% (125/180) Receiving objects: 70% (126/180) Receiving objects: 71% (128/180) Receiving objects: 72% (130/180) Receiving objects: 73% (132/180) Receiving objects: 74% (134/180) Receiving objects: 75% (135/180) Receiving objects: 76% (137/180) Receiving objects: 77% (139/180) Receiving objects: 78% (141/180) Receiving objects: 79% (143/180) Receiving objects: 80% (144/180) Receiving objects: 81% (146/180) Receiving objects: 82% (148/180) remote: Total 180 (delta 13), reused 112 (delta 6), pack-reused 0 (from 0) Receiving objects: 83% (150/180) Receiving objects: 84% (152/180) Receiving objects: 85% (153/180) Receiving objects: 86% (155/180) Receiving objects: 87% (157/180) Receiving objects: 88% (159/180) Receiving objects: 89% (161/180) Receiving objects: 90% (162/180) Receiving objects: 91% (164/180) Receiving objects: 92% (166/180) Receiving objects: 93% (168/180) Receiving objects: 94% (170/180) Receiving objects: 95% (171/180) Receiving objects: 96% (173/180) Receiving objects: 97% (175/180) Receiving objects: 98% (177/180) Receiving objects: 99% (179/180) Receiving objects: 100% (180/180) Receiving objects: 100% (180/180), 220.58 KiB | 2.32 MiB/s, done. Resolving deltas: 0% (0/13) Resolving deltas: 7% (1/13) Resolving deltas: 15% (2/13) Resolving deltas: 23% (3/13) Resolving deltas: 30% (4/13) Resolving deltas: 38% (5/13) Resolving deltas: 46% (6/13) Resolving deltas: 53% (7/13) Resolving deltas: 61% (8/13) Resolving deltas: 69% (9/13) Resolving deltas: 76% (10/13) Resolving deltas: 84% (11/13) Resolving deltas: 92% (12/13) Resolving deltas: 100% (13/13) Resolving deltas: 100% (13/13), done. Cloned github.com/Hussein-Organicgrowth/naturerank-insights.git to /etc/dokploy/applications/insights-naturerank-7kduqe/code: ✅ Starting nixpacks build... ╔════════ Nixpacks v1.29.0 ═══════╗ ║ setup │ nodejs_18, npm-9_x ║ ║─────────────────────────────────║ ║ install │ npm ci ║ ║─────────────────────────────────║ ║ build │ npm run build ║ ║─────────────────────────────────║ ║ start │ npm run start ║ ╚═════════════════════════════════╝ #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 1.56kB done #1 DONE 0.0s #2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1727136237 #2 DONE 0.5s #3 [internal] load .dockerignore #3 transferring context: 2B done #3 DONE 0.0s #4 [stage-0 1/10] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1727136237@sha256:72cd12021740b1c4100a5c53c3b22974dacb86e4b0a35fcdd12605339de25b86 #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 1.18MB 0.1s done #5 DONE 0.1s #6 [stage-0 2/10] WORKDIR /app/ #6 CACHED #7 [stage-0 3/10] COPY .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix #7 CACHED #8 [stage-0 4/10] RUN nix-env -if .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix && nix-collect-garbage -d #8 CACHED #9 [stage-0 5/10] COPY . /app/. #9 DONE 0.1s #10 [stage-0 6/10] RUN --mount=type=cache,id=4SjZS2IN5To-/root/npm,target=/root/.npm npm ci #10 1.167 npm WARN config production Use `--omit=dev` instead. #10 20.17 npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. #10 20.80 npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported #10 21.24 npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported #10 47.70 #10 47.70 added 1036 packages, and audited 1037 packages in 47s #10 47.70 #10 47.70 199 packages are looking for funding #10 47.70 run `npm fund` for details #10 47.82 #10 47.82 10 vulnerabilities (2 low, 3 moderate, 5 high) #10 47.82 #10 47.82 To address issues that do not require attention, run: #10 47.82 npm audit fix #10 47.82 #10 47.82 To address all issues possible, run: #10 47.82 npm audit fix --force #10 47.82 #10 47.82 Some issues need review, and may require choosing #10 47.82 a different dependency. #10 47.82 #10 47.82 Run `npm audit` for details. #10 DONE 48.4s #11 [stage-0 7/10] COPY . /app/. #11 DONE 0.1s #12 [stage-0 8/10] RUN --mount=type=cache,id=4SjZS2IN5To-next/cache,target=/app/.next/cache --mount=type=cache,id=4SjZS2IN5To-node_modules/cache,target=/app/node_modules/.cache npm run build #12 1.199 npm WARN config production Use `--omit=dev` instead. #12 1.374 #12 1.374 > naturerank-insigts@0.1.0 build #12 1.374 > next build #12 1.374 #12 2.980 ▲ Next.js 14.2.3 #12 2.982 #12 3.177 Creating an optimized production build ... #12 21.58 Failed to compile. #12 21.58 #12 21.58 ./src/components/dashboard/MainDashboard.jsx #12 21.58 Module not found: Can't resolve './SideBar' #12 21.58 #12 21.58 https://nextjs.org/docs/messages/module-not-found #12 21.58 #12 21.58 ./src/components/dashboard/konkurrent/textComponents/TipTap.jsx #12 21.58 Module not found: Can't resolve './tiptap.css' #12 21.58 #12 21.58 https://nextjs.org/docs/messages/module-not-found #12 21.58 #12 21.58 Import trace for requested module: #12 21.58 ./src/components/dashboard/konkurrent/textComponents/Konkurrent.jsx #12 21.58 ./src/components/dashboard/konkurrent/TextEditor.jsx #12 21.58 ./src/components/dashboard/konkurrent/UrlSelect.jsx #12 21.58 ./src/components/dashboard/konkurrent/CategorySelect.jsx #12 21.58 #12 21.58 ./src/app/dashboard/competitor/page.js #12 21.58 Module not found: Can't resolve '@/components/dashboard/SideBar' #12 21.58 #12 21.58 https://nextjs.org/docs/messages/module-not-found #12 21.58 #12 21.58 ./src/app/dashboard/contentplan/page.js #12 21.58 Module not found: Can't resolve '@/components/dashboard/SideBar' #12 21.58 #12 21.58 https://nextjs.org/docs/messages/module-not-found #12 21.58 #12 21.58 ./src/app/dashboard/keywords/page.js #12 21.58 Module not found: Can't resolve '@/components/dashboard/SideBar' #12 21.58 #12 21.58 https://nextjs.org/docs/messages/module-not-found #12 21.58 #12 21.61 #12 21.61 > Build failed because of webpack errors #12 ERROR: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1 ------ > [stage-0 8/10] RUN --mount=type=cache,id=4SjZS2IN5To-next/cache,target=/app/.next/cache --mount=type=cache,id=4SjZS2IN5To-node_modules/cache,target=/app/node_modules/.cache npm run build: 21.58 21.58 https://nextjs.org/docs/messages/module-not-found 21.58 21.58 ./src/app/dashboard/keywords/page.js 21.58 Module not found: Can't resolve '@/components/dashboard/SideBar' 21.58 21.58 https://nextjs.org/docs/messages/module-not-found 21.58 21.61 21.61 > Build failed because of webpack errors ------ Dockerfile:24 -------------------- 22 | # build phase 23 | COPY . /app/. 24 | >>> RUN --mount=type=cache,id=4SjZS2IN5To-next/cache,target=/app/.next/cache --mount=type=cache,id=4SjZS2IN5To-node_modules/cache,target=/app/node_modules/.cache npm run build 25 | 26 | -------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1 Error: Docker build failed ❌ Nixpacks build failed ===================================EXTRA LOGS============================================ Error occurred ❌, check the logs for details. Command exited with code 1. Stderr: , command: set -e; rm -rf /etc/dokploy/applications/insights-naturerank-7kduqe/code; mkdir -p /etc/dokploy/applications/insights-naturerank-7kduqe/code; if ! git clone --branch main --depth 1 --recurse-submodules --progress https://oauth2:ghs_lPOxw3B6zcrau6946mgrPA9AervAas20w2Lw@github.com/Hussein-Organicgrowth/naturerank-insights.git /etc/dokploy/applications/insights-naturerank-7kduqe/code >> /etc/dokploy/logs/insights-naturerank-7kduqe/insights-naturerank-7kduqe-2024-11-04:09:28:39.log 2>&1; then echo "❌ [ERROR] Fallo al clonar el repositorio github.com/Hussein-Organicgrowth/naturerank-insights.git" >> /etc/dokploy/logs/insights-naturerank-7kduqe/insights-naturerank-7kduqe-2024-11-04:09:28:39.log; exit 1; fi echo "Cloned github.com/Hussein-Organicgrowth/naturerank-insights.git to /etc/dokploy/applications/insights-naturerank-7kduqe/code: ✅" >> /etc/dokploy/logs/insights-naturerank-7kduqe/insights-naturerank-7kduqe-2024-11-04:09:28:39.log; echo "Starting nixpacks build..." >> /etc/dokploy/logs/insights-naturerank-7kduqe/insights-naturerank-7kduqe-2024-11-04:09:28:39.log; nixpacks build /etc/dokploy/applications/insights-naturerank-7kduqe/code/ --name insights-naturerank-7kduqe --env 'KINDE_CLIENT_ID=c363da2783764d4391511e2d0f433775' --env 'KINDE_CLIENT_SECRET=pF2QmBfOnhqGOVXjWGfdjOv7OyfOEa4n0hDIHClGhlQMi2A7Sq1Cq' --env 'KINDE_ISSUER_URL=https://naturerankinsights.kinde.com' --env 'KINDE_SITE_URL=http://localhost:3000' --env 'KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:3000' --env 'KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000' --env 'OPENAI_API_KEY=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' --env 'MONGODB_URI=mongodb+srv://ha2202040:Lg3llDDh9hnDk3AE@keyword-mapped.akfva7w.mongodb.net/?retryWrites=true&w=majority' --env 'RANK_API_KEY=7d56f41afdf2f664af49837122c9604f185feb5c' >> /etc/dokploy/logs/insights-naturerank-7kduqe/insights-naturerank-7kduqe-2024-11-04:09:28:39.log 2>> /etc/dokploy/logs/insights-naturerank-7kduqe/insights-naturerank-7kduqe-2024-11-04:09:28:39.log || { echo "❌ Nixpacks build failed" >> /etc/dokploy/logs/insights-naturerank-7kduqe/insights-naturerank-7kduqe-2024-11-04:09:28:39.log; exit 1; } echo "✅ Nixpacks build completed." >> /etc/dokploy/logs/insights-naturerank-7kduqe/insights-naturerank-7kduqe-2024-11-04:09:28:39.log;