Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Databases Mongo Basics Getting Started With MongoDB Setting Up MongoDB

Ben Newton
Ben Newton
14,726 Points

Perms Error on MongoDB Install

Following through the installation steps for this course I get the following errors:

Error: An unexpected error occurred during the brew link step The formula built, but is not symlinked into /usr/local Permission denied @ dir_s_mkdir - /usr/local/Frameworks Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

I'm not sure what to do next. I certainly don't want to blindly make environment changes without understanding what happening. Any help would be appreciated.

1 Answer

Ben Newton
Ben Newton
14,726 Points

Solved this. Followed the steps here - https://pedrosneglectedtechblog.blogspot.com/2018/04/fix-on-macos-high-sierra-brew-link.html

It seems to be a High Sierra issue. Once I had completed the steps at that URL I then ran brew install mongodb again and it all worked