Questions tagged [meteor]
Meteor is a modular platform for developing web and mobile applications in JavaScript based on the NodeJS platform.
29,107
questions
0
votes
0
answers
12
views
Meteor app is not working with nivo on runtime
I am now responsible for a meteor app. App has UI and server parts. UI part is written in ReactJS. In this app we have a component called AnalyticsDashboard which contains some anayltic data as a ...
0
votes
0
answers
7
views
Meteorjs equivalent of ws.send
Im trying to send a simple message that event has happened on the backend, specifically i have a observable that listens if anything changed/update in mongodb then updates the related record in ...
0
votes
1
answer
49
views
Meteor/Vue/Framework7: No style being used
I am using Framework7 with meteor and vue and I have included framework7 like this in my main.js:
import { Meteor } from 'meteor/meteor';
import { createApp } from 'vue';
import { VueMeteor } from '...
0
votes
0
answers
28
views
Meteor/Vue: Display result of search
I would like to add a search field to my app and show all articles from my Collection that match the entered value. The searchArticles method is called but the values are not shown as defined below ...
1
vote
1
answer
77
views
Meteor Blaze dynamic template CSS results in duplicate element IDs
I was given an old Bootstrap template to make it dynamic, and I had issues with dynamic CSS with ::before and ::after selectors check the below example image
The core issue is, that it works fine for ...
-1
votes
1
answer
21
views
How sign a message on Near with Meteor Wallet in js app?
I would like to get the signature of a message 'hello' on Near in my Next Js app.
I wanted to use this code : https://docs.near.org/develop/integrate/backend-login, but I did not manage to connect to ...
0
votes
1
answer
51
views
Evaluate's METEOR Implementation returns 0 score
I have the following codes:
import evaluate
reference1 = "犯人受到了嚴密的監控。" # Ground Truth
hypothesis1 = "犯人受到嚴密監視。" # Translated Sentence
meteor = metric_meteor.compute(predictions=[...
0
votes
0
answers
25
views
How can I make a TextField appear if the user selects the "Other" value from the SelectField?
I'm working with React and Bootstrap 5 to create a Meteor application. I want a text box to appear if the user selects the "Other" option from the drop down menu.
this is what I've tried so ...
3
votes
1
answer
162
views
Configuring MUI Components selector API with Babel in Meteor "TypeError: Cannot read property 'id' of null" on project start
I have a Meteor React project, for which I have added Material UI v5 (installation instructions), which comes with Emotion for CSS-in-JS styling:
$ meteor create --react meteor-react-mui
Created a new ...
0
votes
1
answer
38
views
meteor run android, got this errorAndroid target: Command failed with ENOENT: avdmanager list target spawn avdmanager ENOENT
meteor run android
Your system does not yet seem to fulfill all requirements to build apps for Android.
Please follow the installation instructions in the mobile guide:
http://guide.meteor.com/cordova....
0
votes
0
answers
129
views
Rocket.Chat ignores "ROOT_URL"
I downloaded the new Rocket.Chat 6.4.4 from tar.gz file (installing it as a service without docker)I and set up the service with the below environment variables:
ROOT_URL="https://full.domain....
0
votes
0
answers
19
views
404: NOT_FOUND - Meteor Vercel Deploy
After deploying to Vercel hosting I am getting this error: https://vercel.com/docs/errors/platform-error-codes#not_found
I don't know if Vercel supports meteor hosting. I have already tried adding a ...
0
votes
0
answers
27
views
NPM install other packages also with current package install command
I have a project and it is dockerized. Project use Meteor and Nodejs. So my Dockerfile conatians both :
FROM geoffreybooth/meteor-base:2.0 as build
and
FROM --platform=linux/amd64 node:14.21.3-...
0
votes
1
answer
18
views
Meteor.loginWithToken throwing 403 Login forbidden
I am implementing the login logic my own, instead of using Meteor.loginWithPassword.
After perform all the checking on user credential, i will generate access token from the backend:
And frontend ...
0
votes
0
answers
26
views
Accessing parent Template from within {{#each}} blocks
In my code, I do the following:
<template name=A>
{{#if something}}
{{#each items}}
{{> items}}
{{/each}}
{{/if}}
</template>
Elsewhere I need to get the instance of ...
1
vote
1
answer
22
views
Unable to use the jquery smartwizard npm package with meteor
I want to use the smartwizard package in my meteor project. I followed the installation instructions, but I' getting an error.
I installed it with:
npm install smartwizard
added it in the js file:
...
0
votes
1
answer
14
views
Meteor production and dev environments has different public folders
I notice that DEV ENV on meteor, public folder is under /public.
So I use something like:
fs.writeFile(process.env.PWD + "/public/" + file)
To save files.
On production, I notice that public ...
1
vote
1
answer
38
views
Button outside the <form> is not triggering its onSubmit function
I am creating a Popup screen. Here is the code so far -
import React, { useState } from 'react'
import { TasksCollection } from '../api/TasksCollection'
const TaskForm = () => {
const [text, ...
2
votes
0
answers
214
views
@swagger-api/apidom-reference/configuration/empty' error altough I run meteor npm i swagger-ui
meteor npm i swagger-ui
after run the code above
still gettings same error, when I look for node_modules/@swagger-api/apidom-reference/configuration/empty , I see there is no "configuration&...
0
votes
1
answer
81
views
Cannot read properties of undefined (reading 'slice') when trying to run our meteor application in chrome only
All of the sudden on our Meteor sites (only in chrome), we get the following router error message from time to time:
If you click on where the error is in the console, it points to this line:
var ...
0
votes
0
answers
9
views
No such file or directory, open '/usr/src/app/.meteor/local/build/programs/server/keycloak.json' when using keycloak-connect with meteorjs
I have the following main.ts :
import { Meteor } from 'meteor/meteor';
import { Accounts } from 'meteor/accounts-base';
import { TasksCollection } from '/imports/db/tasks';
import '/imports/api/...
0
votes
1
answer
12
views
executing a long running server method in meteor.js
I'm developing an app where :
the client clicks on a button to trigger a long running task on the server
the server executes the long running task and updates the task progression (lets say 10% every ...
0
votes
0
answers
34
views
Unable to Integrate Datadog APM with Meteor Application
I have tried to integrate Datadog APM with Meteor app, but it is not working. My meteor app is dockerized. Whenever I add the below configs for dd-trace within Dockerfile, container is getting started ...
0
votes
0
answers
42
views
Disable Rocket Chat message formatting
I wanna disable the Rocket Chat formatting like whenever i send a message that contains @@ it will automaticly converts to @ and i wanna disable it globally.
I know there are some solutions like using ...
0
votes
0
answers
18
views
Meteor fibers/future.js Push is not defined
I am attempting to run an old meteor app that is giving me some trouble. Below is the error I receive when using the command:
meteor --settings settings-development.json run ios
Example of what my ...
0
votes
1
answer
37
views
Updating array of objects with arrayFilters
I am trying to update an array of objects by applying a filter but no updates happen on any of the objects and no errors appear. I would like all objects according to my filter to be updated. I am ...
0
votes
0
answers
55
views
Webrtc issue - Skipping STUN server because of address type mis-match
I have been working with Webrtc project in the meteor platform. I am facing a strange issue whenever the peers are connecting from different network.
Here's step to reproduction -
Open https://...
0
votes
1
answer
73
views
Meteor hangs on installing Meteor tools
I am having an issue when trying to run meteor projects with version code < [email protected].
I am able to create and run a new project with no issues. I have tried the following commands with no ...
-1
votes
1
answer
58
views
What application deployment platforms for Meteor exist besides Meteor Galaxy? [closed]
I know some "easy" and "git push to deploy" deploying platforms, like Vercel, Coolify, Netlify, etc. But any of this platforms has not support for Meteor applications.
Is there any ...
2
votes
3
answers
96
views
Why can't an app inside a docker container access it's own API endpoint?
I use the docker desktop app on Windows.
Inside a Ubuntu WSL2 I have a docker container with a meteor / nodejs server running.
Started via docker-compose from inside the WSL.
docker-compose.yaml
...
...
0
votes
1
answer
35
views
Collection helpers meteor-dburles-collection-helpers with typescript
I am using dburles:collection-helpers in my meteor 2.12 project with typescript. I added this package with meteor add dburles:collection-helpers and the types with meteor yarn add @types/meteor-...
1
vote
2
answers
35
views
How to change browser router depending on the type of user logged in
I am building a web app using Meteor.js with React. The app has two types of users: "user" and "employer", each with their own routes (like different dashboards and other pages). ...
0
votes
1
answer
69
views
Node fibers error while running RocketChat self hosted on M1 Mac
Setup Reference
https://developer.rocket.chat/open-source-projects/server/server-environment-setup/mac-osx
Error screenshot:
enter image description here
I am trying to setup RocketChat v6 on a local ...
0
votes
1
answer
14
views
How to configure meteor app creation folder structure
I would like to ask how do we configure or modify the default behavior of Meteor create app.
I only need to add my own folders automatically whenever I use Meteor create, so I don't have to add ...
0
votes
0
answers
33
views
Meteor Unit Testing with meteortesting:mocha
I'm trying to add unit tests to my application. Currently I'm using
meteor 1.8.1, and meteortesting:mocha as test driver.
My issue is that when running a meteor test command the app seems not to load ...
0
votes
0
answers
22
views
Docker image run offline
I have a problem with image get from mupjs. I'm base on meteor (v2.10.0) and Vue 3. I get image from server(digitalocean) to run locally(offline) but container alway restarting
and use Mup js (v1.5....
0
votes
0
answers
14
views
Cannot parse key privately (github actions CD. deploy meteor app to ec2)
I am trying to setup up a simple CD workflow through github actions that deploys my meteor starter project on ec2 whenever i make a commit to the main branch. I have successfully configure my ec2 and ...
1
vote
1
answer
15
views
MeteorJS Session Object
I lately dived into MeteorJS.
I tried using the Session object once to make a simple todo list but when using methods such as Session.get() or Session.set() it doesn't work. When calling the Session ...
0
votes
0
answers
23
views
How to enable Flowrouter routes in Meteor JS
I recently went back to a meteor project and I'm trying to get my FlowRouter routes to work. At the moment its only rendering from the App.jsx file. None of my routes in lib/router.js are being used. ...
1
vote
1
answer
41
views
How to ensure Meteor publication is reactive to arguments
Why doesn't the users publication publish new data when its entities argument changes?
Client code
const subReady = useTracker(() => {
return Meteor.subscribe('users', selectedEntities).ready();
}...
0
votes
0
answers
25
views
Meteor Cloud Log: "The container is being stopped because it has failed too many health checks."
Specs:
I am hosting a Meteor Application on Meteor Cloud using a Quad Container (4GB Memory and 4 ECUs CPU)
About the App:
The Meteor app is built by a framework called Empirica. It is meant for ...
0
votes
1
answer
55
views
Pre-populate product data in mongoDB collection
I am developing a meteor and react application. I want to pre-populate data into my Product collection so that it will display products on the client server side when they run the app. It would ...
1
vote
0
answers
37
views
Meteor Files (ostrio:files) and storagePath for development and production
I use the ostrio:files packages for working with files in Meteor.
therefore i have this settings for the dev environment:
const docSettingsDev = {
storagePath: () => {
return `${process.env....
0
votes
0
answers
8
views
How to serve .pcss files in Meteor.js app?
I have a postcss enabled in my app, but I want to keep things separated. So how I can make Meteor to support css as .css and postcss as .pcss.
0
votes
0
answers
45
views
Receiving subscription data on Meteor using slava:redis-livedata
I am using Slava's redis-livedata package with Meteor: https://atmospherejs.com/slava/redis-livedata
I would like to subscribe to a particular match stored as a hash in Redis. In my methods file I am ...
0
votes
0
answers
68
views
Error: EACCES: permission denied, rename on WSL2 Ubuntu running on windows 10
I am trying to set up the meteorjs development environment and am trying to run the command './meteor --help' to install the dependencies. I am trying to install it in a local folder on my desktop ...
0
votes
0
answers
18
views
How do I test changes made to a repo while fixing an issue?
I am trying to fix an open issue in the MeteorJs repo on github. I built the development environment like the repo said and cloned the repo. I have looked at the issue and made the necessary change ...
0
votes
0
answers
14
views
Is it possible to know number of requests (method calls) made per second from an IP in meteor apps?
I see there is a DDP rate limiter but which will have the calls count per second per session.
I have a use case where I need to see all calls from a specific IP address per second. Please suggest any ...
0
votes
1
answer
55
views
How to set the type of the collection in typescript and meteor.js?
I’m really new to typescript and wonder how to set a type to a collection.
This is my part of the react component. I need to pull a user document from Users collection.
const user = useTracker(() =>...
1
vote
0
answers
169
views
Issues with Meteor JS on Macbook Air M1 2020
I am Currently running meteor JS on my Macbook Air M1 2020 on Ventura 13.3.1. While I was trying to learn how to work with meteor, I came across this particular issue that causes a lot of problems.
I ...