skip to Main Content

Javascript – Error: ENOTDIR: not a directory, scandir './src/functions/.DS_Store' What is this and how to fix it

node:internal/fs/utils:351 throw err; ^ Error: ENOTDIR: not a directory, scandir './src/functions/.DS_Store' at Object.readdirSync (node:fs:1532:3) at Object.<anonymous> (/Users/roopa/Desktop/projects/LLbot/src/bot.js:43:6) at Module._compile (node:internal/modules/cjs/loader:1255:14) at Module._extensions..js (node:internal/modules/cjs/loader:1309:10) at Module.load (node:internal/modules/cjs/loader:1113:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) at node:internal/main/run_main_module:23:47 { errno: -20, syscall:…

VIEW QUESTION

Reactjs – why i'm not receiving values in server?

const SignUpForm = () => { const {values ,errors , handleChange , handleSubmit} = useFormik({ initialValues , validationSchema: SignupSchema, onSubmit : async ()=>{ const user = await fetch('http://localhost:8080/user/register' ,{ method : "POST" , body : JSON.stringify(values) }) console.log(user ,values); }…

VIEW QUESTION

Docker serve NestJs on local network

I'm coding with NestJS and using Docker, I can't configure my own docker-compose file to serve on the local network card with IP 192.168.1.7. i saw this link before. Docker subnet: 192.168.65.0 networks: host: name: mamanpaz external: true lan_access: driver:…

VIEW QUESTION
Back To Top
Search