After that the error Response code 403 disappeared, but another one appeared
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (50900)
which is also related to the mongodb runner that is described in this PR
Changing the version of the mongodb-runner dependency in package.json from 4.7.2 to 4.8.1, it could be that the latest versions are working as well.
After this change the problems with mongodb-runner disappeared, but another problem appeared that is related to a module that is explicit in the file server.js
I don't know if this module should have been installed or not when running npm install, but for some reason, I can only actually run the tests, after commenting out the code in server.js
Thank you for reporting. The @parse/simple-mailgun-adapter was removed from Parse Server. It will have to be installed separately. I can do a PR to include these changes and update the docs
Issue Description
Hi, I tried to run the parse-php-sk tests based on the description of
CONTRIBUTING
and got several errors.Contributing: https://github.com/parse-community/parse-php-sdk/blob/master/CONTRIBUTING.md
When running
npm start
, the first error that is caught isResponse code 403
which is linked to the mongodb-runnerProblem description
: https://github.com/mongodb-js/runner/issues/162Solution that worked for me:
Change the version of
MONGODB_VERSION
from4.0.4
to4.4.6
in package.jsonAfter that the error
Response code 403
disappeared, but another one appearedTypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (50900)
which is also related to the mongodb runner that is described in this PR
Problem description
: https://github.com/mongodb-js/runner/issues/177Solution that worked for me:
Changing the version of the mongodb-runner dependency in package.json from
4.7.2
to4.8.1
, it could be that the latest versions are working as well.After this change the problems with mongodb-runner disappeared, but another problem appeared that is related to a module that is explicit in the file
server.js
Error: Cannot find module '@parse/simple-mailgun-adapter'
I don't know if this module should have been installed or not when running npm install, but for some reason, I can only actually run the tests, after commenting out the code in
server.js
Steps to reproduce
Environment Details
SO: WSL2 Ubuntu 20.04
php -v 7.4.3
composer --version Composer 1.10.1 2020-03-13 20:34:27
node -v v14.16.0
npm -v 6.14.11