clinical-meteor / node-on-fhir

Tech stack for building MACRA and 21st Century Cures compliant webapps.
GNU Affero General Public License v3.0
87 stars 12 forks source link

Error running nodeonfhir config #182

Open seanmcilvenna opened 1 year ago

seanmcilvenna commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Run with meteor --settings config/settings.nodeonfhir.json Receive the following errors:

[[[[[ /usr/src/app ]]]]]

=> Started proxy.
=> Meteor 2.10.0 is available. Update this project with 'meteor update'.
=> Errors prevented startup:

   While selecting package versions:
   error: unknown package in top-level dependencies:
   mitre:space-health-registry
   unknown package in top-level dependencies: mitre:consent-engine

=> Your application has errors. Waiting for file change.

Additional context Running in Docker using the following Dockerfile:

FROM node:14.20

ARG config="configs/settings.nodeonfhir.json"
ARG user=meteor
ARG group=meteor
ARG uid=1001
ARG gid=1001

ENV ROOT_URL="http://localhost:3000"
ENV NODE_ENV="test"

RUN curl "https://install.meteor.com/" | sh

COPY . /usr/src/app
WORKDIR /usr/src/app

RUN groupadd -g ${gid} ${group}
RUN useradd -u ${uid} -g ${group} -s /bin/sh -m ${user}
RUN chown -Rh ${uid} /usr/src/app
RUN chmod -R 700 /usr/src/app

USER ${uid}:${gid}

RUN meteor npm install

EXPOSE 3000
CMD ["meteor", "--settings", "${config}"]
technicalbirdVayuz commented 1 year ago

Hi @seanmcilvenna,

Any luck with this?

seanmcilvenna commented 1 year ago

No, but I haven't had to work with node-on-fhir lately. So, admittedly, haven't tried again.