-
Notifications
You must be signed in to change notification settings - Fork 13
Installing the purescript npm package fails #21
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
Comments
Thanks for the report! |
This looks similar to #16 |
Can you check whether a file |
Oh also, is there a file |
There is no |
Ok, thanks. The file |
After installing stack |
That seems odd, stack should take care of installing the appropriate GHC for you. Could you post the whole output please? |
|
Thanks. The
|
On the last step |
Ok, I think I found the issue. In the purescript source code |
Maybe we could try to detect whether we are on a nix system and pass the |
Yes, that sounds like it would fix the issue |
Couldn't the prebuilt binaries be linked statically instead? I'm wondering if that's an easier solution that could make the npm approach more portable. |
They could, but it’s not that easy to set up. |
Description
Installing purescript through
npm i -g purescript
fails with output shown underneath. Also tried installing the package in a local project, but got the same error.Full debug log here
To Reproduce
npm i -g purescript
Expected behavior
I expect the package to install correctly without failure.
Additional context
OS Info:
Npm info:
prefix=~/.npm-global
Allows npm packages to be installed globally on NixOS
PureScript version
0.13.6
The text was updated successfully, but these errors were encountered: