PATH: //opt/alt/alt-nodejs20/root/lib/node_modules/corepack/shims
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 corepack
↓
X
📄 corepack.cmd
↓
X
📄 corepack.ps1
↓
X
📁 nodewin/
X
📄 npm
↓
X
📄 npm.cmd
↓
X
📄 npm.ps1
↓
X
📄 npx
↓
X
📄 npx.cmd
↓
X
📄 npx.ps1
↓
X
📄 pnpm
↓
X
📄 pnpm.cmd
↓
X
📄 pnpm.ps1
↓
X
📄 pnpx
↓
X
📄 pnpx.cmd
↓
X
📄 pnpx.ps1
↓
X
📄 yarn
↓
X
📄 yarn.cmd
↓
X
📄 yarn.ps1
↓
X
📄 yarnpkg
↓
X
📄 yarnpkg.cmd
↓
X
📄 yarnpkg.ps1
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: corepack.ps1
#!/usr/bin/pwsh $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent $exe="" if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { # Fix case when both the Windows and Linux builds of Node # are installed in the same directory $exe=".exe" } $ret=0 if (Test-Path "$basedir/node$exe") { # Support pipeline input if ($MyInvocation.ExpectingInput) { $input | & "$basedir/node$exe" "$basedir/../dist/corepack.js" $args } else { & "$basedir/node$exe" "$basedir/../dist/corepack.js" $args } $ret=$LASTEXITCODE } else { # Support pipeline input if ($MyInvocation.ExpectingInput) { $input | & "node$exe" "$basedir/../dist/corepack.js" $args } else { & "node$exe" "$basedir/../dist/corepack.js" $args } $ret=$LASTEXITCODE } exit $ret
SIMPAN PERUBAHAN