Nativescript Sidekick cloud build error. Available builds being counted down too - nativescript

I’m experiencing some issues on my Sidekick’s iOS cloud build, where in it says that it built successfully then notifies an error message. Hence, no downloaded ipa archive.
My available cloud builds are being counted down due to ‘successful’ build. But there’s no ipa file downloaded. I feel like I’m being ripped off. :(
Details.
iOS cloud build
-Release box checked with Uglify, Snapshot, AOT checked too.
-used an iOS Adhoc distribution profile.
Error Message. (I don’t have any proxies as far as I know.)
[18-04-12 19:19:37.347] Build failed. read ECONNRESET
[18-04-12 19:32:10.741] (CLI) (node:17386) Error: read ECONNRESET
at exports._errnoException (util.js:1020:11)
at TLSWrap.onread (net.js:580:26)
[18-04-12 19:32:12.642] (CLI) (node:17386) Error: read ECONNRESET
at exports._errnoException (util.js:1020:11)
at TLSWrap.onread (net.js:580:26)
[18-04-12 19:32:13.803] (CLI) (node:17386) Error: read ECONNRESET
at exports._errnoException (util.js:1020:11)
at TLSWrap.onread (net.js:580:26)
[18-04-12 19:32:21.098] (CLI) (node:17386) Error: read ECONNRESET
at exports._errnoException (util.js:1020:11)
at TLSWrap.onread (net.js:580:26)
[18-04-12 19:32:21.110] (CLI) (node:17386) Error: read ECONNRESET
at exports._errnoException (util.js:1020:11)
at TLSWrap.onread (net.js:580:26)
[18-04-12 19:32:21.706] (CLI) (node:17386) Error: read ECONNRESET
at exports._errnoException (util.js:1020:11)
at TLSWrap.onread (net.js:580:26)
[18-04-12 19:39:26.066] Build failed. read ECONNRESET

Your build is actually successful and that's why your remaining builds are decreasing. Your build result download request is interrupted while NativeScript Sidekick downloads your ipa. This can happen if you have network request restrictions.
You can get the result download url from the detailed build logs and try to download the ipa manually. The build result download url will look like this https://[s3-bucket-name].s3.amazonaws.com/[some-random-string]/[project-name].ipa?[some-s3-temp-credentials]
You should just get the detailed logs and search for .ipa in them to find the download url.
How to enable detailed logs:
Open [path-to-installed-nativescript-cli]/config/config.json
Change the DEBUG option to true
The config should look like this:
{
"DEBUG": true,
"TYPESCRIPT_COMPILER_OPTIONS": {},
"CI_LOGGER": false,
"ANDROID_DEBUG_UI_MAC": "Google Chrome",
"USE_POD_SANDBOX": false,
"DISABLE_HOOKS": false
}
If you still can't download your ipa, you should try to use another network to see if the problem is in your network.
If you manage to download the ipa manually from the download link, you could submit a bug report in https://github.com/NativeScript/sidekick-feedback/issues.
If the suggested above does not help you to resolve the issue, I still recommend that you open a new issue in the repository mentioned above.

Related

VSCode: gopls: failed to install [read "https:/proxy.golang.org/#v/v0.1.0.zip": stream error: stream ID 9; NO_ERROR; received from peer]

While opening my Go project in VSCode or using the Go: install/update tools command I am getting the following error:
1 tools failed to install.
gopls: failed to install gopls(golang.org/x/tools/gopls#latest): Error: Command failed: /usr/local/bin/go install -v golang.org/x/tools/gopls#latest
go: downloading golang.org/x/sys v0.1.0
../../pkg/mod/golang.org/x/tools#v0.2.1-0.20221101170700-b5bc717366b2/go/packages/external.go:15:2: golang.org/x/sys#v0.1.0: read "https:/proxy.golang.org/#v/v0.1.0.zip": stream error: stream ID 9; NO_ERROR; received from peer
GOPATH is set properly (other tools were installed successfully).
Versions:
VSCode: 1.73.1
Golang: 1.19.3.
Found a workaround:
I simply updated the GOPROXY environment variable:
export GOPROXY="direct"
It started working after that.
Maybe some network issue within my company proxy was causing this in the first place.

Vercel won't build Gatsby site because of missing 404 page

I'm working on a Gatsby site that's hosted on Vercel. It runs fine locally but when I push it to Vercel the build breaks with the error message "error An unexpected error occurred: "https://registry.yarnpkg.com/#user/dom/-/dom-0.0.11.tgz: Request failed \"404 Not Found\"". Full log is included below.
When I first encountered the error, the src/pages/404.js file was indeed missing. So therefore I created it, as a standard functional component, no special features.
When I run the 404-preview from the dev version (localhost:8000/randomstring) it shows up fine. And when I try building it locally gatsby build, it succeeds :
│ └ /something/
└ src/pages/404.js
├ /404/
└ /404.html
I've tried creating new Vercel projects, also from a different account, with the same result. I've not found any other post containing this issue.
Here is the complete build log:
[16:16:00.967] Retrieving list of deployment files...
[16:16:02.582] Downloading 60 deployment files...
[16:16:04.867] Installing build runtime...
[16:16:06.018] Build runtime installed: 1.151s
[16:16:06.063] Installing build runtime...
[16:16:08.203] Build runtime installed: 2.139s
[16:16:09.140] Looking up build cache...
[16:16:09.351] Looking up build cache...
[16:16:09.622] Build Cache not found
[16:16:09.848] Build Cache not found
[16:16:09.957] Detected package.json
[16:16:09.958] Installing dependencies...
[16:16:10.305] yarn install v1.22.17
[16:16:10.437] [1/4] Resolving packages...
[16:16:10.490] Installing dependencies...
[16:16:11.187] [2/4] Fetching packages...
[16:16:13.099] error An unexpected error occurred: "https://registry.yarnpkg.com/#myverceluser/dom/-/dom-0.0.11.tgz: Request failed \"404 Not Found\"".
[16:16:13.100] info If you think this is a bug, please open a bug report with the information provided in "/vercel/path2/yarn-error.log".
[16:16:13.100] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[16:16:47.226] Error: Command "yarn install" exited with 1
[16:16:47.441] yarn install v1.22.17
[16:16:47.552] [1/4] Resolving packages...
[16:16:48.313] [2/4] Fetching packages...
[16:16:48.946] error An unexpected error occurred: "https://registry.yarnpkg.com/#myverceluser/utils/-/utils-0.0.5.tgz: Request failed \"404 Not Found\"".
[16:16:48.946] info If you think this is a bug, please open a bug report with the information provided in "/vercel/path1/yarn-error.log".
[16:16:48.947] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[16:16:49.494] Error: Command "yarn install" exited with 1
Any insight would be deeply appreciated. Let me know if I've left some vital information out and I'll add it.
Thanks.
I think it's not that your 404 page is missing - doesn't the framework provide a default?
But rather that it can't fetch this package,
% curl https://registry.yarnpkg.com/#user/dom/-/dom-0.0.11.tgz
{"error":"Not found"}
Is it this https://yarnpkg.com/package/dom? That doesn't have version 0.0.11.

`npm install` issues/failure with expo-cli and react-native-app

I really need some help with what seems to be the most basic task (setting up the expo/react-native project). I've installed the expo-cli (v3.11.7), react-native (v2.0.1), watchman (v4.9.0) and node (v12.14.1). I've followed the tutorial up until the point where I need to run expo start and I get the following error:
Your project is in SDK version >= 33.0.0, but the expo package version seems to be older.
Error: node_modules directory is missing. Please run npm install in your project directory.
Couldn't start project. Please fix the errors and restart the project.
Set EXPO_DEBUG=true in your env to view the stack trace.
I've then run npm install and tried again but the same error pops up. I've removed the node_modules folder and that didn't work either.
Update:
When I npm install this is the error I'm seeing:
npm WARN deprecated core-js#1.2.7: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
npm ERR! code EPROTO
npm ERR! errno EPROTO
npm ERR! request to https://codeload.github.com/expo/react-native/tar.gz/sdk-36.0.0 failed, reason: write EPROTO 4521895360:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40
I've installed yarn (v1.21.1) and tried installing using this with the same error:
warning expo > fbemitter > fbjs > core-js#1.2.7: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
error An unexpected error occurred: "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz: write EPROTO 4356277696:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40
Can anyone advise?
I've managed to solve the problem. I was trying to install over my home network, which apparently has some proxy restrictions! No idea why.
Someone advised me to try again but connected to another network or my mobile hotspot. I tried this and it worked! Problem solved. So I guess for any others that may be experiencing the same problem, try connecting to another network and see if that helps.
If this fails, then I suppose looking at the proxy configuration and making changes there may help. But I wouldn't advise doing this unless you know exactly what you're doing.

NativeScript - 'Build failed with error code 2'

My NativeScript Angular project, on which I've been working for some time, stopped compiling about one week ago, error message is Build failed with error code 2.
But, on another machine project compiles normally!
On both computers I use
NativeScript Sidekick, latest version: 1.19.1-v2019.8.1.2,
NativeScript CLI version: 6.0.3,
CLI extension nativescript-cloud version: 1.18.1,
CLI extension nativescript-starter-kits version: 0.3.5
I've reinstalled node, tns and Sidekick, I've deleted cloud cache, I've created new Telerik account in order to try to avoid anything cached on the cloud.
[19-08-19 10:18:56.133] Error detected during LiveSync on 709dacd534f7bbb357482d696468f8efbd5888ac for C:\Users\USR\Documents\NATIVESCRIPT\proj. Error: Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:00:27.138] [WARN] Executing webpack failed with exit code 2.
[00:00:27.522] [ERROR] Executing webpack failed with exit code 2.
'Build failed with error code 2'.
[19-08-19 10:20:26.189] Error detected during LiveSync on D67LLNGU7HY96HVO for C:\Users\USR\Documents\NATIVESCRIPT\proj. Error: Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:00:17.670] [WARN] Executing webpack failed with exit code 2.
[00:00:17.730] [ERROR] Module not found: Error: Can't resolve './info.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/info'
[00:00:17.730] [ERROR] Module not found: Error: Can't resolve './specs1.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/specs/specs1'
[00:00:17.731] [ERROR] Module not found: Error: Can't resolve './specs2.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/specs/specs2'
[00:00:17.731] [ERROR] Module not found: Error: Can't resolve './lzs.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/info/lzs'
[00:00:17.731] [ERROR] Module not found: Error: Can't resolve './specs.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/specs'
[00:00:17.731] [ERROR] Module not found: Error: Can't resolve './aboutus.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/aboutus'
[00:00:17.731] [ERROR] Module not found: Error: Can't resolve './pdk.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/info/pdk'
[00:00:17.731] [ERROR] Module not found: Error: Can't resolve './tips1.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/tips/tips1'
[00:00:17.731] [ERROR] Module not found: Error: Can't resolve './tips2.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/tips/tips2'
[00:00:17.734] [ERROR] Module not found: Error: Can't resolve './stuff.component.css' in '/mnt/storage/builds/_/0065576d41c5e3acbcdc3ba31c41167f50faec72/6.0.3/6.0.0/proj/src/app/info/stuff'
[00:00:17.996] [ERROR] Executing webpack failed with exit code 2.
'Build failed with error code 2'.
I build simultaneously for iOS and Android.
EDIT:
[19-08-21 08:56:25.214] Build started.
[19-08-21 08:56:26.279] (CLI) Preparing project...
[19-08-21 08:56:26.286] (CLI) Project successfully prepared (ios)
[19-08-21 08:56:26.835] (CLI) Starting Cloud build. Cloud operation id: 8367422f-bdae-4aef-bb0c-a4ff5dcb94a8
[19-08-21 08:56:26.840] (CLI) Getting accounts information...
[19-08-21 08:56:27.785] (CLI) Using account 79475b26e9fe4bf1952e3298ce5c9214.
[19-08-21 08:56:27.785] (CLI) Cloud build of 'C:\Users\usr\Documents\ns\acmeapp', platform: 'iOS', configuration: 'Debug'.
[19-08-21 08:56:28.784] Upload step started.
[19-08-21 08:56:29.383] (CLI) Unable to use git, reason is:
[19-08-21 08:56:29.383] (CLI) Git Installation Not Found. Install Git to improve the speed of cloud builds.
[19-08-21 08:56:37.691] Upload step completed.
[19-08-21 08:56:39.237] Build step started.
[19-08-21 08:56:44.398] (CLI) ios Build Tooling revision 2019.08.07.1r
[19-08-21 08:56:44.398] (CLI) Build Tooling Hostname administrators-mac-14.local
[19-08-21 08:56:44.398] (CLI) Unzip Project Files
[19-08-21 08:56:44.398] (CLI) NativeScript CLI version 6.0.3
[19-08-21 08:56:44.398] (CLI) Add platform ios with runtime version 6.0.1
[19-08-21 08:56:47.360] (CLI) Copying template files...
[19-08-21 08:56:50.375] (CLI) Platform ios successfully added. v6.0.1
[19-08-21 08:56:50.375] (CLI) Prepare Project for Platform - ios
[19-08-21 08:57:20.477] (CLI) Preparing project...
[19-08-21 08:57:33.894] (CLI) Hash: 7b2f90d5b50178cb7f9d
[19-08-21 08:57:33.894] (CLI) Version: webpack 4.27.1
[19-08-21 08:57:33.894] (CLI) Time: 10055ms
[19-08-21 08:57:33.894] (CLI) Built at: 08/20/2019 11:57:40 PM
[19-08-21 08:57:33.894] (CLI) Asset Size Chunks Chunk Names
[19-08-21 08:57:33.894] (CLI) bundle.js 61.8 KiB bundle [emitted] bundle
[19-08-21 08:57:33.894] (CLI) fonts/FontAwesome.ttf 162 KiB [emitted]
[19-08-21 08:57:33.894] (CLI) package.json 81 bytes [emitted]
[19-08-21 08:57:33.894] (CLI) runtime.js 71.4 KiB runtime [emitted] runtime
[19-08-21 08:57:33.894] (CLI) tns_modules/tns-core-modules/inspector_modules.js 643 bytes tns_modules/tns-core-modules/inspector_modules [emitted] tns_modules/tns-core-modules/inspector_modules
[19-08-21 08:57:33.894] (CLI) vendor.js 3.84 MiB vendor [emitted] vendor
[19-08-21 08:57:33.894] (CLI) Entrypoint bundle = runtime.js vendor.js bundle.js
[19-08-21 08:57:33.894] (CLI) Entrypoint tns_modules/tns-core-modules/inspector_modules = runtime.js vendor.js tns_modules/tns-core-modules/inspector_modules.js
[19-08-21 08:57:33.894] (CLI) [./app.scss] 19.8 KiB {bundle} [built]
[19-08-21 08:57:33.894] (CLI) [./main.ts] 926 bytes {bundle} [built]
[19-08-21 08:57:33.894] (CLI) [./package.json] 73 bytes {bundle} {tns_modules/tns-core-modules/inspector_modules} [optional] [built]
[19-08-21 08:57:33.894] (CLI) + 173 hidden modules
[19-08-21 08:57:33.894] (CLI) ERROR in src/app/foobar/bar-foobar/bar-foobar.component.ts(63,25): error TS2339: Property 'ios' does not exist on type 'Observable'.
[19-08-21 08:57:33.894] (CLI) src/app/foobar/bar-foobar/bar-foobar.component.ts(65,25): error TS2339: Property 'android' does not exist on type 'Observable'.
[19-08-21 08:57:33.894] (CLI) src/app/foobar/bar-foobar/bar-foobar.component.ts(67,25): error TS2339: Property 'android' does not exist on type 'Observable'.
[19-08-21 08:57:33.894] (CLI) src/app/foobar/bar-foobar/bar-foobar.component.ts(67,118): error TS2304: Cannot find name 'android'.
[19-08-21 08:57:33.894] (CLI) Webpack compilation complete.
[19-08-21 08:57:33.894] (CLI) Executing webpack failed with exit code 2.
[19-08-21 08:57:33.894] (CLI) # tns prepare
[19-08-21 08:57:33.894] (CLI) ### Description
[19-08-21 08:57:33.894] (CLI) Starts a Webpack compilation and prepares the app's App_Resources and the plugins platforms directories. The output is generated in a subdirectory for the selected target platform in the platforms directory. This lets you build the project for the selected platform. You must specify the target platform for which you want to prepare your project.
[19-08-21 08:57:33.894] (CLI) When running this command the HMR (Hot Module Replacement) is not enabled by default. In case you want to enable HMR, you can pass --hmr flag.
[19-08-21 08:57:33.894] (CLI) ### Commands
[19-08-21 08:57:33.894] (CLI) ┌─────────┬──────────────────────────┐
[19-08-21 08:57:33.894] (CLI) │ Usage │ Synopsis │
[19-08-21 08:57:33.894] (CLI) │ General │ $ tns prepare <Platform> │
[19-08-21 08:57:33.894] (CLI) └─────────┴──────────────────────────┘
[19-08-21 08:57:33.894] (CLI) ### Arguments
[19-08-21 08:57:33.894] (CLI) <Platform> is the target mobile platform for which you want to prepare your project. You can set the following target platforms.
[19-08-21 08:57:33.894] (CLI) * android - Prepares your project for an Android build.
[19-08-21 08:57:33.894] (CLI) * ios - Prepares your project for an iOS build.
[19-08-21 08:57:33.894] (CLI) ### Options
[19-08-21 08:57:33.894] (CLI) * --hmr - Enables the hot module replacement (HMR) feature.
[19-08-21 08:57:33.894] (CLI) * --force - If set, skips the application compatibility checks and forces npm i to ensure all dependencies are installed. Otherwise, the command will check the application compatibility with the current CLI version and could fail requiring tns migrate.
[19-08-21 08:57:35.416] (CLI) Executing webpack failed with exit code 2.
[19-08-21 08:57:43.483] Build step completed.
[19-08-21 08:57:43.489] (CLI) Unable to apply changes on device: 709dacd534f7bbb357482d696468f8efbd5888ac. Error is: Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:00:49.725] [WARN] Executing webpack failed with exit code 2.
[19-08-21 08:57:43.489] (CLI) [00:00:51.335] [ERROR] Executing webpack failed with exit code 2.
[19-08-21 08:57:43.489] (CLI) 'Build failed with error code 2'..
[19-08-21 08:57:43.494] Error detected during LiveSync on 709dacd534f7bbb357482d696468f8efbd5888ac for C:\Users\usr\Documents\ns\acmeapp. Error: Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:00:49.725] [WARN] Executing webpack failed with exit code 2.
[00:00:51.335] [ERROR] Executing webpack failed with exit code 2.
'Build failed with error code 2'.
[19-08-21 08:57:43.501] Stopped LiveSync on 709dacd534f7bbb357482d696468f8efbd5888ac for C:\Users\usr\Documents\ns\acmeapp.
And I've pinned the suspect - this started after I installed Angular CLI, but now even if I uninstall Angular CLI, error remains and I cannot use NativeScript!

