You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the first option checks to see if the require starts with a ., and then if it does, it prepends the rootpath + /. So if you input .bundles/mybundle/datasource, it would output /rootpath/.bundles/mybundle/datasource, which in my system wouldn't work. Maybe the . is supposed to be removed?
The second option seems promising though, if there are no dots anywhere...then require. Which if you're giving a filepath would seem likely...except that filepath probably has an extension...like ~/bundles/mybundle/datasource/sqlite-datasource.js. So that doesn't work. And the last one is the NPM. I'm just wondering how this is supposed to work? Am I not understanding it correctly?
Thanks!
The text was updated successfully, but these errors were encountered:
I'm having trouble using this sqlite datasource through npm...it isn't exactly clear to me why
https://github.com/coderintherye/ranvier-datasource-sqlite
So I thought I would try and and just direct link it in the config..this is lines 27-37 of
DataSourceRegistry#load
So the first option checks to see if the require starts with a
.
, and then if it does, it prepends therootpath + /
. So if you input.bundles/mybundle/datasource
, it would output/rootpath/.bundles/mybundle/datasource
, which in my system wouldn't work. Maybe the.
is supposed to be removed?The second option seems promising though, if there are no dots anywhere...then require. Which if you're giving a filepath would seem likely...except that filepath probably has an extension...like
~/bundles/mybundle/datasource/sqlite-datasource.js
. So that doesn't work. And the last one is the NPM. I'm just wondering how this is supposed to work? Am I not understanding it correctly?Thanks!
The text was updated successfully, but these errors were encountered: