I just tried my first build using capacitor and it fails bceauce the build process can’t fetch capacitor 2.4 from NPM.
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@capacitor/core/-/core-2.4.0.tgz
Do I have to fix this on my side (downgrading?)
[09:04:23]: ---------------------------
[09:04:23]: --- Step: build_pro_app ---
[09:04:23]: ---------------------------
[09:04:23]: Installing Dependencies
[09:04:23]: $ npm install --quiet --no-optional
[09:05:00]: ▸ npm ERR! code E404
[09:05:00]: ▸ npm ERR! 404 Not Found - GET https://registry.npmjs.org/@capacitor/core/-/core-2.4.0.tgz
[09:05:00]: ▸ npm ERR! 404
[09:05:00]: ▸ npm ERR! 404 '@capacitor/core@2.4.0' is not in the npm registry.
[09:05:00]: ▸ npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
[09:05:00]: ▸ npm ERR! 404 It was specified as a dependency of 'aqui-cliente'
[09:05:00]: ▸ npm ERR! 404
[09:05:00]: ▸ npm ERR! 404 Note that you can also install from a
[09:05:00]: ▸ npm ERR! 404 tarball, folder, http url, or git url.
[09:05:07]: ▸ npm ERR! A complete log of this run can be found in:
[09:05:07]: ▸ npm ERR! /root/.npm/_logs/2020-08-06T09_05_01_030Z-debug.log
+------------------+----------------------+
| Lane Context |
+------------------+----------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | android |
| LANE_NAME | android deploy_build |
| PROJECT_WEB_DIR | www |
+------------------+----------------------+
[09:05:07]: Exit status of command 'npm install --quiet --no-optional' was 1 instead of 0.
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@capacitor/core/-/core-2.4.0.tgz
npm ERR! 404
npm ERR! 404 '@capacitor/core@2.4.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'aqui-cliente'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-08-06T09_05_01_030Z-debug.log
+------+---------------------+-------------+
| fastlane summary |
+------+---------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------+-------------+
| 1 | default_platform | 0 |
| 2 | build_summary | 0 |
| 3 | add_git_credentials | 0 |
| 4 | detect_native_type | 0 |
| 5 | get_web_dir | 0 |
| 💥 | build_pro_app | 43 |
+------+---------------------+-------------+
[09:05:07]: fastlane finished with errors
/usr/local/bundle/bin/fastlane: [!] Exit status of command 'npm install --quiet --no-optional' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@capacitor/core/-/core-2.4.0.tgz
npm ERR! 404
npm ERR! 404 '@capacitor/core@2.4.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'aqui-cliente'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-08-06T09_05_01_030Z-debug.log
/usr/local/bundle/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': Exit status of command 'npm install --quiet --no-optional' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@capacitor/core/-/core-2.4.0.tgz
npm ERR! 404
npm ERR! 404 '@capacitor/core@2.4.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'aqui-cliente'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-08-06T09_05_01_030Z-debug.log
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/helper/sh_helper.rb:80:in `sh_control_output'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/helper/sh_helper.rb:12:in `sh'
from /builds/HeikoKanzler/aqui-cliente/fastlane/actions/build_pro_app.rb:9:in `run'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/runner.rb:261:in `block (2 levels) in execute_action'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/runner.rb:253:in `block in execute_action'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/runner.rb:227:in `chdir'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
from Fastfile:113:in `block (2 levels) in parsing_binding'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/lane.rb:33:in `call'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
from /usr/local/bundle/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
from /usr/local/bundle/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
from /usr/local/bundle/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
from /usr/local/bundle/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/commands_generator.rb:352:in `run'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
from /usr/local/bundle/gems/fastlane-2.148.1/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
from /usr/local/bundle/gems/fastlane-2.148.1/bin/fastlane:23:in `<top (required)>'
from /usr/local/bundle/bin/fastlane:23:in `load'
from /usr/local/bundle/bin/fastlane:23:in `<main>'
Running after script...
$ run "clean-up"
ERROR: Job failed: command terminated with exit code 1