If you use npm 5.1 or earlier, you can't use npx
.
Instead, install create-social-network
globally:
npm install -g create-social-network
Now you can run:
create-social-network my-network
However we recommend to use npx
, so you can always setup new project based on latest create-social-network
package.