Why am I getting errors running the coffee command in cygwin?

I followed the CoffeeScript installation guide by installing Node.js with the node-v0.10.9-x64.msi installer. I then started up a cygwin console and cd'd into the directory with my .coffee file. If I type coffee all by itself, it gives me this error:
$ coffee
coffee>
events.js:72
throw er; // Unhandled 'error' event
^
Error: read ENOTCONN
at errnoException (net.js:884:11)
at Socket._read (net.js:389:21)
at Socket.Readable.read (_stream_readable.js:320:10)
at Socket.read (net.js:291:43)
at new Socket (net.js:185:10)
at process.stdin (node.js:660:19)
at new REPLServer (repl.js:132:15)
at Object.exports.start (repl.js:312:14)
at Object.module.exports.start (C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\repl.js:106:23)
at Object.exports.run (C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:77:32)
at Object.<anonymous> (C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\bin\coffee:7:41)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
And if I run the command with -lw it gives me this error:
$ coffee -lw Example.js.coffee
Error: This socket is closed.
at Socket._write (net.js:618:19)
at doWrite (_stream_writable.js:219:10)
at writeOrBuffer (_stream_writable.js:209:5)
at Socket.Writable.write (_stream_writable.js:180:11)
at Socket.write (net.js:596:40)
at lint (C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:468:15)
at compileScript (C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:193:18)
at C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:144:18
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
And if I run with just the -l option it gives me this error:
$ coffee -l Example.coffee
Error: This socket is closed.
at Socket._write (net.js:618:19)
at doWrite (_stream_writable.js:219:10)
at writeOrBuffer (_stream_writable.js:209:5)
at Socket.Writable.write (_stream_writable.js:180:11)
at Socket.write (net.js:596:40)
at lint (C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:468:15)
at compileScript (C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:193:18)
at C:\Users\foo\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:144:18
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
But it seems like I can compile and/or watch option without the lint option and things work as expected.
I don't know anything about Node.js. I've tried googling these errors and I see similar ones related to ports in use and socket issues. I think it might be useful to note that I'm using Intellij IDEA (an IDE) and it has a CoffeeScript plugin which perhaps is interfering. But when I turn Intellij off I still get these same errors so that might be a red herring.
Also, perhaps there's a specific cygwin version of node.js I should have installed instead of the one I got from the installation instructions?
If I type node all by itself, it says this:
$ node
events.js:72
throw er; // Unhandled 'error' event
^
Error: read ENOTCONN
at errnoException (net.js:884:11)
at Socket._read (net.js:389:21)
at Socket.Readable.read (_stream_readable.js:320:10)
at Socket.read (net.js:291:43)
at new Socket (net.js:185:10)
at process.stdin (node.js:660:19)
at startup (node.js:145:16)
at node.js:901:3
Unfortunately, node no longer supports Cygwin.
One workaround is to use some variety of MSysGit as a console instead of Cygwin, at least for running node/coffeescript. Git Bash supplies a good one. You can get it here.

Resources