Description
I'm trying to follow the steps in the README to run this datasource in Develop mode locally using the GrAMPS cli. After I install the dependencies, I see this error if I run either "yarn dev" or "npm run dev":
yarn run v1.5.1
$ gramps dev -d ./
The GrAMPS CLI is intended for local development only.
-> created a temporary directory at /Users/tdavid/Documents/workspace/sps/data-source-xkcd/node_modules//dist/.tmp/data-source-xkcd
(node:3369) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.0". If you are sure you have a compatible version of , it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "" or "babel-core" to see what is calling Babel.
(node:3369) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
-> cleaning up temporary files
Successfully shut down. Thanks for using GrAMPS!
error An unexpected error occurred: "Command failed.
Exit signal: SIGTERM
Command: sh
Arguments: -c gramps dev -d ./
===============================
The above error happens if I used "npm install" to install the dependencies.
If I use "yarn install" to install the dependencies, I see this error:
================================
yarn run v1.5.1
$ gramps dev -d ./
The GrAMPS CLI is intended for local development only.
-> created a temporary directory at /Users/tdavid/Documents/workspace/sps/data-source-xkcd/node_modules/@gramps/cli/.tmp/data-source-xkcd
(node:5274) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'loose' of undefined
(node:5274) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
-> cleaning up temporary files
Successfully shut down. Thanks for using GrAMPS!
The above error also seems to indicate a mismatch in the babel versions.