i have an error when build sencha touch app to android.
[ERR] The following error occurred while executing this line:
/opt/lampp/htdocs/simponi/.sencha/app/build-impl.xml:435: The
following error occurred while executing this line:
/opt/lampp/htdocs/simponi/.sencha/app/packager-impl.xml:17: The
following error occurred while executing this line:
/opt/lampp/htdocs/simponi/.sencha/app/phonegap-impl.xml:109: The
following error occurred while executing this line:
/opt/lampp/htdocs/simponi/.sencha/app/phonegap-impl.xml:185: The
following error occurred while executing this line:
jar:file:/home/wahyu/sencha/Sencha/Cmd/5.1.3.61/sencha.jar!/com/sencha/ant/antlib.xml:668:
shellscript returned: 1`
Can anybody help me please?
I had the same problem but with cordova.
With the -d option in sencha build app command, I found that you can not use an application name with spaces.
That's because in the .sencha/app/cordova-impl.xml file, the target cordova-create the ${app.cordova.config.name} variable is not wrapped by quotes:
cordova ${cordova.cli.options} create "${app.cordova.config.path}" ${app.cordova.config.id} ${app.cordova.config.name}
To fix this, simply wrap with quotes:
cordova ${cordova.cli.options} create "${app.cordova.config.path}" "${app.cordova.config.id}" "${app.cordova.config.name}"
In my case my application name was "CBN Salvador" in app.json file, in cordova settings.
Related
When I try to run my react native app on expo with expo start, it logs the qr code, but it also logs this error after some time:
Failed to construct transformer: Error: Ca
nnot parse /home/runner/kitsu-mobile-1/.nvm
/test/fast/Unit tests/mocks/project_dirs/ne
sted-both/package.json as JSON: Unexpected
end of JSON input
at Object.<anonymous> (/home/runner/kit
su-mobile-1/node_modules/metro/node_modules
/jest-haste-map/build/worker.js:167:15)
...
I cannot connect after scanning the qr code with my phone because of that error.
I am using:
node 16.2.0
npm 7.13.0
I would appreciate any help.
Very late answer, but seems we are the only 2 that had this error.
If you fill the package.json that give this error with {}, the error disappears!
When I try to start a meteor project I always get this error message (on my machine only, the project is working fine on my colleague's machines):
=> Started proxy.
=> Started MongoDB.
events.js:141
throw er; // Unhandled 'error' event
^
Error: write EOF
at exports._errnoException (util.js:907:11)
at WriteWrap.afterWrite (net.js:785:14)
Sometimes the error already shows up before mongo is stared.
In fact, I cannot start any project anymore ... :-(
It seems that I have a serious problem with my meteor installation.
I tried re-installing meteor, but no effect.
meteor reset --> no effect
Could it be a problem with a downloaded package? Where does meteor store the packages?
I really would appreaiate any hint what I can try to make it work again.
I'm using meteor on windows.
I tried to update the selenium webdriver using the "webdriver-manager", but i get the error as,
Error: Got error Error: read ECONNRESET from https://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar
Error: Got error Error: read ECONNRESET from https://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar
fs.js:60
throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs
^
Error: EPERM: operation not permitted, unlink 'C:\Users\user_name\AppData\Roaming\npm\node_modules\protractor\selenium\selenium-server-standalone-2.48.2.jar'
at Error (native)
I am not sure what was the cause. I tried updating the protractor too, but no luck.
Also i tried running the command prompt as administrator and run
webdriver-manager update --ignore_ssl
Please help.
I have solved the issue as below,
// Update chrome alone
webdriver-manager update --standalone=0 --chrome --alternate_cdn http://chromedriver.storage.googleapis.com/
// Update selenium alone
webdriver-manager update --chrome=0 --standalone --alternate_cdn http://selenium-release.storage.googleapis.com/
I was facing same issue and got the below error when running update chrome driver.
Error: Got error Error: self signed certificate in certificate chain from https://chromedriver.storage.googleapis.com/2.21/chromedriver_win32.zip
I manually downloaded the driver saved it as node_modules\protractor\selenium\chromedriver_2.21.exe
and it worked. I was running it from my office network
it actually works over http as well: http://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar , just find-replace it inside the library.
Or download it manually to: node_modules/protractor/selenium
i had same problem.
Solution for me was updating node.js (best way to do it - just download latest version and install it).
I am working on a Laravel 5 project on a Windows machine and just encountered an error while attempting to run gulp-
events.js:85
throw er; // Unhandled 'error' event
^
SyntaxError: c:/Users/Benjamin/PhpstormProjects/essex-youth-footbal/resources/assets/bower/jquery/dist/vendor.js: Deleting local variable in strict mode (13795:23316)
13793 | //
Here is the entry in the gulpfile.js where this is being thrown:
mix.scripts([
'/assets/bower/jquery/dist/jquery.min.js',
'/assets/bower/bootstrap/dist/js/bootstrap.js',
'/assets/js/main.js',
'/assets/bower/bootbox/bootbox.js',
'/assets/bower/vue/dist/vue.min.js',
'/assets/bower/mustache/mustache.min.js',
'/assets/bower/bootstrap-multiselect/dist/js/bootstrap-multiselect.js',
'/assets/js/redactor.js',
'/assets/js/vendor/redactor/fontcolor.js',
'/assets/js/vendor/redactor/fontsize.js',
'/assets/js/vendor/redactor/imagemanager.js',
'/assets/js/vendor/redactor/video.js',
'/assets/bower/remarkable-bootstrap-notify/dist/bootstrap-notify.min.js',
'/assets/bower/jquery.maskedinput/dist/jquery.maskedinput.min.js',
'/assets/bower/moment/min/moment.min.js',
'/assets/bower/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js',
'/assets/bower/raphael/raphael-min.js',
'/assets/bower/morrisjs/morris.min.js'
], 'public/js/vendor.js', 'resources');
I also noticed that any merged JS files that ARE created have "use strict" prepended to the code.
gulp is working fine in another project on the same computer and this project's gulp configuration works fine on another computer. Any ideas what might be causing this?
I installed the new PhoneGap 3.0 CLI tool on Windows 7 and can create the sample app using:
$ phonegap create hello com.example.helloworld HelloWorld
But this produces an error:
$ phonegap build android
Here is the error:
events.js:72
throw er; // Unhandled 'error' event
Error: read ENOTCONN
What do I have to do to get the app to build successfully?
Problem was that I was using a Cygwin command line interface, and it prepends its own path to a specified file path.
Executing the commands in the standard Windows Command Prompt worked fine.