-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
[Bug] unable to install dev dependency TypeStrong / fs-fixture-builder #2171
Comments
If you want to wait on resolving this I'm working on making a PR that adds fs-fixture-builder as a local dependency in the test folder and point it at that instead since that repo seems pretty broken. (I can't get either the src folder or dist folder when i npm install it) I figure this is an acceptable solution since typedoc is pointing at a specific commit anyways but, let me know if you disagree! |
Why is the dev dependency not installing? |
From my research I believe it is because see but, the I think it was intended that when it is installed the "prepare" script would run and generate the dist folder when the package as installed but, since the This has been updated see https://github.com/TypeStrong/fs-fixture-builder/blob/main/package.json But, I still don't get either folder when installing even from the latest commit so NPM might be cacheing some rules or something. I'm not entirely sure. Either way, judging from the commit history, it seems like Sorry probably more than you asked for. Were you able to re-create the issue? |
i'm going to try cloning and installing on my linux laptop see if it makes a difference |
Your amazing we need more people like you keep up the good work ,you will
be noticed for your skills and ability s.
Shannon Day
…On Thu, Feb 16, 2023, 4:20 PM Michael Sorensen ***@***.***> wrote:
Why is the dev dependency not installing?
From my research I believe it is because fs-fixture-builder only included
the /dist folder when installing from npm (specifically on the commit
that TypeDoc uses)
see files property on the package.json
https://github.com/TypeStrong/fs-fixture-builder/blob/5a9486bc66f6e36988106685768396281f6cbc10/package.json
but, the /dist folder is also .gitignored
https://github.com/TypeStrong/fs-fixture-builder/blob/5a9486bc66f6e36988106685768396281f6cbc10/.gitignore
I think it was intended that when it is installed the "prepare" script
would run and generate the dist folder when the package as installed but,
since the /src folder is not included under files in package.json we
don't get it when we install it via npm.
This *has* been updated see
https://github.com/TypeStrong/fs-fixture-builder/blob/main/package.json
But, I *still* don't get either folder when installing even from the
latest commit so NPM might be cacheing some rules or something. I'm not
entirely sure.
Either way, judging from the commit history, it seems like
fs-fixture-builder has struggled with this way of distributing the code.
So I'm thinking that putting a local version in TypeDoc would be a solution
until that's figured out. And then you guys (or I idk I'm new here lol) can
run the tests before approving PRs in the CI/CD pipeline.
Sorry probably more than you asked for.
Were you able to re-create the issue?
—
Reply to this email directly, view it on GitHub
<#2171 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWMIKFPIZOI6CQAS5Z6VU7TWX2R4TANCNFSM6AAAAAAU6TBA6A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
well I'm not so sure about that lol. it seemed to install correctly on my linux machine. Now I am thinking it's a networking issue on my end :/ going to close this for now |
I experience this issue to |
Search terms
fs-fixture-builder
Expected Behavior
I expect to be able to install fs-fixture-builder so I can run tests before submitting a PR :)
Actual Behavior
Typedoc does nothing wrong except when installing I get this error:
Even if the commit hash worked because the devs of fs-fixture-builder have their /dist folder in the .gitignore file I'm not even sure anything would pop up if we could install it lol.
Steps to reproduce the bug
simply clone typedoc and try to run
npm install
Environment
The text was updated successfully, but these errors were encountered: