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

Not possible to run xmigrate create command because of the wrong format, that date-fns won't allow #7

Closed
serhii-dolia opened this issue Oct 28, 2019 · 2 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@serhii-dolia
Copy link

xmigrate version is 0.7.36
When running a command node_modules/.bin/xmigrate create "name" --template es6 I get an error:

🔥  Status: Operation executed with error
🧨  Error: {}
📨  Message: Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr

The problem is in dist folder(main.js:14 and main.js.map, there we use YYYYMMDDHH instead of the small letters), which is not corresponding to the src (there the correct format is used). I wanted to create a PR, but there's no info on how to actually build the dist and I don't have an gapi, so leaving this issue instead.

@Stradivario
Copy link
Member

@serhii-dolia Thank you for noticing that!

Gapi is a Command line tool for Graphql API

https://github.com/Stradivario/gapi-cli

https://github.com/Stradivario/gapi-cli/wiki

Before 2 days i change it and run the tests but i forgot to build dist.

Regards for your issue!

@Stradivario
Copy link
Member

Stradivario commented Oct 28, 2019

@serhii-dolia

Regards for the issue!
Please try npm i -g @rxdi/xmigrate and if you have problem reopen this issue!

@Stradivario Stradivario self-assigned this Oct 28, 2019
@Stradivario Stradivario added bug Something isn't working good first issue Good for newcomers labels Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants