Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

npm install fails because of missing dist files #7

Closed
4 of 9 tasks
aoberoi opened this issue Jan 31, 2017 · 1 comment
Closed
4 of 9 tasks

npm install fails because of missing dist files #7

aoberoi opened this issue Jan 31, 2017 · 1 comment
Labels

Comments

@aoberoi
Copy link
Contributor

aoberoi commented Jan 31, 2017

Description

npm install fails because of missing dist files

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

slack-events version: v1.0.0-beta.1
node version: v7
OS version(s): macOS v10.12.2

Steps to reproduce:

  1. npm install --save @slack/events-api@beta

Expected result:

successful installation

Actual result:

ankur:test-node-events-api/ $ npm install --save @slack/events-api@beta
npm WARN test-node-events-api@1.0.0 No description
npm WARN test-node-events-api@1.0.0 No repository field.
npm ERR! Darwin 16.3.0
npm ERR! argv "/Users/ankur/.nvm/versions/node/v7.2.0/bin/node" "/Users/ankur/.nvm/versions/node/v7.2.0/bin/npm" "install" "--save" "@slack/events-api@beta"
npm ERR! node v7.2.0
npm ERR! npm  v4.0.2
npm ERR! path /Users/ankur/Developer/play/test-node-events-api/node_modules/@slack/events-api/dist/verify.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/ankur/Developer/play/test-node-events-api/node_modules/@slack/events-api/dist/verify.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/ankur/Developer/play/test-node-events-api/node_modules/@slack/events-api/dist/verify.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! Please include the following file with any support request:
npm ERR!     /Users/ankur/Developer/play/test-node-events-api/npm-debug.log
@aoberoi aoberoi added the bug label Jan 31, 2017
@aoberoi
Copy link
Contributor Author

aoberoi commented Jan 31, 2017

the issue is that the dist/ directory isn't in the distribution tarball, since its listed in .gitignore. the solution is to commit an empty .npmignore file to override the inheritence of .gitignore.

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

No branches or pull requests

1 participant