Closed claudio-silva closed 9 years ago
Do you have Xcode installed?
I didn't. May I suggest that you add a section on the Readme named "Requirements" listing what one should have installed before attempting to use any of the builder scripts?
I have install Xcode, and now I get another error.
I run npm install
and it succeeds.
Then I run script/bootstrap
and it fails:
Node: v0.12.0
npm: v1.4.28
Installing build modules...
Installing apm...
dyld: lazy symbol binding failed: Symbol not found: _node_module_register
Referenced from: /Users/claudio/Sites/tmp/atom-shell-starter/apm/node_modules/atom-package-manager/node_modules/keytar/build/Release/keytar.node
Expected in: dynamic lookup
dyld: Symbol not found: _node_module_register
Referenced from: /Users/claudio/Sites/tmp/atom-shell-starter/apm/node_modules/atom-package-manager/node_modules/keytar/build/Release/keytar.node
Expected in: dynamic lookup
/Users/claudio/Sites/tmp/atom-shell-starter/apm/node_modules/atom-package-manager/bin/apm: line 40: 29689 Trace/BPT trap: 5 "$binDir/$nodeBin" --harmony_collections "$binDir/../lib/cli.js" "$@"
i
I also tried to script/clean
and repeat script/bootstrap
, but to no avail.
Sorry for all the trouble - I think your node.js version needs to be 0.10.x, not the one that was just released
Thanks, I'll try again with node 0.10.x.
On 16/02/15 23:01, Paul Betts wrote:
Sorry for all the trouble - I think your node.js version needs to be 0.10.x, not the one that was just released
— Reply to this email directly or view it on GitHub https://github.com/atom/atom-shell-starter/issues/43#issuecomment-74585918.
Ok, I'm using node 0.10.36 now, and Pyton 2.7.
script/bootstrap
runs fine.
But script/build
fails at the grunt task:
Running "build-atom-shell" task
>> Traceback (most recent call last):
>> File "script/bootstrap.py", line 127, in <module>
>> sys.exit(main())
>> File "script/bootstrap.py", line 35, in main
>> update_atom_modules('spec')
>> File "script/bootstrap.py", line 77, in update_atom_modules
>> execute_stdout([apm, 'install'])
>> File "/private/var/folders/4j/knpk5tyj5kd5vs8hqkg62wwr0000gn/T/eightoheight-build/atom-shell/script/lib/util.py", line 150, in execute_stdout
>> execute(argv)
>> File "/private/var/folders/4j/knpk5tyj5kd5vs8hqkg62wwr0000gn/T/eightoheight-build/atom-shell/script/lib/util.py", line 132, in execute
>> output = subprocess.check_output(argv, stderr=subprocess.STDOUT)
>> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 566, in check_output
>> process = Popen(stdout=PIPE, *popenargs, **kwargs)
>> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 709, in __init__
>> errread, errwrite)
>> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1326, in _execute_child
>> raise child_exception
>> OSError: [Errno 2] No such file or directory
What now?
@claudio-silva I think you got a half-baked eightoheight-build directory, run bootstrap again
Yes, that fixed it. I've successfully built atom-shell. Thank you very much for your help.
Just a couple of additional questions:
EightOhEight.app
EightOhEight Helper.app
and/or anything more?
@claudio-silva You don't have to think about the helper, you just copy EightOhEight.app over
Is it really 108Mb just for an empty app? I'm shocked...
Apple routinely sends down 1GB+ updates, let's keep it in perspective :) Zipped it will come to ~40MB
Indeed! :-) I just wished there was a lighter solution for developing desktop apps with web technologies. Thanks.
@claudio-silva It's a pain in the ass to get started, but now that it works it'll be mostly out of your face. I'll try to work on making Atom Shell easier to build.
Great! I'm still evaluating my options to find out what is the easiest, simplest, lightest, fastest way to create apps using web tech. I like (and use) Atom and I'm looking forward to using atom-shell-start on my projects. Too bad it doesn't work for mobile. I guess I'll have to use Cordova for that, but it may be difficult to make the same application run on both platforms seamlessly. What are your thoughts on that?
@claudio-silva Atom Shell probably won't ever end up running on Mobile because of iOS, but you could probably pretty easily reimplement the Cordova APIs you need in Atom Shell so you wouldn't have to have as many #IFs in your code
@paulcbetts Thanks for the tip! It could be a very viable solution, if I just map calls from one API to the other.
I get errors when running:
npm install
script/bootstrap
script/buid
Ex, for
script/bootstrap
or
npm install