Unable to build iOS version

What platform are you building for?

iOS

What framework are you building with?

Cordova

What is your build ID?

01e93452-4baa-417a-9cd6-f9515523ce31

What is your error message?

On today builds we get a npm EALLOWSCRIPTS error on building iOS versions.

Please describe the issue:

We get the following error when the iOS version is beeing compiled on the agent.
Something has been changed or does we have any workaround?

Regards,
Isidre

Discovered plugin “cordova-plugin-geolocation”. Adding it to the project
Failed to restore plugin “cordova-plugin-geolocation”. You might need to try adding it again. Error: CordovaError: Failed to fetch plugin cordova-plugin-geolocation@5.0.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: Command failed with exit code 1: npm install cordova-plugin-geolocation@5.0.0 --save-dev
npm warn gitignore-fallback No .npmignore file found, using .gitignore for file exclusion. Consider creating a .npmignore file to explicitly control published files.
npm error code 1
npm error git dep preparation failed
npm error command /usr/local/Cellar/node@24/24.19.0/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/vagrant/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run --global=false
npm error npm warn using --force Recommended protections disabled.
npm error npm warn Unknown project config “auto-install-peers”. This will stop working in the next major version of npm. See npm help npmrc for supported config options.
npm error npm warn Unknown project config “strict-peer-dependencies”. This will stop working in the next major version of npm. See npm help npmrc for supported config options.
npm error npm warn Unknown project config “manage-package-manager-versions”. This will stop working in the next major version of npm. See npm help npmrc for supported config options.
npm error npm error code EALLOWSCRIPTS
npm error npm error --allow-scripts is not allowed in project-scoped installs. Add the entries to the “allowScripts” field in package.json, or to .npmrc, instead.
npm error npm error A complete log of this run can be found in: /Users/vagrant/.npm/_logs/2026-11-18T12_41_45_860Z-debug-0.log
npm error A complete log of this run can be found in: /Users/vagrant/.npm/_logs/2026-11-18T12_41_38_686Z-debug-0.log
Discovered plugin “cordova-plugin-ios-longpress-fix”. Adding it to the project
Failed to restore plugin “cordova-plugin-ios-longpress-fix”. You might need to try adding it again. Error: CordovaError: Failed to fetch plugin cordova-plugin-ios-longpress-fix@1.1.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: Command failed with exit code 1: npm install cordova-plugin-ios-longpress-fix@1.1.0 --save-dev
npm warn gitignore-fallback No .npmignore file found, using .gitignore for file exclusion. Consider creating a .npmignore file to explicitly control published files.
npm error code 1

Now is working again…

This appears to have been an npm outage from what I can see. Did you change anything to get it working?