Build failed: Cannot find module react-native/local-cli/cli.js - reactjs

Task :app:bundleReleaseJsAndAssets FAILED
internal/modules/cjs/loader.js:905
throw err;
^
Cannot find module android/node_modules/react-native/local-cli/cli.js'
1)I am not using react-native-community/cli
How can i fix this?

Related

"package or namespace load failed" error in loading R package "litteR"

i am getting the following error whenever i try to load the package "litteR". I have updated all my packages and dont have this problem with any other ones
library(litteR)
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: package or namespace load failed for ‘litteR’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so, 0x000A): Library not loaded: /opt/X11/lib/libX11.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so
Reason: tried: '/opt/X11/lib/libX11.6.dylib' (no such file), '/usr/lib/libX11.6.dylib' (no such file)
In addition: Warning message:
In system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :
running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1
im not sure why this is happening, i have a macbook pro, not sure if this makes a difference
You need to install the commando line tools. Open the Terminal.app and run the following line xcode-select --install

My Build Failed Due To /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib does not exist

I am trying to run ant build-all, but when I do this it says it cannot find
/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib does not exist.
I started by executing the build:
cd /home/localhost/trunk
ant build-all
then this was the final result / error:
The following error occurred while executing this line:
/var/www/html/trunk/kavalok-build/build-all.xml:331: /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib does not exist.
How do I enable/install java-6-sun-1.6.0.24?
FULL ERROR:
BUILD FAILED
/var/www/html/trunk/build.xml:82: The following error occurred while executing this line:
/var/www/html/trunk/build-base.xml:81: The following error occurred while executing this line:
/var/www/html/trunk/kavalok-build/build-all.xml:93: The following error occurred while executing this line:
/var/www/html/trunk/kavalok-build/build-all.xml:331: /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib does not exist.

when generating build of AngularJS project getting Uglifying source .tmp/concat/scripts/scripts.js failed

Creating build of angularjs project inside folder dist /script I am not getting one script.js file.
I have tried grunt build --prod --force command for creating the build
Running "uglify:generated" (uglify) task
JS_Parse_Error {enter code here
message: 'Unexpected token: punc ())',
filename: '../../.tmp/concat/scripts/scripts.js',
line: 5122,
col: 59,
pos: 161138,
stack:
'Error\n at new JS_Parse_Error (D:\\...node_modules\\uglify-node_modules\\uglify-js\\lib\\parse.js:1427:20)' }
>> Uglifying source .tmp/concat/scripts/scripts.js failed.
Warning: Uglification failed.
Unexpected token: punc ()).
Line 5122 in .tmp/concat/scripts/scripts.jsenter code here
Used --force, continuing.
Warning: Cannot read property min of undefined Used --enter code hereforce, continuing.

FosUserBundle + Symfony 3.4

Since 7 days I tried to repair HwiOauthFukingBundle with facebook + FosUserOtherFukingBundle + Symfony 3.4.
And now, I have this incomprehensible errors in prod but not in dev.
[2018-03-17 14:45:27] php.WARNING: Warning:
require(/var/www/vhosts/domaine.fr/var/cache/prod/doctrine/orm/Proxies/__CG__ECUserBundleEntityImage.php):
failed to open stream: No such file or directory
{"exception":"[object] (ErrorException(code: 0): Warning:
require(/var/www/vhosts/domaine.fr/var/cache/prod/doctrine/orm/Proxies/__CG__ECUserBundleEntityImage.php):
failed to open stream: No such file or directory at
/var/www/vhosts/domaine.fr/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:223)"}
[]
And this one
[2018-03-17 14:45:27] request.CRITICAL: Uncaught PHP Exception
Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error:
require(): Failed opening required
'/var/www/vhosts/domaine.fr/var/cache/prod/doctrine/orm/Proxies/__CG__ECUserBundleEntityImage.php'
(include_path='.:/opt/plesk/php/7.1/share/pear')" at
/var/www/vhosts/domaine.fr/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
line 223 {"exception":"[object]
(Symfony\Component\Debug\Exception\FatalErrorException(code: 0):
Compile Error: require(): Failed opening required
'/var/www/vhosts/domaine.fr/var/cache/prod/doctrine/orm/Proxies/__CG__ECUserBundleEntityImage.php'
(include_path='.:/opt/plesk/php/7.1/share/pear') at
/var/www/vhosts/domaine.fr/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:223)"}
[]
What's going on ?
I have clean the cache folder etc. but this error seems to be falling from the sky... this is a nightmare...

FAILURE: Execution failed for task ':card.io:buildNative'

I downloaded cardio source and config follow First build guide. But when i run './gradlew build', i got message like:
FAILURE: Build failed with an exception.
Where:
Build file '/media/hungnguyendata/eProtea/Projects/temp/card.io-Android-source/card.io/build.gradle' line: 163
What went wrong:
A problem occurred configuring project ':SampleApp'.
A problem occurred configuring project ':card.io'.
No such property: sonatypeUsername for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
After that, i create gradle.properties file for define property sonatypeUsername. Like this: "sonatypeUsername=sonatypeUsername
sonatypePassword=sonatypePassword". I got this message:
:card.io:buildNative
make: Entering directory /Projects/temp/card.io-Android-source/card.io/src/main/jni'
make: *** No rule to make target/Projects/temp/card.io-Android-source/card.io/src/main/jni/card.io-dmz/processor_support.cpp', needed by /Projects/temp/card.io-Android-source/card.io/src/main/obj/local/arm64-v8a/objs/cardioDecider/card.io-dmz/processor_support.o'. Stop.
make: *** Waiting for unfinished jobs....
make: Leaving directory/Projects/temp/card.io-Android-source/card.io/src/main/jni'
:card.io:buildNative FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':card.io:buildNative'.
Process 'command '/home/hungnguyen/applications/android-ndk-r10d/ndk-build'' finished with non-zero exit value 2
what should i do to build project. Thanks so much!

Resources