I didn't need to change the permissions of node_modules. There may be an alternate way to solve the problem, though.