NEW CLI INSTALL - does not work... tried Alloy and Classic - exception

Summary:
2016-06-24T12:28:18.008Z | ERROR | An uncaught exception was thrown!
Cannot read property 'options' of undefined
2016-06-24T12:28:18.011Z | ERROR | Cannot read property 'options' of undefined
Details:
brand new installation, Windows 10 64bit
followed: https://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_CLI_Tasks
Steps I took:
Downloaded the NODE installer (URL on your downloads page):
node --version
v4.4.5
npm install appcelerator -g
npm WARN installMany request was bundled with appcelerator#4.2.6, but bundled package wasn't found in unpacked tree
npm WARN installMany chalk was bundled with appcelerator#4.2.6, but bundled package wasn't found in unpacked tree
npm WARN installMany progress was bundled with appcelerator#4.2.6, but bundled package wasn't found in unpacked tree
npm WARN installMany tar was bundled with appcelerator#4.2.6, but bundled package wasn't found in unpacked tree
npm WARN installMany which was bundled with appcelerator#4.2.6, but bundled package wasn't found in unpacked tree
npm WARN installMany debug was bundled with appcelerator#4.2.6, but bundled package wasn't found in unpacked tree
npm WARN installMany lodash was bundled with appcelerator#4.2.6, but bundled package wasn't found in unpacked tree
npm WARN installMany request was bundled with appcelerator#4.2.6, but bundled package wasn't found in unpacked tree
C:\Users\Ozz Nixon\AppData\Roaming\npm\appcelerator -> C:\Users\Ozz Nixon\AppData\Roaming\npm\node_modules\appcelerator\bin\appc
C:\Users\Ozz Nixon\AppData\Roaming\npm\appc -> C:\Users\Ozz Nixon\AppData\Roaming\npm\node_modules\appcelerator\bin\appc
appcelerator#4.2.6 C:\Users\Ozz Nixon\AppData\Roaming\npm\node_modules\appcelerator
├── which#1.0.8
├── progress#1.1.8
├── async#1.5.2
├── semver#3.0.1
├── debug#2.2.0 (ms#0.7.1)
├── chalk#0.5.1 (ansi-styles#1.1.0, escape-string-regexp#1.0.5, supports-color#0.2.0, strip-ansi#0.3.0, has-ansi#0.1.0)
├── update-notifier#0.5.0 (is-npm#1.0.0, string-length#1.0.1, chalk#1.1.3, repeating#1.1.3, semver-diff#2.1.0, configstore#1.4.0, latest-version#1.0.1)
├── tar#1.0.3 (inherits#2.0.1, block-stream#0.0.8, fstream#1.0.8)
├── request#2.72.0 (aws-sign2#0.6.0, forever-agent#0.6.1, tunnel-agent#0.4.2, oauth-sign#0.8.1, is-typedarray#1.0.0, caseless#0.11.0, stringstream#0.0.5, isstream#0.1.2, json-stringify-safe#5.0.1, extend#3.0.0, form-data#1.0.0-rc4, tough-cookie#2.2.2, node-uuid#1.4.7, qs#6.1.0, combined-stream#1.0.5, mime-types#2.1.10, aws4#1.3.2, hawk#3.1.3, bl#1.1.2, http-signature#1.1.1, har-validator#2.0.6)
└── lodash#4.11.1
appc setup
Finding latest version ...5.3.0 OK
Validating security checksum OK
Installing ... OK
Compiling platform native modules ...
└ socket.io-client/ws ... OK
└ bunyan/dtrace-provider ... OK
└ appc-ldapjs/dtrace-provider ... OK
└ chokidar/fsevents ... OK
└ chokidar/fsevents ... OK
Appcelerator Login required to continue ...
? Appcelerator ID: ozznixon#gmail.com
? Appcelerator ID: ozznixon#gmail.com
? Password: ********
Invalid Appcelerator ID and password combination.
Appcelerator Login required to continue ...
? Appcelerator ID: ozznixon#gmail.com
? Password: **************
Invalid Appcelerator ID and password combination.
Appcelerator Login required to continue ...
? Appcelerator ID: ozznixon#gmail.com
? Password: ********
This computer must be authorized before you can complete your login.
? Confirm with authorization code to Email or Phone/SMS? Email to ozznixon#gmail.com
An authorization code was sent to your email at ozznixon#gmail.com
? Please enter the authorization code you received via your email at ozznixon#gmail.com: 7015
This computer is now authorized: Windows Machine ID: 8f61c9c2-dad0-4208-9e4c-c096d20e2894
You can deauthorize this computer by logging out with appc logout
Generating Developer Certificate and Private/Public Keys...
? Do you plan on developing Titanium apps? Yes
Checking your environment...
No Mobile SDK found, downloading ...
New version available! 5.3.0.GA
Downloading http://builds.appcelerator.com/mobile-releases/5.3.0/mobilesdk-5.3.0.GA-win32.zip
100% [========================================] 0.0s
Extracting SDK to C:\ProgramData\Titanium
100% [========================================]
Setting Titanium SDK 5.3.0.GA as the default.
Titanium SDK 5.3.0.GA successfully installed!
You have the latest Titanium SDK release 5.3.0.GA
The following JDK issues were found in your environment:
JDK (Java Development Kit) not installed.
If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly set.
The JDK is required for must be manually downloaded and installed from
http://appcelerator.com/jdk.
Some issues were detected for your environment
Please review the above found issues that were detected for your environment.
You should resolve these issues before building or running a cross platform app.
You can re-run setup once they are resolved to validate.
appc setup complete!
I downloaded and installed: Java SE Development Kit 8 Update 92 (64-bit)
Then:
appc use
The following versions are available:
5.3.1-2 Not Installed
5.3.0 Installed (Latest) (Active)
5.3.0-47 Not Installed
5.3.0-43 Not Installed
5.3.0-34 Not Installed
5.2.0-265 Not Installed
5.2.2 Not Installed
5.2.0-213 Not Installed
5.2.1 Not Installed
5.2.1-12 Not Installed
5.2.0-55 Not Installed
5.2.0 Installed
5.1.0 Not Installed
5.0.4 Not Installed
5.0.3 Not Installed
5.0.2 Not Installed
5.0.1 Not Installed
5.0.0 Not Installed
4.1.3 Not Installed
4.1.2 Not Installed
4.1.1 Not Installed
4.1.0 Not Installed
5.0.0-50 Not Installed
5.0.0-40 Not Installed
4.0.2 Not Installed
4.1.0-0 Not Installed
4.0.1 Not Installed
4.0.0 Not Installed
4.0.0-rc Not Installed
1.2.123 Not Installed
0.2.285 Not Installed
0.2.283 Not Installed
0.2.282 Not Installed
0.2.276 Not Installed
0.2.273 Not Installed
0.2.255 Not Installed
0.2.247 Not Installed
0.2.246 Not Installed
0.2.242 Not Installed
0.2.241 Not Installed
0.2.230 Not Installed
0.2.229 Not Installed
0.2.228 Not Installed
0.2.227 Not Installed
0.2.226 Not Installed
0.2.225 Not Installed
0.2.224 Not Installed
0.2.223 Not Installed
0.2.222 Not Installed
0.2.221 Not Installed
0.2.220 Not Installed
0.2.219 Not Installed
0.2.218 Not Installed
0.2.217 Not Installed
0.2.216 Not Installed
0.2.215 Not Installed
0.2.214 Not Installed
0.2.213 Not Installed
0.2.212 Not Installed
0.2.210 Not Installed
0.2.209 Not Installed
0.2.208 Not Installed
0.2.207 Not Installed
0.2.204 Not Installed
0.2.203 Not Installed
0.2.201 Not Installed
0.2.200 Not Installed
0.2.199 Not Installed
0.2.198 Not Installed
0.2.198 Not Installed
0.2.197 Not Installed
0.2.196 Not Installed
0.2.195 Not Installed
0.2.192 Not Installed
0.2.191 Not Installed
0.2.187 Not Installed
0.2.186 Not Installed
0.2.185 Not Installed
0.2.183 Not Installed
0.2.182 Not Installed
0.2.181 Not Installed
0.2.181 Not Installed
0.2.180 Not Installed
0.2.179 Not Installed
0.2.178 Not Installed
0.2.177 Not Installed
0.2.176 Not Installed
0.2.175 Not Installed
0.2.174 Not Installed
0.2.173 Not Installed
0.2.172 Not Installed
0.2.170 Not Installed
0.2.169 Not Installed
0.2.101 Not Installed
0.2.101 Not Installed
0.2.101 Not Installed
0.2.100 Not Installed
0.2.99 Not Installed
0.2.98 Not Installed
0.2.97 Not Installed
Then:
appc new -t titanium --id com.jahbraids.intro -n introproj -p android
A new update (5.3.1-2) is available... Download with appc use 5.3.1-2
Appcelerator Command-Line Interface, version 5.3.0
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
*** new completed. ***
Then:
appc run
Appcelerator Command-Line Interface, version 5.3.0
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
2016-06-23T23:51:51.172Z | ERROR | An uncaught exception was thrown!
Cannot read property 'options' of undefined
2016-06-23T23:51:51.175Z | ERROR | Cannot read property 'options' of undefined
Searched, found closed ticket, and tried:
npm install -g titanium
npm WARN deprecated wrench#1.5.8: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
C:\Users\Ozz Nixon\AppData\Roaming\npm\ti -> C:\Users\Ozz Nixon\AppData\Roaming\npm\node_modules\titanium\bin\titanium
C:\Users\Ozz Nixon\AppData\Roaming\npm\titanium -> C:\Users\Ozz Nixon\AppData\Roaming\npm\node_modules\titanium\bin\titanium
titanium#5.0.9 C:\Users\Ozz Nixon\AppData\Roaming\npm\node_modules\titanium
├── async#1.4.2
├── sprintf#0.1.5
├── humanize#0.0.9
├── semver#5.0.3
├── colors#1.1.2
├── wrench#1.5.8
├── temp#0.8.3 (os-tmpdir#1.0.1, rimraf#2.2.8)
├── fields#0.1.24 (keypress#0.2.1, colors#0.6.2)
├── winston#1.0.2 (cycle#1.0.3, isstream#0.1.2, stack-trace#0.0.9, eyes#0.1.8, async#1.0.0, pkginfo#0.3.1, colors#1.0.3)
├── longjohn#0.2.9 (source-map-support#0.3.2)
├── request#2.62.0 (forever-agent#0.6.1, caseless#0.11.0, aws-sign2#0.5.0, oauth-sign#0.8.2, tunnel-agent#0.4.3, stringstream#0.0.5, isstream#0.1.2, json-stringify-safe#5.0.1, extend#3.0.0, tough-cookie#2.2.2, node-uuid#1.4.7, qs#5.1.0, combined-stream#1.0.5, mime-types#2.1.11, form-data#1.0.0-rc4, http-signature#0.11.0, bl#1.0.3, hawk#3.1.3, har-validator#1.8.0)
├── moment#2.10.6
└── node-appc#0.2.31 (xmldom#0.1.19, semver#5.0.1, node-uuid#1.4.3, adm-zip#0.4.7, diff#2.1.0, optimist#0.6.1, uglify-js#2.4.24, request#2.61.0)
Still: appc run -p android
Appcelerator Command-Line Interface, version 5.3.0
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
2016-06-23T23:57:09.690Z | ERROR | An uncaught exception was thrown!
Cannot read property 'options' of undefined
2016-06-23T23:57:09.695Z | ERROR | Cannot read property 'options' of undefined
Did Update: appc use 5.3.1-2
Before you can continue, the latest Appcelerator software update needs to be downloaded.
Finding version 5.3.1-2 ... OK
Validating security checksum OK
Installing ... OK
Compiling platform native modules ...
└ socket.io-client/ws ... OK
└ bunyan/dtrace-provider ... OK
└ appc-ldapjs/dtrace-provider ... OK
└ chokidar/fsevents ... OK
└ chokidar/fsevents ... OK
Installed!!
Still: appc run -p android
Appcelerator Command-Line Interface, version 5.3.1-2
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
2016-06-24T12:28:18.008Z | ERROR | An uncaught exception was thrown!
Cannot read property 'options' of undefined
2016-06-24T12:28:18.011Z | ERROR | Cannot read property 'options' of undefined

