skip to Main Content

I made Laravel CRUD api and I can't upload an image

for several days I have problem uploading an image with Laravel api. I was sending request via React's modified axios. Code is as follows. axios-client.js import axios from "axios"; const axiosClient = axios.create({ baseURL : `${import.meta.env.VITE_API_BASE_URL}/api` }); axiosClient.interceptors.request.use((config) => {…

VIEW QUESTION

Reactjs – How should I have to solve this error in my React app

When I type npm start this msg I get npm start [email protected] start react-scripts start node:internal/modules/cjs/loader:1145 throw err; ^ Error: Cannot find module 'E:ownwebsitemironode_modulesreact-scriptsbinreact-scripts.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15) at Module._load (node:internal/modules/cjs/loader:983:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND',…

VIEW QUESTION
Back To Top
Search