Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unable to update lock within the stale threshold #91

Open
jimiLOL opened this issue Mar 18, 2024 · 0 comments
Open

Error: Unable to update lock within the stale threshold #91

jimiLOL opened this issue Mar 18, 2024 · 0 comments

Comments

@jimiLOL
Copy link

jimiLOL commented Mar 18, 2024

Ошибка возникает на всех версия Nodejs начиная с 16.17 до 18.12

M:\test\node_modules\proper-lockfile\lib\lockfile.js:213
onCompromised: (err) => { throw err; },
^

Error: Unable to update lock within the stale threshold
at M:\test\node_modules\proper-lockfile\lib\lockfile.js:136:25
at newFs. [as stat] (M:\test\node_modules\proper-lockfile\lib\adapter.js:20:13)
at Timeout._onTimeout (M:\test\node_modules\proper-lockfile\lib\lockfile.js:114:20)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7) {
code: 'ECOMPROMISED'
}

Node.js v18.10.0

`const { plugin } = require('puppeteer-with-fingerprints');

(async () => {
// Get a fingerprint from the server:
const fingerprint = await plugin.fetch('', {
tags: ['Microsoft Windows', 'Chrome'],
});

// Apply fingerprint:
plugin.useFingerprint(fingerprint);

// Launch the browser instance:
const browser = await plugin.launch();

// The rest of the code is the same as for a standard puppeteer library:
const page = await browser.newPage();
await page.goto('https://example.com');

// Print the browser viewport size:
console.log(
'Viewport:',
await page.evaluate(() => ({
deviceScaleFactor: window.devicePixelRatio,
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight,
}))
);

await browser.close();
})();`

Код проекта из ReadMe
package.json:
"dependencies": { "puppeteer": "^22.5.0", "puppeteer-with-fingerprints": "^1.4.7" }

