browserify error /usr/bin/env: node: No such file or directory

后端 未结 9 613
盖世英雄少女心
盖世英雄少女心 2020-11-29 17:17

I installed node js and npm via apt-get install and all of the dependencies, then I installed browserify

npm install browserify -g

it goes

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 18:06

    sudo apt-get install nodejs-legacy
    

    This creates the symlink /usr/bin/node -> nodejs.

    Source: https://lists.debian.org/debian-devel-announce/2012/07/msg00002.html

提交回复
热议问题