Giter VIP home page Giter VIP logo

create-api-app's Introduction

Hi, I'm Ryan ๐Ÿ‘‹

I'm a Software Developer based in England ๐Ÿ‡ฌ๐Ÿ‡ง who loves building open-source projects that solve unique problems ๐ŸคŸ

You'll often find me building systems in Python that improve my workflow and reduce development time. Why build a project in months, when you can do it in a couple of weeks?! I adore simplicity over unnecessary complexity.

๐Ÿƒโ€โ™‚๏ธ Active Projects

Portfolio Card Zentra Card

๐Ÿš€ Tech Stack

Python Pytest fastapi
Tailwind CSS HTML CSS JavaScript TypeScript Next.js React
Visual Studio Code SQLite Docker

๐Ÿ“Š GitHub Stats

My GitHub stats GitHub Streak

create-api-app's People

Contributors

achronus avatar

Watchers

 avatar

create-api-app's Issues

Module not found error

After successfully running npm run dev, error:

https://nextjs.org/docs/messages/module-not-found
 GET / 500 in 10250ms
 โจฏ ./src/app/layout.tsx:4:1
Module not found: Can't resolve '@/layouts/Navbar'
  2 | import { Rubik } from "next/font/google";
  3 | import "./globals.css";
> 4 | import Navbar from "@/layouts/Navbar";
    | ^
  5 | import Footer from "@/layouts/Footer";
  6 |
  7 | const rubik = Rubik({ subsets: ["latin"] });

Temporay fix - remove imports for Navbar and Footer in src/app/layout.tsx. To patch in next update.

Npm install fail - Stripe dependency error

Running npm install creates a Stripe error:

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: frontend@0.1.0
npm error Found: @stripe/stripe-js@4.0.0
npm error node_modules/@stripe/stripe-js
npm error   @stripe/stripe-js@"^4.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @stripe/stripe-js@"^1.44.1 || ^2.0.0 || ^3.0.0" from @stripe/react-stripe-js@2.7.1
npm error node_modules/@stripe/react-stripe-js
npm error   @stripe/react-stripe-js@"^2.7.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\rpart\AppData\Local\npm-cache\_logs\2024-06-26T15_54_23_664Z-eresolve-report.txt

npm error A complete log of this run can be found in: C:\Users\rpart\AppData\Local\npm-cache\_logs\2024-06-26T15_54_23_664Z-debug-0.log

Temporary fix - remove @stripe/react-stripe-js, @stripe/stripe-js from package.json, then run:

npm install --save @stripe/react-stripe-js @stripe/stripe-js

Npm run dev - `Next.config.mjs` error

Running npm run dev in frontend directory creates a remotePatterns error:

Invalid next.config.mjs options detected:
    "images.remotePatterns[1].hostname" is missing, expected string
See more info here: https://nextjs.org/docs/messages/invalid-next-config

Error created because apiUrl is undefined. .env.local not being detected as trying to find in cwd. To patch in next update.

Temporary fix - duplicate/move .env.local to frontend.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.