Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to import modules in versions after 0.1.13rc0 (f79282c4) #1576

Open
jeapostrophe opened this issue Mar 15, 2023 Discussed in #1569 · 0 comments
Open

Not able to import modules in versions after 0.1.13rc0 (f79282c4) #1576

jeapostrophe opened this issue Mar 15, 2023 Discussed in #1569 · 0 comments

Comments

@jeapostrophe
Copy link
Collaborator

Discussed in #1569

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 (88e4890) 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: f79282c
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";

  1. Compiling with packages

Command: ./reach compile --install-pkgs

Output:

reachc: git: readCreateProcessWithExitCode: exec: invalid argument (Bad file descriptor)

  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant