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

psc-package init does not work under Cygwin #73

Open
cebaa opened this issue Dec 4, 2017 · 1 comment
Open

psc-package init does not work under Cygwin #73

cebaa opened this issue Dec 4, 2017 · 1 comment

Comments

@cebaa
Copy link

cebaa commented Dec 4, 2017

When run from cmd prompt:

>psc-package init
Initializing new project in current directory
Using the default package set for PureScript compiler version 0.11.7
(Use --source / --set to override this behavior)
Updating 1 packages...
Updating prelude
>

When run from Cygwin:

$ psc-package init
Initializing new project in current directory
Using the default package set for PureScript compiler version 0.11.7
(Use --source / --set to override this behavior)
fatal: could not create work tree dir '.psc-package\psc-0.11.7\.set': No such file or directory
$

After making the parent of the above folder manually, i.e.:

$ mkdir -p .psc-package/psc-0.11.7

it proceeds, only to fail on the next one:

$ psc-package init
Initializing new project in current directory
Using the default package set for PureScript compiler version 0.11.7
(Use --source / --set to override this behavior)
Updating 1 packages...
Updating prelude
fatal: could not create work tree dir '.psc-package\psc-0.11.7\prelude\v3.1.1': No such file or directory

After creating this one too:

$ mkdir  -p .psc-package/psc-0.11.7/prelude

it finishes fine.

This is perhaps due to using \ instead of / for path separators.

Side note, all this is after manually copying purs.bin to purs.exe due to #34.

Rembane pushed a commit to Rembane/psc-package that referenced this issue May 26, 2018
* Add remotedata

* Add mmorph

* Add spec, pipes
@holdenlee
Copy link

holdenlee commented Dec 24, 2018

I also can't get it to work under Cygwin, but with a different error. Pulp version 12.3.0, purs version 0.12.1, psc-package version 0.5.1.

Access violation in generated code when reading 0000000091d4551a

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

No branches or pull requests

3 participants