Meteor

Are you using Ubuntu? If you have any issues with meteor command on your project folder.

your-app/meteor

and you got some error messages like this.

Retrying after error { [Error: SQLITE_CANTOPEN: unable to open database file]

errno: 14, code: 'SQLITE_CANTOPEN' }

Retrying after error { [Error: SQLITE_CANTOPEN: unable to open database file]

errno: 14, code: 'SQLITE_CANTOPEN' }

/home/sirbt/.meteor/packages/meteor-tool/.1.4.2_3.1qvo8je++os.linux.x86_32+web.browser+web.cordova/mt-os.linux.x86_32/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:190

throw error;

^



Error: SQLITE_CANTOPEN: unable to open database file

at Error (native)

=> awaited here:

…..

It is just a folder permission issue.

you can find the .meteor folder under your home folder

/home/user/.meteor

And change the folder permission.

chown -R owner-user:owner-group /home/user/.meteor/

And run again.

If you got any issues with npm, do the same for the .npm folder. You can find the .npm folder under your home folder

/home/user/.npm

And change the folder permission.

chown -R owner-user:owner-group /home/user/.npm/

I hope you got the solution.

Happy coding! Enjoy with Meteor.