Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQLite Can't open — Meteor create app

I'm trying to create a new app with Meteor (this is the first time I've used it on this computer).

When I try and start a new app:

meteor create simple-todos

I'm getting the following error and creating the app fails:

{ [Error: SQLITE_CANTOPEN: unable to open database file]
stack: [Getter] }

And below that I get some other errors:

Error: SQLITE_CANTOPEN: unable to open database file
    at Object.Future.wait (/Users/Jack/.meteor/packages/meteor-tool/.1.1.4.2l3p0l++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:398:15)

I can't find other people having this same issue, so I'm a bit in the dark as to how to debug or fix. Pointers as to how to debug / fix this would be really helpful.

like image 938
Jack Wild Avatar asked Nov 29 '22 10:11

Jack Wild


1 Answers

It may be a permission error.

In order to fix this issue, you could try to adjust the permission by running this command:

sudo chown -R $USER ~/.meteor
like image 139
Matthias A. Eckhart Avatar answered Dec 15 '22 16:12

Matthias A. Eckhart