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

npm ERR! enoent ENOENT: no such file or directory '/.../@theforeman/env/bin/tfm-test.js' #93

Closed
1 of 5 tasks
sharvit opened this issue Dec 12, 2019 · 0 comments · Fixed by #94
Closed
1 of 5 tasks

Comments

@sharvit
Copy link
Contributor

sharvit commented Dec 12, 2019

I'm submitting a…

  • Regression (a behavior that used to work and stopped working in a new release)
  • Bug report
  • Feature request
  • Documentation issue or request
  • Support request

Expected Behavior

running npm install @theforeman/env should work

Current Behavior

running npm install @theforeman/env causing an error:

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /home/jenkins/workspace/foreman_ansible-pull-request/database/postgresql/label/fast/ruby/2.5/foreman/node_modules/@theforeman/env/bin/tfm-test.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/jenkins/workspace/foreman_ansible-pull-request/database/postgresql/label/fast/ruby/2.5/foreman/node_modules/@theforeman/env/bin/tfm-test.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Possible Solution

  • Remove the tfm-test command from the package bin
  • Give exec permissions to the ./bin/tfm-test.js file

Steps to Reproduce (for bugs)

Run npm install @theforeman/env

Environment

  • foreman-js version: 3.7.0
sharvit referenced this issue in sharvit/foreman-js Dec 12, 2019
sharvit added a commit that referenced this issue Dec 12, 2019
amirfefer pushed a commit to amirfefer/foreman-js that referenced this issue Dec 22, 2019
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

Successfully merging a pull request may close this issue.

1 participant