Closed lorensr closed 4 years ago
is this still an issue?
This seems to be like this package should only run on the server to report the issue.
Yes, for future reference, checking npm versions should be done on the server even if the npm module code is needed on the client.
It currently always says
X is not installed
:check-npm-versions.js:28 Uncaught Error: apollo-client@^0.3.12 not installed.
This may be misleading, in the case that you have installed with
npm i
, but the client doesn't see it. Consider:meteor add apollo
npm i --save apollo-client
: error on clientimport { meteorClientConfig } from 'meteor/apollo';
to client file: error on client (is this a bug? the file that definesmeteorClientConfig
imports fromapollo-client
)import { ApolloClient } from 'apollo-client';
to client file: error goes awayPerhaps could say
X is either not installed or has not been imported on the client