Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when following the Quickstart steps in the README #16

Open
timcdavid opened this issue Mar 19, 2018 · 2 comments
Open

Error when following the Quickstart steps in the README #16

timcdavid opened this issue Mar 19, 2018 · 2 comments

Comments

@timcdavid
Copy link

timcdavid commented Mar 19, 2018

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.

@jlengstorf
Copy link
Member

Hey, @timcdavid — I’ve been unable to dedicate time to GrAMPS recently (pretty much since I left IBM).

I’m happy to review and merge pull requests, but I’m not able to put any dev time into this project for the foreseeable future. (Happy to discuss adding other maintainers if someone is interested!)

Since GrAMPS was released, Apollo released a similar tool called data sources that solves a lot of what GrAMPS is intended to solve. This may be a better solution for you because it's actively maintained.

Thanks for opening this issue!

@muescha
Copy link

muescha commented Apr 13, 2019

Should the hint about Apollo Data Sources also added to the readme of the GrAMPS repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants