Untitled

mail@pastecode.io avatar
unknown
markdown
a year ago
9.8 kB
3
Indexable
Never

app@0.1.1A postinstall prisma generate

Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (4.13.0 | library) to ./node_modules/@prisma/client in 415ms You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client

import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()

up to date, audited 1399 packages in 27s

217 packages are looking for funding run npm fund for details

41 vulnerabilities (19 moderate, 9 high, 13 critical)

To address issues that do not require attention, run: npm audit fix

To address all issues possible (including breaking changes), run: npm audit fix --force

Some issues need review, and may require choosing a different dependency.

Run npm audit for details. server@d388bcf6:~/fewo$ npm run build

app@0.1.1A build next build

info - Loaded env from /home/server/fewo/.env

./src/components/LiveChat.tsx 3:10 Warning: 'Crisp' is defined but never used. @typescript-eslint/no-unused-vars

./src/components/backend/BackendDashboard.tsx 41:19 Warning: 'trackData' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/backend/BackendLayout.tsx 26:10 Warning: 'FaCarSide' is defined but never used. @typescript-eslint/no-unused-vars

./src/components/backend/MailTemplate.tsx 16:16 Warning: 'currentLocale' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/backend/MailTemplate2.tsx 5:8 Warning: 'BaseTemplate' is defined but never used. @typescript-eslint/no-unused-vars 17:16 Warning: 'currentLocale' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/molecules/Car.tsx 15:11 Warning: 'router' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/molecules/DateModal.tsx 4:10 Warning: 'AiFillCloseCircle' is defined but never used. @typescript-eslint/no-unused-vars 25:13 Warning: 't' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/molecules/Features2.tsx 2:10 Warning: 'BsArrowUpRight' is defined but never used. @typescript-eslint/no-unused-vars 21:44 Warning: 'index' is defined but never used. @typescript-eslint/no-unused-vars

./src/components/molecules/Footer.tsx 1:10 Warning: 'ChevronDownIcon' is defined but never used. @typescript-eslint/no-unused-vars

./src/components/molecules/HelpCategories.tsx 110:27 Warning: 'itemUrl' is assigned a value but never used. @typescript-eslint/no-unused-vars 127:39 Warning: 'subItemUrl' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/molecules/ModalPersons.tsx 32:25 Warning: 'maxPersons' is defined but never used. @typescript-eslint/no-unused-vars

./src/components/molecules/Property.tsx 1:28 Warning: 'useRef' is defined but never used. @typescript-eslint/no-unused-vars 8:8 Warning: 'Card' is defined but never used. @typescript-eslint/no-unused-vars 30:26 Warning: 'customClasses' is defined but never used. @typescript-eslint/no-unused-vars 37:10 Warning: 'shouldAnimate' is assigned a value but never used. @typescript-eslint/no-unused-vars 37:25 Warning: 'setShouldAnimate' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/puzzle/LandingPage/DateSelector.tsx 19:10 Warning: 'TbPlaceholder' is defined but never used. @typescript-eslint/no-unused-vars 21:6 Warning: 'Location' is defined but never used. @typescript-eslint/no-unused-vars

./src/components/puzzle/LandingPage/Header.tsx 7:17 Warning: 'useEffect' is defined but never used. @typescript-eslint/no-unused-vars 11:11 Warning: 't' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/puzzle/LandingPage/Request.tsx 1:10 Warning: 'FiUsers' is defined but never used. @typescript-eslint/no-unused-vars 6:13 Warning: 't' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/puzzle/LandingPage/index.tsx 13:8 Warning: 'PageTitle' is defined but never used. @typescript-eslint/no-unused-vars 14:8 Warning: 'Card' is defined but never used. @typescript-eslint/no-unused-vars 15:8 Warning: 'Image' is defined but never used. @typescript-eslint/no-unused-vars 19:7 Warning: 'experienceItems' is assigned a value but never used. @typescript-eslint/no-unused-vars 48:11 Warning: 'router' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/components/puzzle/TravelGuide/index.tsx 15:11 Warning: 'router' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/emails/OrderTemplate.tsx 14:1 Warning: All imports in the declaration are only used as types. Use import type. @typescript-eslint/consistent-type-imports

./src/pages/api/backend/mail/base/[id].tsx 107:19 Warning: 'e' is defined but never used. @typescript-eslint/no-unused-vars

