Laverna / laverna

Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.
https://laverna.cc/index.html
Mozilla Public License 2.0
9.19k stars 801 forks source link

`ReferenceError: shimIndexedDB is not defined` when running current master build #246

Closed raucao closed 8 years ago

raucao commented 9 years ago

Hi,

I just wanted to try to update remoteStorage.js to the latest version (0.11.2 as opposed to 0.10.0-beta, which is currently in use), and ran into the following exception after building master and running the app from dist on localhost:

screenshot from 2015-04-29 20-25-10

It only shows an endless spinner and that exception. Looks like a dependency isn't defined or built somewhere.

I haven't found out how to run the app from source before building. Maybe sth to put in the README.

wwwredfish commented 9 years ago

We are working on it in the dev branch.

raucao commented 9 years ago

Ok, switched to that. But also just seeing a spinner and more errors (but different ones):

screenshot from 2015-04-29 20-52-27

valvin1 commented 9 years ago

i get the same issue on master and tag 0.6.2 without remoteStorage. it seems the problem is browser related on my side because on firefox 40.0.3 (ubuntu) I get this error message. But if I am using Chromium 44.0.2403.89 initialization is ok and i can use laverna correctly.

valvin1 commented 9 years ago

if it can help i have not the issue using 0.6.1

valvin1 commented 9 years ago

another information if i run :

grunt serve

i have not this issue but if it is behind apache I have the message "shimIndexedDB is not defined" maybe something in the conf ... any idea ?

wwebfor commented 8 years ago

The issue was with Requirejs configs. IndexedDBShim location was provided incorrectly.