Thanks for sharing with us. Please run the following command in the administrative command prompt.
del -rf ~/.appcelerator
del -rf ~/.titanium
npm uninstall -g titanium
npm uninstall -g appcelerator
npm install -g appcelerator
appc use latest
appc setup
appc login

The issue you're seeing looks to be https://jira.appcelerator.org/browse/TIMOB-23480. This issue has been fixed in the latest 5.3.1 builds of the SDK. You can install this using appc ti sdk install -b 5_3_X -d.
Also for your reference my JAVA_HOME is set to C:\Program Files (x86)\Java\jdk1.7.0_80, after setting this environment variable make sure to restart your command prompt.

Related

Shadow cljs doesn’t see java on Macbook M1

I used npx create-cljs-project my-app and revived error when I tried to start with npm start
I have tried few java ask version, but I get same error anyway.
shadow-cljs - config: /Users/tomaszsikora/dev/my-app/shadow-cljs.edn
Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader/loadLibrary (ClassLoader.java:2398).
Can't load library: /var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/jna1171015707293329039.tmp
Full report at:
/var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/clojure-11795200488797552517.edn
and it starts like this, but it's too long to paste here.
{:clojure.main/message
"Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader/loadLibrary (ClassLoader.java:2398).\nCan't load library: /var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/jna14133068692257536681.tmp\n",
:clojure.main/triage
{:clojure.error/class java.lang.UnsatisfiedLinkError,
:clojure.error/line 2398,
:clojure.error/cause
"Can't load library: /var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/jna14133068692257536681.tmp",
:clojure.error/symbol java.lang.ClassLoader/loadLibrary,
:clojure.error/source "ClassLoader.java",
:clojure.error/phase :execution},
:clojure.main/trace
{:via
[{:type java.lang.UnsatisfiedLinkError,
:message
"Can't load library: /var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/jna14133068692257536681.tmp",
:at [java.lang.ClassLoader loadLibrary "ClassLoader.java" 2398]}],
:trace
java version
tomaszsikora#DeadBook-Void my-app % java --version
openjdk 18.0.2.1 2022-08-18
OpenJDK Runtime Environment Homebrew (build 18.0.2.1+0)
OpenJDK 64-Bit Server VM Homebrew (build 18.0.2.1+0, mixed mode, sharing)

Jruby version suitable for OpenJDK 8 (Zulu JDK)

I am looking for an advisable version of JRuby that supports OpenJDK-8 (Zulu-JDK) to run on a Rails project.
Rails version- 4.0.13.
All versions of JRuby since version 9.2.0.0 will run on JDK 8. Since Zulu 8 is a build of OpenJDK 8 that means any appropriate JRuby version will run on Zulu 8.
Follow up question (using answer section to get better code formatting then commenting on the answer above).
I'm trying to get JRuby > 9.2.0.0 running Zulu 8 for MacOS ARM 64-bit (M1 chip).
I did a reinstall of the JRuby versions after installing that JDK.
$ rvm list
jruby-1.7.27 [ x86_64 ]
=> jruby-9.2.13.0 [ aarch64 ]
Check ruby version and try irb:
$ ruby -v
jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc OpenJDK 64-Bit Server VM 25.302-b08 on 1.8.0_302-b08 +jit [darwin-aarch64]
$ irb
NotImplementedError: fstat unimplemented unsupported or native support failed to load; see https://github.com/jruby/jruby/wiki/Native-Libraries
initialize at org/jruby/RubyIO.java:1015
open at org/jruby/RubyIO.java:1156
initialize at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/lib/ruby/stdlib/irb/input-method.rb:141
initialize at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/lib/ruby/stdlib/irb/context.rb:70
initialize at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/lib/ruby/stdlib/irb.rb:410
start at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/lib/ruby/stdlib/irb.rb:381
<main> at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/bin/irb:13

Can't update to the latest version of cordova-ios

My app, built with Ionic and Cordova, includes the plugin GoogleMaps version 2.6.2 (the most recent), but it has not been loaded on iOS for a month, and Android still works.
I only have taken this product from a colleague and I am a total beginner in terms of Cordova, Ionic and npm. In any case the error is that the plugin is no longer installed (as my console tells me in xCode). When I try to update Cordova-ios to the latest version (ionic cordova platform update ios), I only get the error message
> cordova platform update ios
Using cordova-fetch for cordova-ios#^5.0.0
Failed to fetch platform cordova-ios#^5.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name / version / URL.
Error: npm: Command failed with exit code 1 Error output:
npm WARN # ionic-native / google-maps # 3.10.3 requires a peer of # ionic-native / core # ^ 3.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN # ngx-translate / core # 9.1.1 requires a peer of #angular / core #> = 5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN The package # types / node is included as both a dev and production dependency.
npm ERR! path /path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim
npm ERR! code EEXIST
npm ERR! Refusing to delete /path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim: is outside /path/to/app/node_modules / cordova-ios / node_modules / ios-sim and not a link
npm ERR! File exists: /path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim
npm ERR! Move it away, and try again.
npm ERR! A complete log of this can be found in:
npm ERR! /path/to/app/.npm/_logs/2019-05-23T06_41_36_667Z-debug.log
[ERROR] An error occurred while running subprocess cordova.
        
        cordova update ios exited with exit code 1.
        
        Re-running this command with the --verbose flag may provide more information.
What does that mean exactly? I wanted to uninstall the iOS platform (ionic cordova platform remove ios) and add new ones (cordova platform add ios#5.0.0), but already when I uninstall I get the following error:
ionic cordova platform remove ios
> cordova platform remove ios --save
Removing ios from cordova.platforms array in package.json
Error: npm: Command failed with exit code 1 Error output:
npm WARN #ionic-native/google-maps#3.10.3 requires a peer of #ionic-native/core#^3.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN #ngx-translate/core#9.1.1 requires a peer of #angular/core#>=5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN The package #types/node is included as both a dev and production dependency.
npm ERR! path /path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim
npm ERR! code EEXIST
npm ERR! Refusing to delete /path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim: is outside /path/to/app/node_modules/cordova-ios/node_modules/ios-sim and not a link
npm ERR! File exists: /path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! /path/to/app/.npm/_logs/2019-05-23T07_05_52_055Z-debug.log
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/superspawn.js:125:23)
at ChildProcess.emit (events.js:196:13)
at maybeClose (internal/child_process.js:1011:16)
at Socket.<anonymous> (internal/child_process.js:416:11)
at Socket.emit (events.js:196:13)
at Pipe.<anonymous> (net.js:586:12) {
stderr: 'npm WARN #ionic-native/google-maps#3.10.3 requires a peer of ' +
'#ionic-native/core#^3.6.0 but none is installed. You must install peer ' +
'dependencies yourself.\nnpm WARN #ngx-translate/core#9.1.1 requires a ' +
'peer of #angular/core#>=5.0.0 but none is installed. You must install ' +
'peer dependencies yourself.\nnpm WARN The package #types/node is ' +
'included as both a dev and production dependency.\n\nnpm ERR! path ' +
'/path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim\n' +
'npm ERR! code EEXIST\nnpm ERR! Refusing to delete ' +
'/path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim: ' +
'is outside ' +
'/path/to/app/node_modules/cordova-ios/node_modules/ios-sim ' +
'and not a link\nnpm ERR! File exists: ' +
'/path/to/app/node_modules/cordova-ios/node_modules/.bin/ios-sim\n' +
'npm ERR! Move it away, and try again.\n\nnpm ERR! A complete log of this ' +
'run can be found in:\nnpm ERR! ' +
'/path/to/app/.npm/_logs/2019-05-23T07_05_52_055Z-debug.log\n',
code: 1
}
[ERROR] An error occurred while running subprocess cordova.
cordova platform remove ios --save exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
I have installed the following plugins:
> cordova plugin ls
cordova-plugin-datepicker 0.9.3 "DatePicker"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-googlemaps 2.6.2 "cordova-plugin-googlemaps"
cordova-plugin-ionic-webview 4.0.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-sqlite-storage 2.6.0 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-push 1.11.1 "PushPlugin"
What exactly do I have to do to update cordova-ios to the latest version? What else do you need for information that I could give you? My Mac already has the latest operating system.
EDIT:
I ran rm -Rf platforms / node_modules / && npm install && ionic cordova platform add ios # latest and now I get the following output on the console.
> fsevents#1.2.9 install / path / to / app / node_modules / fsevents
> node install
node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/path/to/app/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" is installed via remote
> node-sass#4.12.0 install / path / to / app / node_modules / node-sat
> node scripts / install.js
Cached binary found at /path/to/app/.npm/node-sass/4.12.0/darwin-x64-72_binding.node
> uglifyjs-webpack-plugin#0.4.6 postinstall / path / to / app / node_modules / uglifyjs-webpack-plugin
> node lib / post_install.js
> node-sass#4.12.0 postinstall / path / to / app / node_modules / node-sass
> node scripts / build.js
Binary found at /path/to/app/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Testing binary
Binary is fine
npm WARN The package # types / node is included as both a dev and production dependency.
added 1330 packages from 1442 contributors in 63.504s
> cordova platform add ios # latest --save
Using cordova-fetch for cordova-ios # latest
Adding ios project ...
Creating Cordova project for the iOS platform:
Path: platforms / ios
Package: com.gpsno
Name: GPS-No.com
iOS project created with cordova-ios#5.0.1
Installing "cordova-plugin-datepicker" for ios
Installing "cordova-plugin-device" for ios
Installing "cordova-plugin-geolocation" for ios
Installing "cordova-plugin-googlemaps" for ios
"framework" tag with type "podspec" is deprecated and will be removed. Please use the "podspec" tag.
cordova-plugin-googlemaps depends on GoogleMaps # ~> 2.7.0, which conflicts with another plugin. GoogleMaps # ~> 3.1.0 is already installed and was not overwritten.
Running command: pod install --verbose
      Official document https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.6.0/README.md Please consider buying beer for us 🍺 https://github.com/mapsplugin/ cordova-plugin-google maps # buy-us-a-beer
    
Installing "cordova-plugin-ionic-webview" for ios
Installing "cordova-plugin-splashscreen" for ios
Installing "cordova-plugin-statusbar" for ios
Installing "cordova-plugin-whitelist" for ios
Installing "cordova-sqlite-storage" for ios
Failed to install 'cordova-sqlite-storage': CordovaError: Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
    at Context.requireCordovaModule (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:57:15)
    at module.exports (/path/to/app/plugins/cordova-sqlite-storage/scripts/beforePluginInstall.js:13:21)
    at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:181:32)
    at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:16)
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:125:20
    at processTicksAndRejections (internal / process / task_queues.js: 89: 5)
Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
[ERROR] An error occurred while running subprocess cordova.
        
        cordova platform add ios # latest --save exited with exit code 1.
        
        Re-running this command with the --verbose flag may provide more information.