./src/pages/api/grab/[id]/[country].ts 12:11 Warning: 'session' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/pages/api/property/all.ts 6:14 Warning: 'Ad' is defined but never used. @typescript-eslint/no-unused-vars 69:9 Warning: 'checkFeature' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/pages/api/update-price.ts 20:11 Warning: 'session' is assigned a value but never used. @typescript-eslint/no-unused-vars 81:19 Warning: 'p' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/pages/auth/signin.tsx 7:8 Warning: 'Image' is defined but never used. @typescript-eslint/no-unused-vars 16:10 Warning: 'IoLogoGoogle' is defined but never used. @typescript-eslint/no-unused-vars 16:24 Warning: 'IoLogoTwitter' is defined but never used. @typescript-eslint/no-unused-vars 17:10 Warning: 'SiFacebook' is defined but never used. @typescript-eslint/no-unused-vars 19:8 Warning: 'LOGO' is defined but never used. @typescript-eslint/no-unused-vars

./src/pages/auth/signup.tsx 7:8 Warning: 'Image' is defined but never used. @typescript-eslint/no-unused-vars 15:10 Warning: 'IoLogoGoogle' is defined but never used. @typescript-eslint/no-unused-vars 15:24 Warning: 'IoLogoTwitter' is defined but never used. @typescript-eslint/no-unused-vars 16:10 Warning: 'SiFacebook' is defined but never used. @typescript-eslint/no-unused-vars 18:8 Warning: 'LOGO' is defined but never used. @typescript-eslint/no-unused-vars

./src/pages/backend/bookings/[id].tsx 18:1 Warning: Import "Address" is only used as types. @typescript-eslint/consistent-type-imports

./src/pages/booking/index.tsx 22:8 Warning: 'autocomplete' is defined but never used. @typescript-eslint/no-unused-vars

./src/pages/booking/review.tsx 10:10 Warning: 'cls' is defined but never used. @typescript-eslint/no-unused-vars

./src/pages/properties/index.tsx 19:11 Warning: 'router' is assigned a value but never used. @typescript-eslint/no-unused-vars 23:12 Warning: 'cookiesFilter' is assigned a value but never used. @typescript-eslint/no-unused-vars 23:27 Warning: 'setCookiesFilter' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/pages/property/[slug].tsx 3:10 Warning: 'FontAwesomeIcon' is defined but never used. @typescript-eslint/no-unused-vars 4:10 Warning: 'library' is defined but never used. @typescript-eslint/no-unused-vars 5:10 Warning: 'faCheck' is defined but never used. @typescript-eslint/no-unused-vars 6:10 Warning: 'faCoffee' is defined but never used. @typescript-eslint/no-unused-vars 6:20 Warning: 'faUtensils' is defined but never used. @typescript-eslint/no-unused-vars 6:32 Warning: 'faLightbulb' is defined but never used. @typescript-eslint/no-unused-vars 6:45 Warning: 'faFan' is defined but never used. @typescript-eslint/no-unused-vars 6:52 Warning: 'faTint' is defined but never used. @typescript-eslint/no-unused-vars 6:60 Warning: 'faTv' is defined but never used. @typescript-eslint/no-unused-vars 7:10 Warning: 'faBed' is defined but never used. @typescript-eslint/no-unused-vars 7:17 Warning: 'faCouch' is defined but never used. @typescript-eslint/no-unused-vars 7:26 Warning: 'faChair' is defined but never used. @typescript-eslint/no-unused-vars 7:35 Warning: 'faTable' is defined but never used. @typescript-eslint/no-unused-vars 25:23 Warning: 'MdStar' is defined but never used. @typescript-eslint/no-unused-vars 61:8 Warning: 'InfoSection' is defined but never used. @typescript-eslint/no-unused-vars 63:8 Warning: 'moment' is defined but never used. @typescript-eslint/no-unused-vars 74:9 Warning: 'handleTitleClick' is assigned a value but never used. @typescript-eslint/no-unused-vars 122:24 Warning: 'setBlockedDates' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/pages/rentcar/terms.tsx 22:11 Warning: 'router' is assigned a value but never used. @typescript-eslint/no-unused-vars

./src/pages/unterlagen/[orderid]/[adid].tsx 2:1 Warning: Import "Address" is only used as types. @typescript-eslint/consistent-type-imports

./src/utils/utils.tsx 91:56 Warning: 'days' is assigned a value but never used. @typescript-eslint/no-unused-vars

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules info - Linting and checking validity of types ...Failed to compile.

./src/components/molecules/HelpCategories.tsx:43:28 Type error: Parameter 'item' implicitly has an 'any' type.

41 | const categoryItems = currentCategoryData.items || []; 42 |

43 | const handleItemClick = (item) => { | ^ 44 | setSelectedItem(item); 45 | }; 46 |