Npm redirect script breaks postinstall script for package?


#1

Had a quick stab at installing Purescript on a project, but it seemed to break. The binary part of the package doesn’t get installed properly for some reason, so nothing works.

Asked on Github, and maintainer suggested the problem is with the script Glitch uses to redirect npm calls to pnpm. You can see the issue here: https://github.com/purescript-contrib/node-purescript/issues/61#issuecomment-431339074

The Glitch project is here: https://glitch.com/edit/#!/exultant-spell


#2

Does the same thing occur if you’ve run enable-npm or does that introduce a space issue preventing you from getting that far?


#3

Ah! I forgot I could do that. That seems to work! I’ll have to tinker a bit more but it even all seems to fit on the disk.

Thanks!