Error: Module not found error on prod build, Angular 12 - deployment

Error: Module not found: Error: Can't resolve '#sentry/browser'
Error: Module not found: Error: Can't resolve '#sentry/tracing'
similar error for all other packages too.
while running npm intall && ng build --prod

Related

Not able to compile swift on Ubuntu 18.04

I installed swift toolchain using instructions from swift.org. While compiling helloworld code I am getting below error.
warning: 'helloworld': failed loading cached manifest for 'helloworld': disk I/O error
error: 'helloworld': Invalid manifest
<unknown>:0: error: unable to open output file '/usr2/xyz/.cache/clang/ModuleCache/IJ5GUC7XMAO5/SwiftShims-1TLN9ZL6HKTHR.pcm': 'No such file or directory'
<unknown>:0: error: could not build C module 'SwiftShims'
I tried removing '/usr2/xyz/.cache/clang/ModuleCache', but did not work. Please help in resolving this issue.

Protractor .npm-global Error: more than one config file specified

Tried everything suggested online. But still getting the error.
protractor --version
Version 5.4.2
npm -version
6.1.0
protractor Testfiles/Conf.js —-suite cti
Error: Error: more than one config file specified
at /Users/m/.npm-global/lib/node_modules/protractor/built/cli.js:166:15
at /Users/m/.npm-global/lib/node_modules/protractor/node_modules/optimist/index.js:307:21
at Array.forEach (<anonymous>)
at parseArgs (/Users/m/.npm-global/lib/node_modules/protractor/node_modules/optimist/index.js:305:16)

Yocto 2.4.2 failed to do_package_qa task

I am working with Yocto project version Rocko 2.4.2, Linux LTS4.4, cortexA15 ARM arch
When I bitbake weston package (v2.0), the error generated
ERROR: weston-2.0.0-r0 do_package_qa: QA Issue: /usr/lib/libweston-2/gl-renderer.so contained in package libweston-2 requires libGLESv2.so, but no providers found in RDEPENDS_libweston-2? [file-rdeps]
ERROR: weston-2.0.0-r0 do_package_qa: QA Issue: /usr/bin/weston-simple-egl contained in package weston-examples requires libGLESv2.so, but no providers found in RDEPENDS_weston-examples? [file-rdeps]
ERROR: weston-2.0.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: weston-2.0.0-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/server-build/RZG_YoctoProject/build/tmp/work/cortexa15hf-neon-poky-linux-gnueabi/weston/2.0.0-r0/temp/log.do_package_qa.8133
ERROR: Task (/home/server-build/RZG_YoctoProject/build/../poky/meta/recipes-graphics/wayland/weston_2.0.0.bb:do_package_qa) failed with exit code '1'
I tried to set "RDEPENDS_weston-examples = "libGLESv2" but it's still failed.
ERROR: Nothing RPROVIDES 'libGLESv2' (but /home/server-build/RZG_YoctoProject/build/../poky/meta/recipes-graphics/wayland/weston_2.0.0.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libGLESv2' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libGLESv2']
ERROR: Required build target 'weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['weston', 'libGLESv2']
This error happened due to new structure and syntax of Yocto 2.4.2.
Anyone who is running into the same issue ?
Thanks for any help.

Cordova Facebook plugin build fail and in browser not working

following the next link http://ngcordova.com/docs/plugins/facebook/ I type the next line
cordova plugin add https://github.com/Wizcorp/phonegap-facebook-plugin.git --variable APP_ID="123456789" --variable APP_NAME="myApplication"
with a the plugin locally. After doing that, the ionic build faild
2 warnings and 1 error generated.
** BUILD FAILED **
The following build commands failed: CompileC build/AppName.build/Debug-iphonesimulator/AppName.build/Objects-normal/i386/FacebookConnectPlugin.o AppName/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Error: Error code 65 for command: xcodebuild with args:
-xcconfig,/Users/braianmellor/Desktop/AppName/platforms/ios/cordova/build-debug.xcconfig,-project,AppName.xcodeproj,ARCHS=i386,-target,AppName,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/braianmellor/Desktop/AppName/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/braianmellor/Desktop/AppName/platforms/ios/build/sharedpch`
So I decided to go with
cordova plugin add cordova-plugin-facebook4 --save --variable
APP_ID="123456789" --variable APP_NAME="myApplication"
And it work's perfectly, but when I add inside the .config of the file app.js this lines
var appID = 123456789;
var version = "v2.6";
$cordovaFacebookProvider.browserInit(appID, version);
I get this error:
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
ReferenceError: facebookConnectPlugin is not defined
When to index.html and add
And now I'm getting
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
TypeError: Cannot read property 'browserInit' of undefined
Need some help here please. The official plugin for ngController can't build and the secondary one can't use it on website :(

Building Cyanogenmod from source - recipe for target failed (libnativehelper.so)

I'm getting the following error about an hour into my build of Cyanogenmod 12.1 for hlte, using the latest repo checkout. I am using Debian testing, have all dependencies installed as listed in Google's build guide and am using OpenJDK 7. I also have all proprietary files under vendor/samsung. What am I missing or what direction should I look in to solve this problem?
...
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target '/home/james/android/cm/out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [/home/james/android/cm/out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1