It looks like everything had worked out. Do I have to worry about the message
cordova-plugin-googlemaps depends on GoogleMaps # ~> 2.7.0, which conflicts with another plugin. GoogleMaps # ~> 3.1.0 is already installed and was not overwritten.
If so what can I do or remove?
How can I solve the problem
Installing "cordova-sqlite-storage" for ios
Failed to install 'cordova-sqlite-storage': CordovaError: Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
Installing "cordova-sqlite-storage" for ios
Failed to install 'cordova-sqlite-storage': CordovaError: Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
This is because you have cordova#9.0.0 CLI installed which removed support for use of requireCordovaModule by 3rd party plugins, but you have an old version of cordova-sqlite-storage plugin installed which makes use of requireCordovaModule. So you need to update your version of cordova-sqlite-storage plugin:
cordova plugin rm cordova-sqlite-storage && cordova plugin add cordova-sqlite-storage#latest
cordova-plugin-googlemaps depends on GoogleMaps # ~> 2.7.0, which conflicts with another plugin. GoogleMaps # ~> 3.1.0 is already installed and was not overwritten.
Again probably due to an outdated version of cordova-plugin-googlemaps so update it:
cordova plugin rm cordova-plugin-googlemaps --nosave && cordova plugin add cordova-plugin-googlemaps#latest
Note the use of --nosave option when removing the plugin to preserve any plugin variables containing API keys.
You should also check and update the other plugins in your project. An easy way to do this is using the cordova-check-plugins tool:
npm install -g cordova-check-plugins
cordova-check-plugins --unconstrain-versions --update=auto
# or --update=interactive for interactive update process
Disclaimer: I am the author of cordova-check-plugins
Be aware when updating plugins that major version updates may contain breaking changes to APIs which your app makes use of, so you should be aware of this:
checkout the changelog or commit history of plugins for which you are updating the major version and make any necessary API changes in your app.

