You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has really stumped me. Pardon if this should be reported in another Github repository, but since I am having specific issue only with this package, I thought as well of reporting here.
In a nutshell, the package @esbuild/win32-x64 fails when it is being installed alongside other packages for an application. In a clean, only @esbuild install, it downloads fine.
This is the scenario I have tested it upon.
Machine OS & Details
Windows 11
Node 20.11.1
npm 10.2.4
React Application
Scaffold a new application using Vite with command: npm create vite@latest vite-react-ts -- --template react-ts
Navigate inside the vite-react-ts folder
Run npm install and I get the following in the console:
With the install failing, the folder node_modules is not created
Empty Application
Create a folder called empty and navigate inside it
Run npm init
Accept all default options as presented
Install the esbuildpackage alone via npm i @esbuild/win32-x64
Navigate inside the folder node_modules\@esbuild\win32-x64 and list the contents.
Legacy Application (Initialized with Create React App)
Trying as well to install @esbuild to an existing application via npm i @esbuild/win32-x64, I get the the folder @esbuild\win32-x64 being created inside node_modules, but the file esbuild.exe is not present
Other Notes
I think we can rule out any antivirus blocking the install, as I've been able to install the package in an empty project folder.
I also tried to download the binary through the URL https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.0.tgz, extracting the esbuild.exe file and attempting to copy it to the folder inside the node_modules folder but get the Access Denied
Has anyone experienced this issue before?
The text was updated successfully, but these errors were encountered:
I guess it has some thing to do with your terminal being executed under administrator permission. You can try to use a normal (user) permission terminal to see if it still happens.
I guess it has some thing to do with your terminal being executed under administrator permission. You can try to use a normal (user) permission terminal to see if it still happens.
I did tried using terminal under non-admin permission and still get the same result.
This has really stumped me. Pardon if this should be reported in another Github repository, but since I am having specific issue only with this package, I thought as well of reporting here.
In a nutshell, the package
@esbuild/win32-x64
fails when it is being installed alongside other packages for an application. In a clean, only @esbuild install, it downloads fine.This is the scenario I have tested it upon.
Machine OS & Details
React Application
npm create vite@latest vite-react-ts -- --template react-ts
vite-react-ts
foldernpm install
and I get the following in the console:node_modules
is not createdEmpty Application
empty
and navigate inside itnpm init
esbuild
package alone vianpm i @esbuild/win32-x64
node_modules\@esbuild\win32-x64
and list the contents.Legacy Application (Initialized with Create React App)
@esbuild
to an existing application vianpm i @esbuild/win32-x64
, I get the the folder@esbuild\win32-x64
being created insidenode_modules
, but the fileesbuild.exe
is not presentOther Notes
https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.0.tgz
, extracting theesbuild.exe
file and attempting to copy it to the folder inside thenode_modules
folder but get theAccess Denied
Has anyone experienced this issue before?
The text was updated successfully, but these errors were encountered: