Meteor 0.9.0 Error: EACCES, permission denied '/Users/Jasper/.meteorsession'

After upgrading to meteor 0.9.0, I get the following error when starting the application in localhost

Error: EACCES, permission denied '/Users/Jasper/.meteorsession' at Object.fs.openSync (fs.js:432:18) at Object.fs.readFileSync (fs.js:289:15) at readSessionData (/Users/Jasper/.meteor/packages/meteor-tool/.1.0.26.1fmrgj1++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/auth.js:137:24) at Object.tryRevokeOldTokens (/Users/Jasper/.meteor/packages/meteor-tool/.1.0.26.1fmrgj1++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/auth.js:331:10) at main.registerCommand.name [as func] (/Users/Jasper/.meteor/packages/meteor-tool/.1.0.26.1fmrgj1++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands.js:197:8) at /Users/Jasper/.meteor/packages/meteor-tool/.1.0.26.1fmrgj1++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/main.js:1212:23 

Starting a meteor session with sudo meteor fixes this problem, but I was wondering what the reason is and how it can be fixed.

Thank you in advance

+6
source share
1 answer

Just delete the metetorsession and restart meteor and it will create a new .meteression directory.

Run the following code in the terminal:

 rm -rf /Users/Jasper/.meteorsession 
+8
source

Source: https://habr.com/ru/post/974535/


All Articles