Questions tagged [meteor-packages]

All of Meteor's functionality is implemented in modular packages. In addition to the core packages documented above, there are many others that you can add to your app to enable useful functionality.

Docs

61 questions
9
votes
1 answer

Meteor package import css files from npm package that is only marked as dependency using tmeasday:check-npm-versions

Since quite some time there is this package tmeasday:check-npm-versions that allows to define an implicit npm package dependency to a Meteor package. Use this package if you are writing an Atmosphere package that depends on a given npm package is…
Jankapunkt
  • 8,128
  • 4
  • 30
  • 59
5
votes
1 answer

Operation not permitted mkdir \path\\node_modules\\@types\''

I am trying to run the command npm install --no-bin-links as part of trying to fix a different issue. The original issue comes from me trying to install the aldeed:simple-schema package, which resulted in an error about a missing simpl-schema…
Spencer Cornwall
  • 289
  • 2
  • 14
5
votes
1 answer

How do you create a meteorJS package with build options for the user?

I'm creating a meteor package for a JS library that contains a number of optional plugins in the main repository. I would like to provide the option for the user to select which library extensions to use, without always including them…
bigmadwolf
  • 3,419
  • 3
  • 30
  • 44
5
votes
1 answer

Angular-Meteor - How can I include ng template in package-based design?

I have an Angular-Meteor application working. I would like to package Angular templates and associated controller into a Meteor package, and inject these templates into my main application by adding that package. What is best approach? Update…
davedonohue
  • 212
  • 5
  • 14
3
votes
0 answers

Meteor packages dynamic imports fail with templating as weak dependency

The Package I have a shared library as Meteor package with the following structure: ui - componentA.html - componentA.js - loader.js - ... tools - toolXY.js - ... and while tools are shared among many of my apps (and the ui), the ui…
Jankapunkt
  • 8,128
  • 4
  • 30
  • 59
3
votes
3 answers

Meteor 1.5 : Dynamic Import for Blaze

I am having two questions: 1) I want to use Meteor 1.5 Dynamic Import for Blaze but all the examples and tutorials are given for React. So I am confused how exactly it can be used . Can anyone give examples of it. 2) I am using packages from…
Rashmi
  • 565
  • 2
  • 7
  • 29
3
votes
0 answers

How do I resolve the "ctx is not defined" issue?

I am having issues using the em0ney:chartjs package, which is a meteor package to display graphic charts. I cant seem to be able to get any graphs to display inside the cavnvas/template. Can someone kindly help me. Following is the code in my…
SirBT
  • 1,580
  • 5
  • 22
  • 51
3
votes
0 answers

Meteor admin panel without Bootstrap

I'm developing an app with Semantic UI, and I'm looking for a admin panel (like the yogiben:admin) that does not require Bootstrap. Does anyone have a suggestion? I'm not that comfortable writing a whole admin solution myself, and the closest I…
Filip Blaauw
  • 731
  • 2
  • 16
  • 29
2
votes
0 answers

How to add custom style to meteor accounts ui for react?

I have just started learning react and Meteor. I am using the okgrow:accounts-ui-react to show a login and signup form on my site. You only have to add the component to show the signup/login form on your page. However, the dropdown form is ugly and…
WOW
  • 317
  • 1
  • 3
  • 13
2
votes
0 answers

Cleanest way to access / log method arguments when an error is thrown?

Meteor.methods foo: (a, b) -> notDefined.bar() Meteor.call('foo', 1, 2) Right now all I'm getting in the logs and in Kadira is the error object and stack trace. I'd like to know what a and b are (1 and 2). It would be nice to know args to…
Loren
  • 13,903
  • 8
  • 48
  • 79
2
votes
0 answers

Error in building meteor app

When I try to deploy my app (with meteor-up mup deploy command) I got this error on build step then I test and found that same error also return when use meteor build command: Building Started:…
b24
  • 2,425
  • 6
  • 30
  • 51
2
votes
1 answer

Meteor .versions file update

I am developing a small meteor package, and I know that, to be consistent with the builds, meteor will create a .versions file in my package when I publish it. That's fine, and I understand that, but, as the .versions should go in my version control…
Oliver
  • 1,360
  • 9
  • 14
2
votes
1 answer

How can I tell which package is preventing another package from being updated?

$ meteor list foo 0.9* ... $ meteor update foo Your packages are at their latest compatible versions. How can I tell which package has a dependency that stops foo from being updated?
Loren
  • 13,903
  • 8
  • 48
  • 79
1
vote
0 answers

How to include import files in Meteor compiler plugin?

Let's say I have a file plugin.js, with the following contents: class MyCompiler { processFilesForTarget(files) { files.forEach(file => { const output = myExternalFunction(file); file.addJavaScript({ data: output, …
Cereal
  • 3,699
  • 2
  • 23
  • 36
1
vote
0 answers

Using a debugOnly package in integration tests (MeteorJS)

I'm moving our test-data into a debugOnly package. This way I can ensure that no test-data will be available on production installations and the methods that clean the DB and create fixtures will be unavailable too. That means when we run our…
sba
  • 1,829
  • 19
  • 27
1
2 3 4 5