IRCCloud icon indicating copy to clipboard operation
IRCCloud copied to clipboard

Remove shell scripts.

Open dalinaum opened this issue 10 years ago • 5 comments

Make some npm modules to remove shell scripts.

dalinaum avatar Jun 26 '15 02:06 dalinaum

[email protected] postinstall /home/sjpark/IRCCloud/node_modules/electron-prebuilt
> node install.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 127
npm ERR! not ok code 0

electron-prebuilt doesn't run on Linux. I have to find more generic solution.

dalinaum avatar Jun 26 '15 12:06 dalinaum

Note from /usr/share/doc/nodejs/README.Debian:

The upstream name for the Node.js interpreter command is "node".
In Debian the interpreter command has been changed to "nodejs".

This was done to prevent a namespace collision: other commands use
the same name in their upstreams, such as ax25-node from the "node"
package.

Scripts calling Node.js as a shell command must be changed to instead
use the "nodejs" command.

Sym-linking /usr/bin/nodejs to /usr/bin/node fixes the issue.

Tux64 avatar Aug 26 '15 23:08 Tux64

Thanks. I had a mistake. But I still want to remove shell scripts.

dalinaum avatar Aug 27 '15 08:08 dalinaum

@dalinaum 503f9d18e3

Tux64 avatar Sep 09 '15 01:09 Tux64

@Tux64 LGTM. I think you can imporve this app. So I add you as a collobrator. You can push your commits directly.

dalinaum avatar Sep 09 '15 15:09 dalinaum