generact icon indicating copy to clipboard operation
generact copied to clipboard

Bug: Windows generact

Open Geczy opened this issue 7 years ago • 7 comments

image

This shouldn't be happening. It works perfect in a unix environment but not my windows 10

Geczy avatar Sep 14 '17 15:09 Geczy

This seems to be a problem with this function: https://github.com/diegohaz/generact/blob/master/src/utils.js#L11-L20

I don't have a Windows machine to test it. Could you try to change it?

diegohaz avatar Sep 14 '17 18:09 diegohaz

Parallels? Windows 10 vm's are free https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

Geczy avatar Sep 14 '17 18:09 Geczy

still not working on Windows 10 even not the extension of vs code.

Shhzdmrz avatar Apr 12 '18 05:04 Shhzdmrz

Hi, guys. I'd appreciate very much if some Windows user could take this.

The problem seems to be with this function: https://github.com/diegohaz/generact/blob/638f95242d4572887802bbe0551974870e69c02f/src/utils.js#L12-L21

diegohaz avatar Apr 12 '18 12:04 diegohaz

I am willing to contribute please guide me how to setup the basic environment and how to test it.

Shhzdmrz avatar Apr 12 '18 12:04 Shhzdmrz

Sure, @Shhzdmrz.

  1. Fork the repo and clone it in your local machine (git clone https://github.com/Shhzdmrz/generact);
  2. Change to the directory: cd generact;
  3. Install dependencies with yarn or npm install;
  4. Run tests with yarn test or npm test (if you're on Windows, some should fail);
  5. Keep tests running with yarn test --watch or npm test -- --watch;
  6. Update the code in src trying to make tests to pass.

Just make sure to run yarn lint before creating the PR.

diegohaz avatar Apr 12 '18 12:04 diegohaz

@diegohaz please check my forked branch with the comments I added.

Shhzdmrz avatar Apr 21 '18 18:04 Shhzdmrz