Coder Social home page Coder Social logo

EXP | with-jotai about plasmo HOT 16 CLOSED

ColdSauce avatar ColdSauce commented on May 18, 2024
EXP | with-jotai

from plasmo.

Comments (16)

wadhia-yash avatar wadhia-yash commented on May 18, 2024 1

I would like to contribute

from plasmo.

wadhia-yash avatar wadhia-yash commented on May 18, 2024 1

Go to the monorepo root folder and run

pnpm i
pnpm build

and then try again

The second cmd should be pnpm build:cli since we just want the plasmo cli to be built here I think. Also, you will need to do pnpm i again afterward to ensure the plasmo binary is properly linked

It worked
I did following steps
pnpm i
pnpm build:cli
pnpm i
pnpm build

Then I navigated to the examples folder in which I went to with-redux and then I run the command pnpm dev it started the development server.

from plasmo.

wadhia-yash avatar wadhia-yash commented on May 18, 2024

@ColdSauce I am getting this issue :
 ERR_PNPM_NO_MATCHING_VERSION_INSIDE_WORKSPACE  In ../../cli/create-plasmo: No matching version found for @plasmo/config@* inside the workspace
while running the following command pnpm dlx plasmo init

from plasmo.

ColdSauce avatar ColdSauce commented on May 18, 2024

Hey @Aarush-wadhia, sounds great, thanks for helping out!

Where are you running that command?

from plasmo.

wadhia-yash avatar wadhia-yash commented on May 18, 2024

Hey @ColdSauce I have installed pnpm in my system with the help of brew (since it's mac) and I am running this command on my vs code terminal inside example folder
the whole command is pnpm dlx plasmo init with-jotai

from plasmo.

ColdSauce avatar ColdSauce commented on May 18, 2024

Hmm, interesting. It's complaining it can't find the plasmo/packages/config/ directory.

I couldn't get this to reproduce on our CI environment or my Mac locally, so I'm not sure why it's saying that for you.

Are you able to build other examples in the directory using pnpm? Does something like cd with-ant-design && pnpm build work?

Also, can you do pnpm dlx plasmo init in a random directory unrelated to Plasmo? Something like /tmp and see if that works?

from plasmo.

wadhia-yash avatar wadhia-yash commented on May 18, 2024

Hmm, it's weird when I create a new project outside the plasma package it is working fine but inside the example package when I am using pnpm dlx plasmo init command it is giving the above-mentioned error
And in my example folder I don't have any other examples it's an empty folder.
And I am following the proper guidelines mentioned in this link

from plasmo.

ColdSauce avatar ColdSauce commented on May 18, 2024

Ah - I think it's because you need to use --recurse-submodules when cloning our plasmo monorepo.

git clone [email protected]:PlasmoHQ/plasmo.git --recurse-submodules

For more info, check out our contributing docs.

from plasmo.

wadhia-yash avatar wadhia-yash commented on May 18, 2024

I got the issue
My git is not allowing me to clone all the directories because of my ssh keys for which I have to change the git clone URL
Let me resolve this real quick

from plasmo.

wadhia-yash avatar wadhia-yash commented on May 18, 2024

Hey @ColdSauce the issue is resolved.
Like I thought it was my ssh issue which I have resolved now and it is working fine
I will be working on with-jotai example

from plasmo.

wadhia-yash avatar wadhia-yash commented on May 18, 2024

Hi, @ColdSauce it is showing zsh: command not found: plasmo while running command pnpm build or pnpm dev.
I have checked the package.json file and the scripts contain plasmo command. Anything which I should do before running pnpm command?
Thanks in advance

from plasmo.

ColdSauce avatar ColdSauce commented on May 18, 2024

Have you done pnpm i?

from plasmo.

wadhia-yash avatar wadhia-yash commented on May 18, 2024

Yes

from plasmo.

ColdSauce avatar ColdSauce commented on May 18, 2024

Go to the monorepo root folder and run

pnpm i
pnpm build

and then try again

from plasmo.

louisgv avatar louisgv commented on May 18, 2024

Go to the monorepo root folder and run

pnpm i
pnpm build

and then try again

The second cmd should be pnpm build:cli since we just want the plasmo cli to be built here I think. Also, you will need to do pnpm i again afterward to ensure the plasmo binary is properly linked

from plasmo.

louisgv avatar louisgv commented on May 18, 2024

Done in PlasmoHQ/examples#5

from plasmo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.