-
Notifications
You must be signed in to change notification settings - Fork 44
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
Instructions in code-setup fails to build on darwin #134
Comments
I reproduced the issue & tried out removing the dependency too.. from the package.json file it works fine after the removal, but how do we ensure that the removal of this dependency doesn't affect other things? @techsavvyash |
@techsavvyash @ChakshuGautam can you guys guide me here? I wanted to know “Out of the 6 optional dependencies”, is one picked & installed based on the host hardware & OS by nodejs-polars? (and the other five are ignored?) Or should the developer add some configuration to handle this? or should the Devs manually modify the package.json as the OS & hardware change? |
Hey @Deekshithrathod, |
@techsavvyash Alright, cool. Reached out to the maintainer of I ran the test previously seems to work fine, none of them failed when I removed the Linux dependency. Will check again & raise a PR. Do I have to wait till it's assigned to me? or can I raise a PR immediately? |
Hey @Deekshithrathod, please go ahead and raise a PR. This stack overflow answer is highly appreciated. Thanks for the contribution. |
@techsavvyash Unit tests seem to run fine, but all end-to-end tests are failing, I don’t think the removal of
I’m completely new to nest & typescript, but from the inital glance I understood that some form of Dependency injection is happening here. My assumption is that injection is happening without instantiating, I would appreciate it if you can point me to a source where I can find more about this. If you can provide some help directly that would be even better. Injectable()
export class DatasetService {
private readonly logger: Logger = new Logger(DatasetService.name);
constructor(
public prisma: PrismaService,
private qbService: QueryBuilderService,
private eventGrammarService: EventService,
@Inject('DATABASE_POOL') private pool: Pool, // injected without instantiating
) {} |
Hey @Deekshithrathod, I suppose the e2e tests are broken right now. Please make sure the unit tests work and raise a PR. Thanks |
@techsavvyash although this is not really that important, still raised a PR. Lmk if you want me to make any more changes. |
Hi!
Without these details, the ticket cannot be listed on the C4GT Community Listing. Please update the ticket |
@techsavvyash I see that you've merged the changes, you should close this issue as well or should I do it from my end? (also, do I have the appropriate permissions to do that?). Also, I have another PR waiting for approval, that too.. is a simple one here if possible, please take a loot at it. |
Description
The code setup and build instructions in code-setup doc fails to build on
darwin
.Steps to reproduce:
darwin
machine.Root Cause:
npm install
Fails with the error. (yarn install
fails with a similar error) -Potential Fix:
The build succeeded after removing the mentioned dependency from
package.json
. This was verified by successfully running the tests viayarn test
which succeeded after removing the dependency.There already seems to be a dependency on nodejs-polars, which makes me think that explicit dependency on the linux-x64 binary for this package can be removed.
Additional Info:
Goals
The goal is to fix the issue as outlined in the description either via the suggested fix or some other way.
Project
cQube-ingestion
Organisation Name
Samagra | Transforming Governance
Mentor(s)
@techsavvyash @ChakshuGautam
Technical Skills Needed
NodeJS, NPM
Complexity
Low
Category
Bug fix
Sub Category
Project Setup
Domain
Others
The text was updated successfully, but these errors were encountered: