How to fix the need to use sudo before starting Meteor? -


i have no clue why seem need use 'sudo mrt' everytime start meteor. need use sudo when installing mrt packages otherwise permission denied errors.

i inspected folder on mac , seems have full read & write permission.

i tried command

sudo chown -rv [username] [directory] 

and still no luck, need keep using sudo meteor.

how can take full ownership of folder , not have use sudo anymore when doing meteor?

i guess installed meteorite local node module (this create node_modules directory in folder typed install command).

you need install mrt globally using command :

sudo npm install -g meteorite 

this install mrt users on system , won't need sudo run mrt.

you can try reset ownership of meteor folder (i had issue 1 time).

sudo chown -r $user:$user ~/.meteor 

if you're out of luck, try uninstall both mrt , meteor start scratch , detect procedurally problem is.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -