smartnav / fcm-notification

Push notificaton for ios and android
24 stars 13 forks source link

problem in npm install fcm-notification --save #17

Open RiadHr opened 1 year ago

RiadHr commented 1 year ago

when i excute npm install fcm-notification --save
Downloaded vs_BuildTools.exe. Saved to C:\Users\harme.windows-build-tools\vs_BuildTools.exe. npm ERR! npm ERR! Starting installation... npm ERR! Downloading installers failed. Error: TypeError: 'process.env' only accepts a configurable, writable, and enumerable data descriptor npm ERR! at Function.defineProperty () npm ERR! at Object.removePath (C:\Users\harme\AppData\Roaming\npm\node_modules\windows-build-tools\dist\utils\remove-path.js:11:12) npm ERR! at Object.install (C:\Users\harme\AppData\Roaming\npm\node_modules\windows-build-tools\dist\install\index.js:29:19) npm ERR! at C:\Users\harme\AppData\Roaming\npm\node_modules\windows-build-tools\dist\start.js:17:19 npm ERR! at Object.download (C:\Users\harme\AppData\Roaming\npm\node_modules\windows-build-tools\dist\download.js:35:5) npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5) npm ERR! at async Object.aquireInstallers (C:\Users\harme\AppData\Roaming\npm\node_modules\windows-build-tools\dist\aquire-installers.js:32:13) { npm ERR! code: 'ERR_INVALID_OBJECT_DEFINE_PROPERTY' npm ERR! } npm ERR! windows-build-tools will now exit.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\harme\AppData\Local\npm-cache_logs\2023-06-19T21_38_30_081Z-debug-0.log