Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

errors installing npm & bower #164

Closed
bigara opened this issue Dec 14, 2014 · 2 comments
Closed

errors installing npm & bower #164

bigara opened this issue Dec 14, 2014 · 2 comments

Comments

@bigara
Copy link

bigara commented Dec 14, 2014

Hello,
We are new in most of the technologies used by this theme; Foundation, SASS etc. Our Github first clone too. Anyway, we are aware of the useful new features FoundationPress has inside. So we wanna use it in our last project.

OSX 10.10.1
Node.js, Grunt and Bower correctly installed
Cloning OK

But we have several errors when we run npm install && bower install in Terminal.
We compile the errors in npm.bebug.log by the consola, because the entirely debug is too long to paste here:
204 silly install resolved readme: 'ERROR: No README data found!' } ]
226 warn locking Error: EACCES, open '/Users/bigara/.npm/_locks/grunt-9ed61aa63a337ad3.lock'
226 warn locking /Users/bigara/.npm/_locks/grunt-9ed61aa63a337ad3.lock failed { [Error: EACCES, open '/Users/bigara/.npm/_locks/grunt-9ed61aa63a337ad3.lock']
227 verbose stack Error: Attempt to unlock /Applications/MAMP/htdocs/wordpress/wp-content/themes/bigara/node_modules/grunt, which hasn't been locked
229 error Darwin 14.0.0
230 error argv "node" "/usr/local/bin/npm" "install"
231 error node v0.10.33
232 error npm v2.1.12
233 error Attempt to unlock /Applications/MAMP/htdocs/wordpress/wp-content/themes/bigara/node_modules/grunt, which hasn't been locked

The theme looks OK in the browser and we can activate and use it normally.
Our idea is to install the thetrickster´s child them after resolve this errors.
thanks for this great theme and for the help !

@bigara bigara changed the title error in npm install && bower install errors installing npm & bower Dec 14, 2014
@linuxbastard
Copy link
Contributor

Hi,

Just a shot in the dark until the experts come on,but have you added your user to the _www group? and does the _www group have write access to the folders where your files are? _www is the user and group name of MAMP if I remember correctly. Since you're using MAMP, I'm assuming this is a local dev environment and it isn't open to the world, you can also just change the permissions to allow anyone to write in the wp-content folder and see if that fixes it.

@olefredrik
Copy link
Owner

Hello. This is a case where you apparently have challenges with users, roles and permissions, and otherwise has nothing to do with this theme.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants