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

index.js file is missing from the project #136

Open
gbdlin opened this issue Sep 8, 2021 · 0 comments
Open

index.js file is missing from the project #136

gbdlin opened this issue Sep 8, 2021 · 0 comments

Comments

@gbdlin
Copy link

gbdlin commented Sep 8, 2021

When trying to install the package using npm install @codefresh-io/yaml-validator, an error occurs:

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /home/gwynbleidd/Packages/codefresh-schema/node_modules/@codefresh-io/yaml-validator/index.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/gwynbleidd/Packages/codefresh-schema/node_modules/@codefresh-io/yaml-validator/index.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

This error is caused by missing index.js file referred in the package.json as the command line entry point. The error started on version 0.1.0 and exists in all versions up to the most recent one.

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

1 participant