Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Issues with Installing package.json and Watcher #2

Closed
Amm1rr opened this issue Feb 6, 2024 · 6 comments
Closed

Issues with Installing package.json and Watcher #2

Amm1rr opened this issue Feb 6, 2024 · 6 comments

Comments

@Amm1rr
Copy link

Amm1rr commented Feb 6, 2024

Hi!
I'm a bit confused while setting up the development environment. When installing package.json, numerous errors are occurring.
The log is quite confusing; perhaps it's specific to my system.

UPDATE:
Well, I still can't build the project, but I guess the issue lies in the installation of Watcher package

@Amm1rr Amm1rr changed the title Environmental Development Issues with Installing package.json and Watcher Feb 6, 2024
@sir-kokabi
Copy link
Owner

Hi @Amm1rr
Thank you for your interest in contributing to this project.
twifiner is developed using the Plasmo framework.
I've added a contributing section to the readme.
Follow the instructions there to begin developing the project

@Amm1rr
Copy link
Author

Amm1rr commented Feb 9, 2024

Thanks Ayoub,
I've been trying hard, but I've run into a snag while installing Plasmo. The specific issue is with the message:

npm ERR! gyp: binding.gyp not found (cwd: /home/amir/Works/twifiner/node_modules/@parcel/watcher) while trying to load binding.gyp

I'm currently in the process of troubleshooting to pinpoint the problem. I'll keep you posted on my findings.

Just a question, What version of Python do you have installed?

@Amm1rr
Copy link
Author

Amm1rr commented Feb 9, 2024

Well, I used below command to install and it's worked!

npm install -D --ignore-scripts
npm install -D plasmo --ignore-scripts
npm install -D sharp --ignore-scripts

@sir-kokabi
Copy link
Owner

Hey Amir,
I'm a bit concerned that you're using a non-standard method to install the required packages. 😉
Consider using pnpm, as suggested in the official docs. It might resolve the issues!
image

@Amm1rr
Copy link
Author

Amm1rr commented Feb 10, 2024

🫠
I have tried using pnpm before, but it resulted in an error. Now, I have tried again, and it is working successfully.

pnpm install

Thanks buddy

@sir-kokabi
Copy link
Owner

Good news!
Since everything is working now, I close this issue.
Thanks for the update!

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

No branches or pull requests

2 participants