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

now dev is not working on Windows O.S. #9

Closed
corentinway opened this issue Aug 28, 2019 · 4 comments
Closed

now dev is not working on Windows O.S. #9

corentinway opened this issue Aug 28, 2019 · 4 comments

Comments

@corentinway
Copy link

Describe the bug
A clear and concise description of what the bug is.
The error message iss saying
ENOENT: no such file or directory, open 'C:\Users\xxxxxxx\api\from-email\target\release\fromemail'
It seems that

  1. the .exe extension file is not happened to the binary name
  2. the build script is not testing if the file exists. It is failing at runtime.

To Reproduce
run now dev and now rust on windows OS.

Expected behavior
rust function is working

Logs
error message :

ENOENT: no such file or directory, open 'C:\Users\xxxxxxx\api\from-email\target\release\fromemail'

Environment (please complete the following information):

  • rust stable
  • rust edition 2018
  • now-rust latest

Additional context
Add any other context about the problem here.

@mike-engel
Copy link
Collaborator

@corentinway This should now be working. Thanks for your patience.

@remidebette
Copy link

Hi!

I wanted to test this but apparently now-rust@2.0.1 is not published on npm.

Should we use a different version?
Thanks

@mike-engel
Copy link
Collaborator

@remidebette sorry about that. Not sure what happened since I thought I published it. It should be up now.

@remidebette
Copy link

I confirm I can run the sample code on windows now, thanks!

(you might want to update the sample in the README to use 2.0.1)

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

3 participants