WindowsBuildLabEx : 19041.1.amd64fre.vb_release.191206-1406
WindowsCurrentVersion : 6.3
WindowsEditionId : CoreSingleLanguage
WindowsInstallationType : Client
WindowsInstallDateFromRegistry : 18.08.2023 4:03:29
WindowsProductId :
WindowsProductName : Windows 10 Home Single Language
WindowsRegisteredOrganization :
WindowsRegisteredOwner :
WindowsSystemRoot : C:\WINDOWS
WindowsVersion : 2009
BiosCharacteristics : {7, 9, 11, 12...}
BiosBIOSVersion : {HUAWEI - 2, 1.11, INSYDE Corp. - 10011}
BiosBuildNumber :
BiosCaption : 1.11
BiosCodeSet :
BiosCurrentLanguage : en|US|iso8859-1,0
BiosDescription : 1.11
BiosEmbeddedControllerMajorVersion : 1
BiosEmbeddedControllerMinorVersion : 11
BiosFirmwareType : Uefi
BiosIdentificationCode :
BiosInstallableLanguages : 2
BiosInstallDate :
BiosLanguageEdition :
BiosListOfLanguages : {zh|CN|unicode,0, en|US|iso8859-1,0}
BiosManufacturer : HUAWEI
BiosName : 1.11
BiosOtherTargetOS :
BiosPrimaryBIOS : True
BiosReleaseDate : 25.12.2019 3:00:00
BiosSeralNumber : UMPBB20521800755
BiosSMBIOSBIOSVersion : 1.11
BiosSMBIOSMajorVersion : 3
BiosSMBIOSMinorVersion : 1
BiosSMBIOSPresent : True
BiosSoftwareElementState : Running
BiosStatus : OK
BiosSystemBiosMajorVersion : 1
BiosSystemBiosMinorVersion : 11
BiosTargetOperatingSystem : 0
BiosVersion : HUAWEI - 2
CsAdminPasswordStatus : Unknown
CsAutomaticManagedPagefile : True
CsAutomaticResetBootOption : True
CsAutomaticResetCapability : True
CsBootOptionOnLimit :
CsBootOptionOnWatchDog :
CsBootROMSupported : True
CsBootStatus :
CsBootupState : Normal boot
CsCaption :
CsChassisBootupState : Safe
CsChassisSKUNumber : Heng-W19CR
CsCurrentTimeZone : 180
CsDaylightInEffect :
CsDescription : AT/AT COMPATIBLE
CsDNSHostName : LAPTOP
CsDomain : WORKGROUP
CsDomainRole : StandaloneWorkstation
CsEnableDaylightSavingsTime : True
CsFrontPanelResetStatus : Unknown
CsHypervisorPresent : True
CsInfraredSupported : False
CsInitialLoadInfo :
CsInstallDate :
CsKeyboardPasswordStatus : Unknown
CsLastLoadInfo :
CsManufacturer : HUAWEI
CsModel : HN-WX9X
CsName :
CsNetworkAdapters : {Local Area Connection, Wi-Fi, VMware Network Adapter
VMnet1, Bluetooth Network Connection...}
CsNetworkServerModeEnabled : True
CsNumberOfLogicalProcessors : 8
CsNumberOfProcessors : 1
CsProcessors : {AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx }
CsOEMStringArray : {$HUA001RU10000, $HUA0854, OemString3}
CsPartOfDomain : False
CsPauseAfterReset : -1
CsPCSystemType : Mobile
CsPCSystemTypeEx : Mobile
CsPowerManagementCapabilities :
CsPowerManagementSupported :
CsPowerOnPasswordStatus : Unknown
CsPowerState : Unknown
CsPowerSupplyState : Safe
CsPrimaryOwnerContact :
CsPrimaryOwnerName :
CsResetCapability : Other
CsResetCount : -1
CsResetLimit : -1
CsRoles : {LM_Workstation, LM_Server, NT}
CsStatus : OK
CsSupportContactDescription :
CsSystemFamily : MateBook
CsSystemSKUNumber : C170
CsSystemType : x64-based PC
CsThermalState : Safe
CsTotalPhysicalMemory : 16040079360
CsPhyicallyInstalledMemory : 16777216
CsUserName :
CsWakeUpType : PowerSwitch
CsWorkgroup : WORKGROUP
OsName : Microsoft Windows 10 Home Single Language
OsType : WINNT
OsOperatingSystemSKU : 100
OsVersion : 10.0.19045
OsCSDVersion :
OsBuildNumber : 19045
OsHotFixes : {KB5032189, KB5034468, KB5012170, KB5015684...}
OsBootDevice : \Device\HarddiskVolume1
OsSystemDevice : \Device\HarddiskVolume3
OsSystemDirectory : C:\WINDOWS\system32
OsSystemDrive : C:
OsWindowsDirectory : C:\WINDOWS
OsCountryCode : 7
OsCurrentTimeZone : 180
OsLocaleID : 0419
OsLocale : ru-RU
OsLocalDateTime : 19.03.2024 2:11:27
OsLastBootUpTime : 17.03.2024 17:43:28
OsUptime : 1.08:27:58.5378136
OsBuildType : Multiprocessor Free
OsCodeSet : 1251
OsDataExecutionPreventionAvailable : True
OsDataExecutionPrevention32BitApplications : True
OsDataExecutionPreventionDrivers : True
OsDataExecutionPreventionSupportPolicy : OptIn
OsDebug : False
OsDistributed : False
OsEncryptionLevel : 256
OsForegroundApplicationBoost : Maximum
OsTotalVisibleMemorySize : 15664140
OsFreePhysicalMemory : 5297832
OsTotalVirtualMemorySize : 28771340
OsFreeVirtualMemory : 14738796
OsInUseVirtualMemory : 14032544
OsTotalSwapSpaceSize :
OsSizeStoredInPagingFiles : 13107200
OsFreeSpaceInPagingFiles : 12777616
OsPagingFiles : {D:\pagefile.sys}
OsHardwareAbstractionLayer : 10.0.19041.3636
OsInstallDate : 18.08.2023 7:03:29
OsManufacturer : Microsoft Corporation
OsMaxNumberOfProcesses : 4294967295
OsMaxProcessMemorySize : 137438953344
OsMuiLanguages : {en-US, hi-IN, id-ID, ms-MY...}
OsNumberOfLicensedUsers :
OsNumberOfProcesses : 251
OsNumberOfUsers : 2
OsOrganization :
OsArchitecture : 64-bit
OsLanguage : en-US
OsProductSuites : {TerminalServicesSingleSession, HomeEdition}
OsOtherTypeDescription :
OsPAEEnabled :
OsPortableOperatingSystem : False
OsPrimary : True
OsProductType : WorkStation
OsRegisteredUser :
OsSerialNumber :
OsServicePackMajorVersion : 0
OsServicePackMinorVersion : 0
OsStatus : OK
OsSuites : {TerminalServices, TerminalServicesSingleSession,
HomeEdition}
OsServerLevel :
KeyboardLayout : en-US
TimeZone : (UTC+03:00) Moscow, St. Petersburg
LogonServer : \

PowerPlatformRole : Mobile
HyperVisorPresent : True
HyperVRequirementDataExecutionPreventionAvailable :
HyperVRequirementSecondLevelAddressTranslation :
HyperVRequirementVirtualizationFirmwareEnabled :
HyperVRequirementVMMonitorModeExtensions :
DeviceGuardSmartStatus : Off
DeviceGuardRequiredSecurityProperties : {0}
DeviceGuardAvailableSecurityProperties : {BaseVirtualizationSupport, SecureBoot, DMAProtection, 5...}
DeviceGuardSecurityServicesConfigured : {0}
DeviceGuardSecurityServicesRunning : {0}
DeviceGuardCodeIntegrityPolicyEnforcementStatus :
DeviceGuardUserModeCodeIntegrityPolicyEnforcementStatus :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant