"global is not defined" vite를 이용해 react 프로젝트를 하던 중 aws-sdk를 설치 후 AWS관련 패키지를 이용하려고 했을 때 만났던 오류이다. vite를 이용하지 않고 react프로젝트를 만들었을 시에는 오류가 뜨지 않아 원인을 좀 찾아보았다. https://stackoverflow.com/questions/72114775/vite-global-is-not-defined Vite 'global is not defined'I'm creating a project using Vite with vanilla-ts, at one point I had to use the readdir method from the fs-extra package, but it created an e..
Either try using a new directory name, or remove the files listed above. npm error syscall open npm error path E:\dev\prac\aws_s3_prac\package.json npm error errno -4058 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'E:\dev\prac\aws_s3_prac\package.json' npm error enoent This is related to npm not being able to find a file. npm error enoent npm erro..