linker command failed with exit code 1 appflow - ionic-framework

i'm trying to generate an Ios Build on AppFlow but i'm getting the follow issue:
▸ Compiling CDVIonicKeyboard.m
▸ Compiling CDVInAppBrowserOptions.m
▸ Compiling CDVInAppBrowserNavigationController.m
▸ Compiling CDVDevice.m
▸ Compiling AppDelegate.m
▸ Compiling AppDelegate+FirebasePlugin.m
▸ Linking Doação do Bem
❌ ld: framework not found Pods_Doac_a_o_do_Bem
❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/ionic/Library/Developer/Xcode/DerivedData/Doação-beqnnqghtsgeefgbqzrcwiwhvhex/Build/Intermediates.noindex/ArchiveIntermediates/Doação do Bem/InstallationBuildProductsLocation/Applications/Doação.app/Doação normal
(1 failure)
[15:00:46]: Exit status: 65
+---------------+-------------------------+
| Build environment |
+---------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.185.0 |
| export_method | development |
| sdk | iPhoneOS14.5.sdk |
+---------------+-------------------------+
[15:00:46]: ▸ /Users/ionic/builds/inovacao/doacao/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'FBSDKShareKit' from project 'Pods')
[15:00:46]: ▸ /Users/ionic/builds/inovacao/doacao/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'FBSDKLoginKit' from project 'Pods')
[15:00:46]: ▸ /Users/ionic/builds/inovacao/doacao/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'FirebaseCoreDiagnostics' from project 'Pods')
[15:00:46]: ▸ /Users/ionic/builds/inovacao/doacao/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'FirebaseMessaging' from project 'Pods')
[15:00:46]: ▸ /Users/ionic/builds/inovacao/doacao/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'FirebaseRemoteConfig' from project 'Pods')
[15:00:46]:
[15:00:46]: ⬆️ Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
[15:00:46]: 📋 For the complete and more detailed error log, check the full log at:
[15:00:46]: 📋 /Users/ionic/Library/Logs/gym/Doação-Doação.log
[15:00:46]:
[15:00:46]: Your `export_method` in gym is defined as `development`
[15:00:46]: which might cause problems when signing your application
[15:00:46]: Are you sure want to build and export for development?
[15:00:46]: Please make sure to define the correct export methods when calling
[15:00:46]: gym in your Fastfile or from the command line
[15:00:46]:
[15:00:46]:
[15:00:46]: Looks like fastlane ran into a build/archive error with your project
[15:00:46]: It's hard to tell what's causing the error, so we wrote some guides on how
[15:00:46]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[15:00:46]: Before submitting an issue on GitHub, please follow the guide above and make
[15:00:46]: sure your project is set up correctly.
[15:00:46]: fastlane uses `xcodebuild` commands to generate your binary, you can see the
[15:00:46]: the full commands printed out in yellow in the above log.
[15:00:46]: Make sure to inspect the output above, as usually you'll find more error information there
[15:00:46]:
[15:00:46]: -------------------------
[15:00:46]: --- Step: upload_logs ---
[15:00:46]: -------------------------
[15:00:58]: Unable to upload package list log. Skipping.
[15:01:07]: ---------------------------
[15:01:07]: --- Step: shell command ---
[15:01:07]: ---------------------------
[15:01:07]: -----------------------------
[15:01:07]: --- Step: delete_keychain ---
[15:01:07]: -----------------------------
[15:01:07]: Error building the application - see the log above
+-------------------------------------+-----------------------------------------------------------------------------------------------------------------+
| Lane Context |
+-------------------------------------+-----------------------------------------------------------------------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios build_ionic |
| NODE_PACKAGE_MANAGER | npm |
| PROJECT_WEB_DIR | www |
| KEYCHAIN_PATH | ~/Library/Keychains/IonicKeychain |
| DOWNLOAD_CERTS_PROVISION_FILE_UUID | 5be2531f-1aa3-4edf-b681-f04bc2e9e92e |
| DOWNLOAD_CERTS_CODESIGNING_IDENTITY | iPhone Developer: Vinicius Gomes (42QSQ9W96V) |
| DOWNLOAD_CERTS_TEAM_ID | 8PZLTG83YY |
| DOWNLOAD_CERTS_CERT_PATH | /Users/ionic/builds/inovacao/doacao/cert_file.p12 |
| SIGH_PROFILE_PATHS | ["/Users/ionic/builds/inovacao/doacao/5be2531f-1aa3-4edf-b681-f04bc2e9e92e.mobileprovision"] |
| XCODE_PROJECT_NAME | Doação |
| XCODE_PROJECT_PATH | /Users/ionic/builds/inovacao/doacao/platforms/ios/Doação.xcodeproj |
| XCODE_WORKSPACE_PATH | /Users/ionic/builds/inovacao/doacao/platforms/ios/Doação do Bem.xcworkspace
|
+-------------------------------------+-----------------------------------------------------------------------------------------------------------------+
[15:01:07]: Error building the application - see the log above
[!] Error building the application - see the log above
+------+----------------------------------+-------------+
| fastlane summary |
+------+----------------------------------+-------------+
| Step | Action | Time (in s) |
+------+----------------------------------+-------------+
| 1 | add_extra_platforms | 0 |
| 2 | default_platform | 0 |
| 3 | build_summary | 5 |
| 4 | detect_native_type | 0 |
| 5 | Switch to ios build_cordova lane | 0 |
| 6 | detect_package_manager | 0 |
| 7 | add_git_credentials | 0 |
| 8 | get_appflow_config | 0 |
| 9 | dependency_install | 48 |
| 10 | get_web_dir | 0 |
| 11 | modify_config_xml | 0 |
| 12 | create_keychain | 0 |
| 13 | download_certs | 1 |
| 14 | import_certificate | 0 |
| 15 | build_pro_app | 32 |
| 16 | add_cordova_to_index | 0 |
| 17 | cordova platform add ios | 242 |
| 18 | get_xcode_project_paths | 0 |
| 19 | update_code_signing_settings | 0 |
| 💥 | gym | 361 |
| 21 | upload_logs | 21 |
| 22 | shell command | 0 |
| 23 | delete_keychain | 0 |
+------+----------------------------------+-------------+
[15:01:07]: fastlane finished with errors
Running after script...
$ clean-up
ERROR: Job failed: Process exited with: 1. Reason was: ()
Infos:
Ionic:
Ionic CLI : 5.4.16 (C:\Users\guilh\AppData\Roaming\nvm\v18.12.1\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.5
#ionic/app-scripts : 3.2.2
Cordova:
Cordova CLI : 11.0.0 (cordova-lib#11.1.0)
Cordova Platforms : android 8.1.0, browser 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 13 other plugins)
Utility:
cordova-res : 0.15.4
native-run : not installed
System:
Android SDK Tools : 26.1.1 (C:\Users\guilh\AppData\Local\Android\Sdk)
NodeJS : v18.12.1 (C:\Users\guilh\AppData\Roaming\nvm\v18.12.1\node.exe)
npm : 9.2.0
OS : Windows 10
plugins:
cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-device 2.1.0 "Device"
cordova-plugin-facebook4 6.4.0 "Facebook Connect"
cordova-plugin-firebasex 7.0.2 "Google Firebase Plugin"
cordova-plugin-geolocation 4.0.2 "Geolocation"
cordova-plugin-inappbrowser 4.1.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview"
cordova-plugin-request-location-accuracy 2.3.0 "Request Location Accuracy"
cordova-plugin-sign-in-with-apple 0.1.2 "cordova-plugin-sign-in-with-apple"
cordova-plugin-splashscreen 5.0.4 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.5 "Whitelist"
cordova-plugin-x-socialsharing 5.6.8 "SocialSharing"
cordova-sqlite-storage 5.1.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
es6-promise-plugin 4.2.2 "Promise"
i've tried to change versions of plugins and a lot of thing, but nothing resolved this. Also i tried to remove some os plugins buth none of all worked

Related

android studio emulator hangs on startup on m1

I'm trying to run Android Studio emulator version 31.3.13.0 on MacOS 12.5.1 with M1. The emulator hangs with no error message after the following lines:
~/Library/Android/sdk/emulator$ ./emulator -avd Pixel_5_API_33 -verbose -show-kernel
INFO | Android emulator version 31.3.13.0 (build_id 9189900) (CL:N/A)
INFO | Found AVD name 'Pixel_5_API_33'
INFO | Found AVD target architecture: arm64
INFO | argv[0]: './emulator'; program directory: '/Users/x/Library/Android/sdk/emulator'
VERBOSE | Found directory: /Users/x/Library/Android/sdk/system-images/android-33/google_apis/arm64-v8a/
emulator: INFO: Found systemPath /Users/x/Library/Android/sdk/system-images/android-33/google_apis/arm64-v8a/
INFO | emuDirName: '/Users/x/Library/Android/sdk/emulator'
INFO | try dir /Users/x/Library/Android/sdk/emulator
INFO | Trying emulator path '/Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64'
INFO | Found target-specific 64-bit emulator binary: /Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64
INFO | Adding library search path: '/Users/x/Library/Android/sdk/emulator/lib64'
INFO | Adding library search path: '/Users/x/Library/Android/sdk/emulator/lib64/gles_angle'
INFO | Adding library search path: '/Users/x/Library/Android/sdk/emulator/lib64/gles_angle9'
INFO | Adding library search path: '/Users/x/Library/Android/sdk/emulator/lib64/gles_angle11'
VERBOSE | Adding library search path for Qt: '/Users/x/Library/Android/sdk/emulator/lib64/qt/lib'
VERBOSE | Silencing all qWarning(); use qCWarning(...) instead: QT_LOGGING_RULES=default.warning=false
VERBOSE | Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=/Users/x/Library/Android/sdk/emulator/lib64/qt/plugins
VERBOSE | Setting Qt to use software OpenGL: QT_OPENGL=software
VERBOSE | Setting QML to use software QtQuick2D: QMLSCENE_DEVICE=softwarecontext
VERBOSE | Overriding pre-existing bad Qt high dpi settings...
VERBOSE | emulator: Running :/Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64
VERBOSE | qemu backend: argv[00] = "/Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64"
VERBOSE | qemu backend: argv[01] = "-avd"
VERBOSE | qemu backend: argv[02] = "Pixel_5_API_33"
VERBOSE | qemu backend: argv[03] = "-verbose"
VERBOSE | qemu backend: argv[04] = "-show-kernel"
VERBOSE | Concatenated backend parameters: /Users/x/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64 -avd Pixel_5_API_33 -verbose -show-kernel
Any help would be appreciated.

Fastlane : [altool] Error: Unable to upload archive. Failed to get authorization for username and password

I try to upload my flutter ipa to the AppStore with fastlane using pilot with the following command:
bundle exec fastlane pilot upload --ipa ../build/ios/ipa/project.ipa
When I run this command I face the following error
I have a .p8 in the private_keys folder
It seems that pilot can log me with my apple ID but just after it throws me that it failed to get authorization.
After it failed, when I go to TestFlight I can see my new version available but with the old version name (e.g. 1.0.0 instead of 1.0.1)
[monsieur_x | ~/project/ios ]$ bundle exec fastlane pilot upload --ipa ../build/ios/ipa/project.ipa
[✔] 🚀
[17:54:31]: Login to App Store Connect (apple_id#gmail.com)
[17:54:33]: Login successful
[17:54:35]: Ready to upload new build to TestFlight (App: 1544671867)...
[17:54:39]: Going to upload updated app to App Store Connect
[17:54:39]: This might take a few minutes. Please don't interrupt the script.
[17:54:41]: [altool] 2022-10-26 17:54:41.294 *** Error: Unable to upload archive. Failed to get authorization for username 'apple_id#gmail.com' and password. (
[17:54:41]: [altool] "Error Domain=NSCocoaErrorDomain Code=0 \"Status code: 0\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}"
[17:54:41]: [altool] ) (-1011)
[17:54:41]: [altool] {
[17:54:41]: [altool] NSLocalizedDescription = "Unable to upload archive.";
[17:54:41]: [altool] NSLocalizedFailureReason = "Failed to get authorization for username 'apple_id#gmail.com' and password. (\n \"Error Domain=NSCocoaErrorDomain Code=0 \\\"Status code: 0\\\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}\"\n)";
[17:54:41]: [altool] }
[17:54:41]: Application Loader output above ^
[17:54:41]: Error uploading '/var/folders/gr/z1j06nhs2sd38gwv4_l51rj40000gn/T/7d36fd34-357d-4c08-aa9d-7db6ed3a8b82.ipa'.
[17:54:41]: Unable to upload archive. Failed to get authorization for username 'apple_id#gmail.com' and password. (
[17:54:41]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
[17:54:41]: Could not download/upload from App Store Connect!
[!] Error uploading ipa file:
[Application Loader Error Output]: Error uploading '/var/folders/gr/z1j06nhs2sd38gwv4_l51rj40000gn/T/7d36fd34-357d-4c08-aa9d-7db6ed3a8b82.ipa'.
[Application Loader Error Output]: Unable to upload archive. Failed to get authorization for username 'apple_id#gmail.com' and password. (
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
Here is my fastlane env if you need:
<details><summary>🚫 fastlane environment 🚫</summary>
### Stack
| Key | Value |
| --------------------------- | -------------------------------------------------------------- |
| OS | 12.6 |
| Ruby | 2.6.8 |
| Bundler? | false |
| Git | git version 2.38.0 |
| Installation Source | /usr/local/bin/fastlane |
| Host | macOS 12.6 (21G115) |
| Ruby Lib Dir | /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib |
| OpenSSL Version | LibreSSL 2.8.3 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 14.0.1 |
| Swift Version | 5.7 |
### System Locale
| Error |
| --------------------------- |
| No Locale with UTF8 found 🚫 |
### fastlane files:
<details><summary>`./fastlane/Fastfile`</summary>
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
increment_build_number(xcodeproj: "Runner.xcodeproj")
build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
upload_to_testflight
end
end
`./fastlane/Appfile`
app_identifier("com.balanz") # The bundle identifier of your app
apple_id("contact#balanz.fr") # Your Apple Developer Portal username
itc_team_id("122453945") # App Store Connect Team ID
team_id("T3P8853DAC") # Developer Portal Team ID
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile
fastlane gems
Gem
Version
Update-Status
fastlane
2.210.1
✅ Up-To-Date
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem
Version
did_you_mean
1.3.0
atomos
0.1.3
colored2
3.1.2
nanaimo
0.3.0
rexml
3.2.5
xcodeproj
1.21.0
rouge
2.0.7
xcpretty
0.3.0
terminal-notifier
2.0.0
unicode-display_width
1.8.0
terminal-table
1.8.0
plist
3.6.0
public_suffix
4.0.6
addressable
2.8.0
multipart-post
2.0.0
word_wrap
1.0.0
optparse
0.1.1
tty-screen
0.8.1
tty-cursor
0.7.1
tty-spinner
0.9.3
artifactory
3.0.15
babosa
1.0.4
colored
1.2
highline
2.0.3
commander
4.6.0
excon
0.92.2
faraday-em_http
1.0.0
faraday-em_synchrony
1.0.0
faraday-excon
1.1.0
faraday-httpclient
1.0.1
faraday-multipart
1.0.3
faraday-net_http
1.0.1
faraday-net_http_persistent
1.2.0
faraday-patron
1.0.0
faraday-rack
1.0.0
faraday-retry
1.0.3
ruby2_keywords
0.0.5
faraday
1.10.0
unf_ext
0.0.8.1
unf
0.1.4
domain_name
0.5.20190701
http-cookie
1.0.4
faraday-cookie_jar
0.0.7
faraday_middleware
1.2.0
fastimage
2.2.6
gh_inspector
1.1.3
mini_magick
4.11.0
naturally
2.2.1
rubyzip
2.3.2
security
0.1.3
xcpretty-travis-formatter
1.0.1
dotenv
2.7.6
bundler
2.3.10
simctl
1.6.8
jwt
2.3.0
uber
0.1.0
declarative
0.0.20
trailblazer-option
0.1.2
representable
3.1.1
retriable
3.1.2
mini_mime
1.1.2
memoist
0.16.2
multi_json
1.15.0
os
1.1.4
signet
0.16.1
googleauth
1.1.2
httpclient
2.8.3
google-apis-core
0.4.2
google-apis-playcustomapp_v1
0.7.0
google-apis-androidpublisher_v3
0.17.0
google-cloud-env
1.6.0
google-cloud-errors
1.2.0
google-cloud-core
1.6.0
google-apis-iamcredentials_v1
0.10.0
google-apis-storage_v1
0.11.0
digest-crc
0.6.4
google-cloud-storage
1.36.1
emoji_regex
3.2.3
jmespath
1.6.1
aws-partitions
1.572.0
aws-eventstream
1.2.0
aws-sigv4
1.4.0
aws-sdk-core
3.130.0
aws-sdk-kms
1.55.0
aws-sdk-s3
1.113.0
CFPropertyList
3.0.5
claide
1.1.0
json
2.6.1
webrick
1.7.0
rake
13.0.6
forwardable
1.2.0
logger
1.3.0
date
2.0.0
stringio
0.0.2
ipaddr
1.2.2
openssl
2.1.2
zlib
1.0.0
mutex_m
0.1.0
ostruct
0.1.0
strscan
1.0.0
io-console
0.4.7
fileutils
1.1.0
etc
1.0.1
libxml-ruby
3.2.1
psych
3.1.0
generated on: 2022-10-27
Does someone have an idea ?
Thank you !
Hello I was struggling with this issue for many days.
Solution
Step 1
Go to https://appleid.apple.com/account/manage login in and go to App-Specific Passwords, after generate a new App Specific Password copy it.
Step2
Inside fastlane folder create a new file .env.default and add the two properties .
FASTLANE_USER=<Apple USER ID>
FASTLANE_PASSWORD=<Apple Password>
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=<App-Specific Password>
Use an app-specific password to sign in to an app or service not provided by Apple ass a fastlane.
------------------------------Other options--------------------------------
You have different options not only using .env file.
1- In your Fastfile
FASTLANE_USER=<Apple USER ID>
FASTLANE_PASSWORD=<Apple Password>
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=<App-Specific Password>
lane :beta do
crashlytics
end
2- Bash Profile
nano ~/.bash_profile
insert your properties
FASTLANE_USER=<Apple USER ID>
FASTLANE_PASSWORD=<Apple Password>
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=<App-SpecificPassword>
CTRL + X - save changes.
reopen your terminal
Please in check the link for more details about.
https://docs.fastlane.tools/best-practices/keys/

How to install camel-http feature on Karaf

I am using Fuse 7.7 on Apache Karaf.
I am getting this error
2020-09-28 18:08:57,689 | ERROR | lueprint Extender: 2 | o.a.a.b.c.BlueprintContainerImpl | 51 - org.apache.aries.blueprint.core - 1.10.2 |
Unable to start container for blueprint bundle com.esb.iis-to-rm-vr/1.0.0 due to unresolved dependencies [(&(component=http)(objectClass=org.apache.camel.spi.ComponentResolver))]
java.util.concurrent.TimeoutException: null
I did the below steps. camel-http is not installed.
karaf#root()> features:install camel-http
karaf#root()> features:list | grep camel-http
camel-http4
karaf#root()> list | grep camel-http
67 | Active | 50 | 2.21.0.fuse-770013-redhat-00001 | camel-http-common
255 | Active | 50 | 2.21.0.fuse-770013-redhat-00001 | camel-http4
Please let me know apart from the below step, what are the steps i need to follow to install camel-http.
karaf#root()> features:install camel-http
Be careful that camel-http is only meant to be a producer. You won't be able to do from("http://...") only with him. To be able to do it, you need to add a camel component that will allow your route to bind itself to the karaf's jetty. You can try to install camel-jetty.
Moreover, you're feature:list | grep camel-http seemed to have only returned camel-http4. I'm note sure camel-http feature has been dropped, but you could always install http4 component

Cannot run VSCode source code because its unable to find electron app in directory

Overview:
When I attempt to run VSCode with the instructions given in the contributions page to download all the packages, build the source code, and then run it all on the terminal, an error message pops up saying that I don't have the electron app in the vscode directory. Shouldn't have the electron app been installed when I ran the yarn command to install and build all the dependencies?
Steps to reproduce the bug:
$ yarn //building and installing all dependencies
$ yarn watchd //building vscode
$ ./scripts/code.sh //running vscode
Error Message:
Error launching app
Unable to find Electron app at /home/juan/Desktop/Projects/vscode
Cannot find module '/home/juan/Desktop/Projects/vscode/out/main'. Please verify that the package.json has a valid "main" entry
System Details:
CPUs | Intel(R) Core(TM) i7-6600U CPU # 2.60GHz (4 x 3200)
-- | --
GPU Status | 2d_canvas: unavailable_softwareflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: disabled_softwareviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: unavailable_softwarewebgl2: unavailable_software
Load (avg) | 1, 1, 1
Memory (System) | 7.63GB (0.12GB free)
Process Argv | . --no-sandbox
Screen Reader | no
VM | 0%
OS|Ubuntu 18.04 LTS
Extensions:
Extension | Author (truncated) | Version
-- | -- | --
Bookmarks | ale | 11.2.0
vscode-sqlite | ale | 0.8.2
code-gnu-global | aus | 0.2.2
npm-intellisense | chr | 1.3.0
vscode-svgviewer | css | 2.0.0
vscode-markdownlint | Dav | 0.36.0
jshint | dba | 0.10.21
vscode-eslint | dba | 2.1.5
vscode-html-css | ecm | 0.2.3
EditorConfig | Edi | 0.15.1
vscode-npm-script | eg2 | 0.3.12
vscode-firefox-debug | fir | 2.8.0
beautify | Hoo | 1.5.0
vscode-emacs-friendly | lfs | 0.9.0
rainbow-csv | mec | 1.7.0
python | ms- | 2020.5.80290
cpptools | ms- | 0.28.2
debugger-for-chrome | msj | 4.12.8
sqltools | mtx | 0.22.5
material-icon-theme | PKi | 4.1.0
rust | rus | 0.7.8
lc2k | vio | 1.1.1
Here is the bug report I filled in the vscode github page: https://github.com/microsoft/vscode/issues/99537
I got this same error myself when the code did not build correctly.
In your second step you do:
yarn watchd
I tried this command myself, but ran into the same issue that you have stated here. Although the official wiki suggests this as a tip, I would just ignore it.
Instead, do either of these instead (this is what the official wiki originally suggest to do):
Type: Ctrl + Shift + B
Or alternatively use the Command Palette:
Type: Ctrl + Shift + P
Search for the option called: Tasks: Run Build Task and select it.
Once you start the build task you'll see a couple of things:
Firstly, at the bottom of VS Code (on your status line), VS Code will let you know the code is building.
Secondly, The build command will open two terminals:
Task - Build VS Code
Task - Build VS Code Extensions
Watch the output for both of terminals, make sure:
Task - Build VS Code terminal outputs: [some time] Finished compilation ...
and
Task - Build VS Code Extensions terminal outputs: [some time] Finished compilation extensions ...
If not and the build fails, you'll probably get a notification from VS code saying so (You'll probably get the error twice, one for each task):
yarn ... exited with code [some non-zero integer]
A common error that may occur is the ENOSPC error from inotify (also documented well in a medium blog). You'll want to issue this command:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Arch users would issue:
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
After fixing this, trying to build again should work. Start the build task again and make sure both tasks succeed. (You'll notice that the tasks do not end after they succeed. This is because they will watch for changes you make in the code while developing and automatically recompile for you).
If successful you may finally issue:
./scripts/code.sh
A new instance of VS Code should open called: Code - OSS dev. This is the version of VS Code you just built.

failed to start error while executing apache archiva

I have installed apache archiva stand alone in my system.But when i try to start it,itshows the error apache archiva failed to start.My codes are given below
D:\apache-archiva-1.3.5>java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
D:\apache-archiva-1.3.5>PATH=c:\Windows\system32;C:\Program Files (x86)\Java\jdk
1.6.0_10\bin
D:\apache-archiva-1.3.5>PATH=c:\Windows\system32;C:\Program Files (x86)\Java\jdk
1.6.0_10\bin;D:\apache-archiva-1.3.5\bin
D:\apache-archiva-1.3.5>archiva.bat install
wrapper | Apache Archiva installed.
D:\apache-archiva-1.3.5>archiva.bat start
wrapper | Starting the Apache Archiva service...
wrapper | The Apache Archiva service was launched, but failed to start.
Press any key to continue . . .
Instead of using
C:\apache-archiva-2.2.1\bin>archiva start
if you use console it will work.
C:\apache-archiva-2.2.1\bin>archiva console
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2016-06-05 01:11:49.022:WARN:oejd.ContextDeployer:ContextDeployer is deprecated. Use ContextProvider
jvm 1 | 2016-06-05 01:11:49.022:WARN:oejd.WebAppDeployer:WebAppDeployer is deprecated. Use WebAppProvider
jvm 1 | 2016-06-05 01:11:49.147:INFO:oejs.Server:jetty-8.1.14.v20131031
jvm 1 | 2016-06-05 01:11:49.178:INFO:oejs.NCSARequestLog:Opened C:\apache-archiva-2.2.1\logs\request-20160604.log
jvm 1 | 2016-06-05 01:11:49.225:INFO:oejd.ContextDeployer:Deploy C:\apache-archiva-2.2.1\contexts\archiva.xml -> o.e.j.w.WebAppContext{/,null},C:\apache-archiva-2.2.1/apps/archiva
jvm 1 | 2016-06-05 01:11:53.149:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
jvm 1 | 2016-06-05 01:11:53.453:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
jvm 1 | 2016-06-05 01:11:54.755:INFO:/:Initializing Spring root WebApplicationContext
jvm 1 | Jun 05, 2016 1:12:09 AM org.apache.tomcat.jdbc.pool.ConnectionPool init
jvm 1 | WARNING: maxIdle is larger than maxActive, setting maxIdle to: 20
jvm 1 | 2016-06-05 01:12:25.275:INFO:oejs.AbstractConnector:Started SelectChannelConnector#0.0.0.0:8080