GZ Xue GZ Xue - 2 years ago 120
Javascript Question

I have installed slush-phaser-webpack globally but it is not working

I followed the doc of slush-phaser-webpack link

$ sudo npm install -g slush-phaser-webpack

Here is the output of npm :.
There is no error during installation.

I get this error
slush: command not found
after I type in 'slush'.

Env: mac osx el capitan

Answer Source

The plugin slush-phaser-webpack is correctly installed.

slush: command not found

This is because I didn't have slush installed on my computer.I need to install it first.Here is the code:

npm i slush -g
npm i --save-dev slush-phaser-webpack
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download