[AC-5450] Trouble updating Studio to v5 and SDK 7
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Done |
| Resolution Date | 2017-12-19T18:24:11.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Studio |
| Labels | n/a |
| Reporter | eric harms |
| Assignee | Shak Hossain |
| Created | 2017-12-13T00:25:11.000+0000 |
| Updated | 2017-12-19T18:24:11.000+0000 |
Description
Hello,
Im having some major issues trying to upgrade one of my laptops to Studio 5 / SDK 7
Biggest issue is that Studio refuses to recognize my Xcode installation. on the IOS Home screen in preferences, refreshing does nothing, update opens the app store updates window.
ive uninstalled node, appcelerator a few times now, let studio install node, nothing works.
Ive included the studio log report as well as other installation information for your review.
Please advise.
Thanks,
Eric
Attachments
| File | Date | Size |
|---|---|---|
| 2017-12-18T21_24_02_490Z-debug.log | 2017-12-18T21:32:20.000+0000 | 419366 |
| 2017-12-18T21_51_11_267Z-debug.log | 2017-12-18T21:57:57.000+0000 | 571182 |
| appcTiSetupCheck.txt | 2017-12-15T02:27:33.000+0000 | 4517 |
| environment.txt | 2017-12-13T00:22:11.000+0000 | 3413 |
| logFileNew.txt | 2017-12-13T21:51:43.000+0000 | 15885 |
| Screen Shot 2017-12-14 at 10.11.41 AM.png | 2017-12-14T18:13:07.000+0000 | 597685 |
| ss1.png | 2017-12-13T21:49:23.000+0000 | 541163 |
| ss2.png | 2017-12-13T21:49:22.000+0000 | 190176 |
| studioLog.txt | 2017-12-13T00:01:41.000+0000 | 1410319 |
| ticonfig.txt | 2017-12-13T00:20:04.000+0000 | 847 |
| tiInfoXcodeInformation.txt | 2017-12-13T00:23:40.000+0000 | 377 |
Hello [~eric.harms@gmail.com], Thanks for sharing with us. Do you have latest CLI installed on your end? What's your xcode version? If not please try the following command: *appc use latest.* *appc login* Then check if the issue occurs again please let us know. Best
hi, both appc use latest and appc login return the following error. i am using the latest cli as installed by studio. xcode 9.2. Thanks, Eric ➜ ~ appc use latest undefined:30 } "lastUpdateCheck": 1513121275986 ^ SyntaxError: Unexpected string in JSON at position 1274 at JSON.parse (
i followed these instructions to uninstall everything -- please let me know if Im missing any steps, maybe I didnt clear out something that is holding a cache of data somewhere? https://medium.com/all-titanium/reinstalling-appcelerator-titanium-on-mac-from-scratch-9a2bb6b9b629 thanks
Hello, Please try the follow commands below sudo rm -rf ~/.appcelerator sudo rm -rf ~/.titanium sudo npm uninstall -g titanium sudo npm uninstall -g appcelerator sudo npm install -g appcelerator appc use latest appc setup Send the full log in here. Thanks.
Hi Sharif, Heres what Ive done. - Cleared studio log file - trashed appc folder from applications - ran the commands you provided, in order. positive results from the use latest and setup - ran the studio installer, was provided the attached errors ss1.png opens, says ios is not configured. when i hit configure, it spins and is waiting for xcode. when i close that, i get error message from ss2.png. attached the new log file here as well (logFileNew.txt) Thanks, Eric
Hi, It never completes, just keeps spinning. Thanks Eric
I uploaded a screenshot of what Im seeing - it errors out then stalls. the following is produced in the log file !ENTRY org.eclipse.core.jobs 4 2 2017-12-14 10:11:30.432 !MESSAGE An internal error occurred during: "Configuring SDK". !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doConfigure(IOSSDKConfigurer.java:115) at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.configure(BaseMobilePlatformConfigurer.java:44) at com.appcelerator.titanium.ui.mobile.PlatformsInstallManager$3.run(PlatformsInstallManager.java:172) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I can build my project from the command line -- however live view does not fire when saving a file.
I too am getting
java.lang.NullPointerException. I'm upgrading from 5.5.1.Hello, Can you run "appc ti setup check" and send the log as a text file in here? Thanks.
Hi, attached here - appcTiSetupCheck.txt Thanks Eric
I have the same problem :(
Hi -- has there been any progress on this ticket? thanks
Hello, Run the following commands and let us know how it goes. Close Appcelerator Studio Open the terminal Stop the daemon: appc appcd stop cd into the appcelerator package: cd ~/.appcelerator/install/7.0.0/package Install the update: npm install ioslib@next Reopen Studio Hope this helps. Let us know. Thanks.
Hi Sharif, Please see the terminal output error log, and Ive attached the referenced log file to this ticket. i do have node v8.9.1 installed Thanks, Eric
➜ ~/.appcelerator/install/7.0.0/package sudo npm install ioslib@next > node-ios-device@1.5.0 install /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device > node ./bin/run.js node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(undefined): https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.5.0/node_ios_device-v1.5.0-node-v57-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for node-ios-device@1.5.0 and node@8.9.1 (node-v57 ABI, unknown) (falling back to source compile with node-gyp) gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/build' gyp ERR! System Darwin 16.7.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" "--module_name=node_ios_device" "--module_path=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/binding/node-v57-darwin-x64" gyp ERR! cwd /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device gyp ERR! node -v v8.9.1 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/binding/node-v57-darwin-x64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at emitTwo (events.js:126:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:925:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) node-pre-gyp ERR! System Darwin 16.7.0 node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device node-pre-gyp ERR! node -v v8.9.1 node-pre-gyp ERR! node-pre-gyp -v v0.6.39 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/binding/node-v57-darwin-x64' (1) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-ios-device@1.5.0 install:node ./bin/run.js node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-ios-device@1.5.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/eharms/.npm/_logs/2017-12-18T21_24_02_490Z-debug.logThe above solution did not work for me. This is what I did to get Appcelerator to recognize Xcode
After npm installcd ~/.appcelerator/install/7.0.0/package sudo rm -Rfv node_modules sudo chown -R $(whoami):staff * npm install> deasync@0.1.11 install /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/alloy/node_modules/deasync > node ./build.jsdarwin-x64-node-8exists; testing Binary is fine; exiting > dtrace-provider@0.8.5 install /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider > node scripts/install.js > dtrace-provider@0.8.5 install /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider > node scripts/install.js > dtrace-provider@0.8.5 install /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/bunyan/node_modules/dtrace-provider > node scripts/install.js > dtrace-provider@0.7.1 install /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/dtrace-provider > node scripts/install.js > fsevents@1.1.3 install /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/fsevents > node install [fsevents] Success: "/Users/taruga/.appcelerator/install/7.0.0/package/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile > node-ios-device@1.5.0 install /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device > node ./bin/run.js node-pre-gyp install --fallback-to-build [node-ios-device] Success: "/Users/taruga/.appcelerator/install/7.0.0/package/node_modules/ioslib/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" is installed via remote > node-ios-device@1.5.0 install /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/node-ios-device > node ./bin/run.js node-pre-gyp install --fallback-to-build [node-ios-device] Success: "/Users/taruga/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" is installed via remote > spawn-sync@1.0.15 postinstall /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/appc-inquirer/node_modules/inquirer/node_modules/external-editor/node_modules/spawn-sync > node postinstall > jsonpath@1.0.0 postinstall /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/axway-flow/node_modules/jsonpath > node lib/aesprim.js > generated/aesprim-browser.js (node:29521) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit > appcd@1.0.0 postinstall /Users/taruga/.appcelerator/install/7.0.0/package/node_modules/appcd > node bin/appcd stop || node -e true Appcelerator Daemon, version 1.0.0 Copyright (c) 2016-2017, Axway, Inc. All Rights Reserved. Appc Daemon stopped added 2600 packages in 51.167s Taruga:package taruga$Thanks Luis, Unfortunately that's not working for me either. Terminal output here, referenced log attached. Eric
➜ ~/.appcelerator/install/7.0.0/package sudo npm install > deasync@0.1.11 install /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/alloy/node_modules/deasync > node ./build.jsdarwin-x64-node-8exists; testing Binary is fine; exiting > dtrace-provider@0.8.5 install /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider > node scripts/install.js fs.js:766 return binding.rename(pathModule._makeLong(oldPath), ^ Error: EACCES: permission denied, rename '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider/compile.py' -> '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider/binding.gyp' at Object.fs.renameSync (fs.js:766:18) at Object.<anonymous> (/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider/scripts/install.js:14:4) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Function.Module.runMain (module.js:676:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3 > dtrace-provider@0.8.5 install /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider > node scripts/install.js fs.js:766 return binding.rename(pathModule._makeLong(oldPath), ^ Error: EACCES: permission denied, rename '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider/compile.py' -> '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider/binding.gyp' at Object.fs.renameSync (fs.js:766:18) at Object.<anonymous> (/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider/scripts/install.js:14:4) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Function.Module.runMain (module.js:676:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3 > dtrace-provider@0.8.5 install /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/bunyan/node_modules/dtrace-provider > node scripts/install.js fs.js:766 return binding.rename(pathModule._makeLong(oldPath), ^ Error: EACCES: permission denied, rename '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/bunyan/node_modules/dtrace-provider/compile.py' -> '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/bunyan/node_modules/dtrace-provider/binding.gyp' at Object.fs.renameSync (fs.js:766:18) at Object.<anonymous> (/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/bunyan/node_modules/dtrace-provider/scripts/install.js:14:4) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Function.Module.runMain (module.js:676:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3 > dtrace-provider@0.7.1 install /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/dtrace-provider > node scripts/install.js fs.js:766 return binding.rename(pathModule._makeLong(oldPath), ^ Error: EACCES: permission denied, rename '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/dtrace-provider/compile.py' -> '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/dtrace-provider/binding.gyp' at Object.fs.renameSync (fs.js:766:18) at Object.<anonymous> (/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/dtrace-provider/scripts/install.js:14:4) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Function.Module.runMain (module.js:676:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3 > fsevents@1.1.3 install /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/fsevents > node install [fsevents] Success: "/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile > node-ios-device@1.4.0 install /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device > node ./bin/run.js node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(undefined): https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.4.0/node_ios_device-v1.4.0-node-v57-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for node-ios-device@1.4.0 and node@8.9.1 (node-v57 ABI) (falling back to source compile with node-gyp) gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/build' gyp ERR! System Darwin 16.7.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" "--module_name=node_ios_device" "--module_path=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/binding/node-v57-darwin-x64" gyp ERR! cwd /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device gyp ERR! node -v v8.9.1 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/binding/node-v57-darwin-x64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at emitTwo (events.js:126:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:925:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) node-pre-gyp ERR! System Darwin 16.7.0 node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device node-pre-gyp ERR! node -v v8.9.1 node-pre-gyp ERR! node-pre-gyp -v v0.6.36 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/Users/eharms/.appcelerator/install/7.0.0/package/node_modules/node-ios-device/binding/node-v57-darwin-x64' (1) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.5 (node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.5 install:node scripts/install.jsnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.5 (node_modules/arrow/node_modules/appc-logger/node_modules/bunyan/node_modules/dtrace-provider): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.5 install:node scripts/install.jsnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.5 (node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/bunyan/node_modules/dtrace-provider): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.5 install:node scripts/install.jsnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.7.1 (node_modules/arrow/node_modules/ldapauth-fork/node_modules/ldapjs/node_modules/dtrace-provider): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.7.1 install:node scripts/install.jsnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-ios-device@1.4.0 install:node ./bin/run.js node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-ios-device@1.4.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/eharms/.npm/_logs/2017-12-18T21_51_11_267Z-debug.logMake sure the node_modules folder is deleted: After this command:
You should see a long list of files being deleted then when you get to the 'npm install' command the node_modules folder will be created again with correct permissionssudo rm -Rfv node_modulesThanks Luis -- After running your example, yes it did do what you said. Now that my install was probably a total mess, i thew out the application and installed a fresh version -- it now recognizes Xcode. Thanks! Eric
I'm glad it worked :)
Thanks for your help guys -- this one was a doozie!
Hey guys -- looked like I spoke too soon -- I noticed this last week and Im just being reminded as I test things, but liveview is not rebuilding the app as expected when saving project files. it doesnt work in Studio or via the CLI. let me know if you need any logs from me, or any suggestions as to what might be causing the issue. Thanks Eric
Well, that is another issue. But I don't have that one Do you see any visual error ?
I created a clean test project, cleared the log file and ran the project via Studio with the liveview button toggled on. I then saved a file, expecting a reload but nothing happens in terminal. Log details below, Ive confirmed both of the references directories do exist. Thanks Eric
!ENTRY com.aptana.core 1 0 2017-12-18 15:42:27.363 !MESSAGE (Build 5.0.0.201712081732) [INFO] com.aptana.core/debug/builder Performing incremental unified build on project 'test' !ENTRY com.aptana.core 1 0 2017-12-18 15:42:27.556 !MESSAGE (Build 5.0.0.201712081732) [INFO] com.aptana.core/debug/builder Finished unified build of 'test'. Took 193.929 ms. !ENTRY com.aptana.core 1 0 2017-12-18 15:42:44.792 !MESSAGE (Build 5.0.0.201712081732) [INFO] com.aptana.core/debug/builder Performing incremental unified build on project 'test' !ENTRY com.aptana.buildpath.core 1 0 2017-12-18 15:42:44.995 !MESSAGE (Build 5.0.0.201712081732) [INFO] com.aptana.core/debug/builder/participants Executed build participant 'Index Build Participant' on 'file:/Users/eharms/Documents/Appcelerator_Studio_Workspace/test/i18n/alloy_generated' in 0.065 ms. !ENTRY com.aptana.buildpath.core 1 0 2017-12-18 15:42:44.995 !MESSAGE (Build 5.0.0.201712081732) [INFO] com.aptana.core/debug/builder/participants Executed build participant 'Index Build Participant' on 'file:/Users/eharms/Documents/Appcelerator_Studio_Workspace/test/platform/ios/alloy_generated' in 0.046 ms. !ENTRY com.aptana.core 1 0 2017-12-18 15:42:44.997 !MESSAGE (Build 5.0.0.201712081732) [INFO] com.aptana.core/debug/builder Finished unified build of 'test'. Took 206.862 ms. !ENTRY com.aptana.core 1 0 2017-12-18 15:42:52.398 !MESSAGE (Build 5.0.0.201712081732) [INFO] com.aptana.core/debug/builder Performing incremental unified build on project 'test' !ENTRY com.appcelerator.titanium.core 1 0 2017-12-18 15:42:54.290 !MESSAGE (Build 5.0.0.201712081732) [INFO] Location to be watched doesn't exist: /Library/Application Support/Titanium/mobilesdk/osx !ENTRY com.appcelerator.titanium.core 1 0 2017-12-18 15:42:54.290 !MESSAGE (Build 5.0.0.201712081732) [INFO] Location to be watched doesn't exist: /Library/Application Support/Titanium/modules !ENTRY com.aptana.core 1 0 2017-12-18 15:42:54.901 !MESSAGE (Build 5.0.0.201712081732) [INFO] com.aptana.core/debug/builder Finished unified build of 'test'. Took 2,504.244 ms.Do you see anything like this on Appcelerator Console ?
In Appcelerator Studio Preferences -> Studio -> Liveview I don't have any info filled on the 3 fields and liveview works fine with me[INFO] : Launching iOS Simulator [LiveView] version 1.2.1 [LiveView] Alloy project monitor started [LiveView] File Server Started on 0.0.0.0:8324 [LiveView] Event Server Started on 0.0.0.0:8323 [INFO] : HyperloopTest/1.0 (7.0.0.f09dec4)I just did a hard reboot of my machine and now liveview is running. hopefully it cleared out whatever it was and Im good. Thanks again for your help Eric
just to confirm those 3 fields are empty for me as well. I do see the logs in terminal running the local ips with the proper ports. Thanks Eric