Installing general package in octave has error

I have error in installing general package using the instruction.
pkg install -forge general
and get the message
octave:3> pkg install -forge general
In file included from /usr/local/octave/3.8.0/lib/gcc47/gcc/x86_64-apple-darwin13/4.7.3/include/stdint.h:3:0,
from /usr/local/octave/3.8.0/include/octave-3.8.0/octave/oct-conf-post.h:167,
from /usr/local/octave/3.8.0/include/octave-3.8.0/octave/config.h:3351,
from /usr/local/octave/3.8.0/include/octave-3.8.0/octave/../octave/oct.h:31,
from SHA1.cc:19:
/usr/local/octave/3.8.0/lib/gcc47/gcc/x86_64-apple-darwin13/4.7.3/include-fixed/stdint.h:27:32: fatal error: sys/_types/_int8_t.h: No such file or directory
compilation terminated.
make: *** [SHA1.oct] Error 1
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0 SHA1.cc
pkg: error running `make' for the general package.
error: called from 'configure_make' in file /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/configure_make.m near line 82, column 9
error: called from:
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/install.m at line 199, column 5
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/pkg.m at line 394, column 9
octave:3>
I have no idea to solve this problem. My computer OS is Mac 10.9.3 Mavericks. Octave version is 3.8.0
octave:1> ver
----------------------------------------------------------------------
GNU Octave Version 3.8.0
GNU Octave License: GNU General Public License
Operating System: Darwin 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
----------------------------------------------------------------------
no packages installed.
Does anyone have idea?
I find the solution! Using this comment
xcode-select --install
and it's success!
octave:1> ver
----------------------------------------------------------------------
GNU Octave Version 3.8.0
GNU Octave License: GNU General Public License
Operating System: Darwin 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
----------------------------------------------------------------------
no packages installed.
octave:2> pkg install -forge general
For information about changes from previous versions of the general package, run 'news general'.
octave:3> ver
----------------------------------------------------------------------
GNU Octave Version 3.8.0
GNU Octave License: GNU General Public License
Operating System: Darwin 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
----------------------------------------------------------------------
Package Name | Version | Installation directory
--------------+---------+-----------------------
general | 1.3.4 | /Users/apple/octave/general-1.3.4
I was having the same issue when trying to install the Octave Signal Package without success. The following finally appears to be working.
code-select --install from the Terminal window to install the command line tools
Install MacPorts for Mac. This is a standard installer that you can download from Macports.
sudo port install gcc48 --> This is a Fortran compiler, which is necessary for installing octave-general
sudo port install octave-general [NOTE: THIS TOOK A VERY LONG TIME, and I had to disable Spotlight indexing...Hours on a Macbook Pro]
sudo port install octave-control
sudo port install octave-signal
While looking at how to install the control package, I found this in the Arch Wiki:
Note: Some Octave's packages, like control, need the gcc-fortran ArchLinux's package in order to compile and install.
(https://wiki.archlinux.org/index.php/Octave)
So you might have to install gcc-fortran first.

Error on launching a local version of a website

I tried to install Jekyll On Windows 7. I followed this guide http://www.testically.org/2012/02/02/installing-jekyll-and-ruby-on-windows/
So I first downloaded Ruby and added \;C:\Ruby193\bin to the path variable.
I then downloaded DevKit and added \;C:\Users\jimmy\Downloads\teeheeband\bin\ to the path variable as well.
I then opened my command and did the following (in order)
cd ;C:\Users\jimmy\Downloads\teeheeband
ruby dk.rb init
ruby dk.rb install
the following are the codes that appeared on my screen when I did the above steps.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\jimmy>cd ;C:\Users\jimmy\Downloads\teeheeband
C:\Users\jimmy\Downloads\teeheeband>ruby dk.rb init
[INFO] found RubyInstaller v1.9.3 at C:/Ruby193
Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.
C:\Users\jimmy\Downloads\teeheeband>ruby dk.rb install
[INFO] Skipping existing gem override for 'C:/Ruby193'
[WARN] Skipping existing DevKit helper library for 'C:/Ruby193'
C:\Users\jimmy\Downloads\teeheeband>gem install jekyll
Successfully installed jekyll-0.12.0
1 gem installed
Installing ri documentation for jekyll-0.12.0...
Installing RDoc documentation for jekyll-0.12.0...
C:\Users\jimmy\Downloads\teeheeband>
Once I did the above, I downloaded github and cloned the repo that I wanted to work on. I then went to Gitshell and did the following
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
C:\Users\jimmy\Documents\GitHub> cd prog694.github.com
C:\Users\jimmy\Documents\GitHub\prog694.github.com [new-branch]> jekyll --server
--auto
Configuration from C:/Users/jimmy/Documents/GitHub/prog694.github.com/_config.ym
l
Auto-regenerating enabled: C:/Users/jimmy/Documents/GitHub/prog694.github.com ->
C:/Users/jimmy/Documents/GitHub/prog694.github.com/_site
[2013-02-03 20:19:00] regeneration: 402 files changed
[2013-02-03 20:19:01] INFO WEBrick 1.3.1
[2013-02-03 20:19:01] INFO ruby 1.9.3 (2013-01-15) [i386-mingw32]
[2013-02-03 20:19:01] INFO WEBrick::HTTPServer#start: pid=4036 port=4000
[2013-02-03 20:20:24] ERROR no access permission to `/'
jimmy-PC - - [03/Feb/2013:20:20:24 Atlantic Standard Time] "GET / HTTP/1.1" 403
283
- -> /
[2013-02-03 20:20:24] ERROR `/favicon.ico' not found.
jimmy-PC - - [03/Feb/2013:20:20:24 Atlantic Standard Time] "GET /favicon.ico HTT
P/1.1" 404 281
- -> /favicon.ico
Finally I opened a browser and tried to run a local copy of the website via : localhost:4000
I failed and got this message
Forbidden
no access permission to `/'
WEBrick/1.3.1 (Ruby/1.9.3/2013-01-15) at 127.0.0.1:4000
so I used h**p://127.0.0.1:4000/( replace t with **)
failed again
Forbidden
no access permission to `/'
WEBrick/1.3.1 (Ruby/1.9.3/2013-01-15) at 127.0.0.1:4000
All I want is to be able to open and run a local version of this website. Any help would be greatly appreciated.
Check if your port 4000 is not used by something else, or if you have a firewall enable access to it.
I'd highly disrecomend Windows for jekyll (or any ruby gem/app), installing and using it in Linux would be much easier.