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

Failed to install the package #1

Closed
kadoyau opened this issue Apr 15, 2017 · 5 comments
Closed

Failed to install the package #1

kadoyau opened this issue Apr 15, 2017 · 5 comments

Comments

@kadoyau
Copy link

kadoyau commented Apr 15, 2017

context

https://twitter.com/kadoyau/status/853101245912891392

log

❯❯❯ npm cache clean
❯❯❯ npm install -g scrapbox-converter
npm WARN deprecated [email protected]: Use npmjs.org/babel-preset-env instead, see https://github.com/babel/babel-preset-env
/usr/local/lib
└── (empty)

npm ERR! path /usr/local/lib/node_modules/scrapbox-converter/dist/index.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/scrapbox-converter/dist/index.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/kadoyau/.npm/_logs/2017-04-15T04_51_44_272Z-debug.log

environments

  • OS: macOS Sierra 10.12.3
❯❯❯ node -v
   v7.9.0
❯❯❯ npm -v
   4.5.0

FYI

The following steps work for me:

  • clone this repository
  • npm run build
  • GYAZO_ACCESS_TOKEN=MY_ACCESS_TOKEN node dist/index.js hoge.enex > hoge.json
@pastak
Copy link
Owner

pastak commented Apr 15, 2017

It reproduces in my environment

@pastak
Copy link
Owner

pastak commented Apr 16, 2017

memo: I updated package but it got cb() never called!

@pastak
Copy link
Owner

pastak commented Apr 17, 2017

I update package v.0.1.6 then you can install it. 🙇

NOTE: I don't know why package packed with yarn pack (it runs in yarn publish) is different from npm pack ( via npm publish )

@pastak
Copy link
Owner

pastak commented Apr 17, 2017

related yarn's issue: yarnpkg/yarn#2851

@pastak pastak closed this as completed Apr 17, 2017
@kadoyau
Copy link
Author

kadoyau commented Apr 18, 2017

I have just installed v.0.2.1 succesfully. Thanks!

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