HosseinKarami / fastshell

Fiercely quick front-end boilerplate and workflows, HTML5, Gulp, Sass
https://hosseinkarami.github.io/fastshell/
559 stars 130 forks source link

Permission denied error when running gulp-dev.command #1

Closed tyssen closed 10 years ago

tyssen commented 10 years ago

When clicking gulp-dev.command on OSX 10.9.4 I get:

$ ../gulp-dev.command; exit; -bash ../gulp-dev.command: Permission deined logout

I've given read/write permissions to gulp-dev.command and also the containing folder. Do I need to assign permissions to something else too?

HosseinKarami commented 10 years ago

hi

  1. make sure Node.js, Sass and Git Installed on your machine,
  2. then install gulp using sudo npm install -g gulp
  3. Navigate to the gulp-dev.command file and double-click it. This will open the Terminal and install the necessary node_modules folder, which are FastShell's dependencies. The gulp-dev.command file includes a sudo prefix so you'll need to enter your password to install. After that you can start your project and it should be work
tyssen commented 10 years ago

1 & 2 are already done. The error I reported in my original post is what I get when I do #3. Double-clicking the file opens terminal with the permission denied error. I don't even get to enter a password.

HosseinKarami commented 10 years ago

Hmmm, unfortunately I don't have Mac , anyway maybe open it manually, cd to the directory of your project and first run sudo npm install and then run gulp without the command file.

tyssen commented 10 years ago

Yep, that works. On 30 July 2014 at 6:06:59 pm, Hossein Karami (notifications@github.com) wrote:

Hmmm, unfortunately I don't have Mac , anyway maybe open it manually, cd to the directory of your project and first run sudo npm install and then run gulp without the command file.

— Reply to this email directly or view it on GitHub.

HosseinKarami commented 10 years ago

Good :+1: