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 on Rome toolchain init (package.json invalid author) #602

Open
Slexom opened this issue Jan 8, 2021 · 1 comment
Open

Error on Rome toolchain init (package.json invalid author) #602

Slexom opened this issue Jan 8, 2021 · 1 comment

Comments

@Slexom
Copy link

Slexom commented Jan 8, 2021

Steps

  • Add this as dependency.
  • Add Rome toolchain.
  • Run yarn rome init

Result


 node_modules/react-motion/package.json:72:12 parse/manifest ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ Expected object at author

    70 │     "ui"
    71 │   ],
  > 72 │   "author": [
       │             ^
  > 73 │     "nkbt",
  > 74 │     "chenglou"
  > 75 │   ],
       │ ^^^
    76 │   "license": "MIT",
    77 │   "dependencies": {

  ⚠ Our internal value has been modified since we read the original source

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✖ Found 1 problem
error Command failed with exit code 1.
@Slexom Slexom changed the title Error on usage with Rome toolchain Error on Rome toolchain init (package.json invalid author) Jan 8, 2021
@serprex
Copy link

serprex commented Jun 22, 2021

This seems like a bug in Rome

Granted, npm implies author should be one person & contributors used instead

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

2 participants