-
Notifications
You must be signed in to change notification settings - Fork 426
Description
Describe the bug
This is a problem with the Netlify CLI, not with your application.
If you recently updated the CLI, consider reverting to an older version by running:
npm install -g netlify-cli@VERSION
You can use any version from https://ntl.fyi/cli-versions.
Please report this problem at https://ntl.fyi/cli-error including the error details below.
» Error: Netlify CLI has terminated unexpectedly
This is a problem with the Netlify CLI, not with your application.
If you recently updated the CLI, consider reverting to an older version by running:
npm install -g netlify-cli@VERSION
You can use any version from https://ntl.fyi/cli-versions.
Please report this problem at https://ntl.fyi/cli-error including the error details below.
Error: EPERM: operation not permitted, unlink 'C:\Users\shabn\Documents\Chaiiwala\chaiiwala.netlify\functions-serve\sendAuditPdf\node_modules\bufferutil\prebuilds\win32-x64\bufferutil.node'
System:
OS: Windows 11 10.0.26100
CPU: (8) x64 Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
Binaries:
Node: 22.14.0 - C:\Program Files\nodejs\node.EXE
npm: 11.3.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (140.0.3485.54)
Steps to reproduce
Run 'netlify dev'
Configuration
No response
Environment
0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\shabn\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 silly config load:file:C:\Users\shabn\AppData\Roaming\npm\node_modules\npm\npmrc
4 silly config load:file:C:\Users\shabn\Documents\Chaiiwala\chaiiwala.npmrc
5 silly config load:file:C:\Users\shabn.npmrc
6 silly config load:file:C:\Users\shabn\AppData\Roaming\npm\etc\npmrc
7 verbose title npm exec env info --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli
8 verbose argv "exec" "--" "env" "info" "--system" "--binaries" "--npmPackages" "netlify-cli" "--npmGlobalPackages" "netlify-cli"
9 verbose logfile logs-max:10 dir:C:\Users\shabn\AppData\Local\npm-cache_logs\2025-09-16T11_43_32_799Z-
10 verbose logfile C:\Users\shabn\AppData\Local\npm-cache_logs\2025-09-16T11_43_32_799Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912
14 verbose shrinkwrap failed to load node_modules/.package-lock.json missing from lockfile: node_modules/netlify-cli/node_modules/external-editor
15 http fetch GET 200 https://registry.npmjs.org/env 263ms (cache miss)
16 verbose stack Error: could not determine executable to run
16 verbose stack at getBinFromManifest (C:\Users\shabn\AppData\Roaming\npm\node_modules\npm\node_modules\libnpmexec\lib\get-bin-from-manifest.js:17:23)
16 verbose stack at exec (C:\Users\shabn\AppData\Roaming\npm\node_modules\npm\node_modules\libnpmexec\lib\index.js:205:15)
16 verbose stack at async Npm.exec (C:\Users\shabn\AppData\Roaming\npm\node_modules\npm\lib\npm.js:208:9)
16 verbose stack at async module.exports (C:\Users\shabn\AppData\Roaming\npm\node_modules\npm\lib\cli\entry.js:67:5)
17 verbose pkgid [email protected]
18 error could not determine executable to run
19 verbose cwd C:\Users\shabn\Documents\Chaiiwala\chaiiwala
20 verbose os Windows_NT 10.0.26100
21 verbose node v22.14.0
22 verbose npm v11.3.0
23 verbose exit 1
24 verbose code 1
25 error A complete log of this run can be found in: C:\Users\shabn\AppData\Local\npm-cache_logs\2025-09-16T11_43_32_799Z-debug-0.log