Originally posted by **temptemp3** March 8, 2023
Good day.
I am having issues compiling a reach program using modules in v0.1.13-rc.0 are later. I started with the latest version to date 0.1.13-rc.3 (88e48902) and worked my way back to the latest stable version 0.1.12. Reach version 0.1.12 works as expect.
Here is what I am seeing on 0.1.13-rc.0 or later:
1) Compiling
Command: `./reach compile --install-pkgs`
Output:
REACH_VERSION: f79282c4
reachc: git: readCreateProcessWithExitCode: exec: invalid argument (Bad file descriptor)
reachc: error[RI0003]: Cannot install packages; did you mean to run with `--install-pkgs`?
./index.rsh:4:30:import from
4| import { api, view, events } from "@temptemp3/arc-72#arc-72-v0.1.13r0:index.rsh";
2) Compiling with packages
Command: `./reach compile --install-pkgs`
Output:
reachc: git: readCreateProcessWithExitCode: exec: invalid argument (Bad file descriptor)
2) Updating
Command `./reach update `
Output:
```
Please stand-by...reach: HttpExceptionRequest Request {
host = "docs.reach.sh"
port = 443
secure = True
requestHeaders = []
path = "/reach"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
(InternalException (HandshakeFailed (Error_Protocol ("certificate has unknown CA",True,UnknownCa))))
```
Here is the source code for the reach program. Not that I added an import line to an existing module.
https://github.com/temptemp3/arc-72/blob/discussions/1569/index.rsh
Discussed in https://github.com/reach-sh/reach-lang/discussions/1569