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

Installed package contains package.json only #7

Open
devlato opened this issue Jun 12, 2018 · 7 comments
Open

Installed package contains package.json only #7

devlato opened this issue Jun 12, 2018 · 7 comments

Comments

@devlato
Copy link

devlato commented Jun 12, 2018

Hello,

after installing the package with npm I have discovered that the package directory contains a package.json file only. What happened?

@UFOMelkor
Copy link

See #5

@gregplaysguitar
Copy link

#5, and #1 as linked from there, leave me none-the-wiser as to why the installed package is empty. @bcherny if this project is dead, could you write a note in the readme to avoid people wasting time trying to get it working?

@bcherny
Copy link
Owner

bcherny commented Mar 19, 2019

Hey Greg, check out the PRs. This package is under development, and as the readme notes, is in pre-alpha.

@gregplaysguitar
Copy link

Ok, no problem, appreciate your work! Just wasn't obvious to me that npm install wouldn't work (it might be obvious to others)

@acao
Copy link

acao commented Apr 4, 2019

  1. you need files entry for dist/src. only main is included by default. dist/src/cli won't ship without it.
  2. prepublishOnly should be prepublish to hook into default npm publish behavior

@acao
Copy link

acao commented Jun 2, 2019

still getting:
warning "[email protected]" has no binaries

@acao
Copy link

acao commented Jun 2, 2019

this package has a binary that works, if folks are looking: @dylanvann/flow-to-typescript

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

5 participants