How to import local package?


#1

So I’m trying to fix a quirk of the ground:db package.
I cloned the code I’m interested in to /myapp/packages/
meteor add ground:db works as expected

meteor show ground:db shows pointing to the local package

But how do I import using the modules syntax?
import { Ground } from 'meteor/ground:db’
reports
app/client/imports/services/site.service.ts (5, 24): Cannot find module ‘meteor/ground:db’.

However this works fine if using the non-local version of ground:db.


#2

Any solution for this. I am also getting the same error.


#3

Did you find any solutions? Am facing the same issue.

Am trying to use ground:db with Angular 2 to build offline support app.