Comments (16)
I would like to contribute
from plasmo.
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 dopnpm 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.
@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.
Hey @Aarush-wadhia, sounds great, thanks for helping out!
Where are you running that command?
from plasmo.
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.
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.
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.
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.
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.
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.
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.
Have you done pnpm i
?
from plasmo.
Yes
from plasmo.
Go to the monorepo root folder and run
pnpm i
pnpm build
and then try again
from plasmo.
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.
Done in PlasmoHQ/examples#5
from plasmo.
Related Issues (20)
- [EXP] getInlineAnchorList() and custom getRootContainer() Example
- getStyle: PlasmoGetStyle api unable to get live-reload effect. HOT 2
- [BUG] The with-env example does not work
- [BUG] How to use tailwindcss style for suspended elements in custom components in contentui?
- [RFC] Manifest override by special target
- [BUG] tailwindcss doesn't work in content script UI HOT 4
- [RFC] Add Debugging Support
- [BUG] Service worker (background.ts) is not working HOT 2
- Why isn't there a packaging configuration file
- [BUG] I discovered tree shaking
- [BUG] "Cannot find module 'node:stream'" when use LuanRT / YouTube.js HOT 3
- Do I have to import in full tailwindcss antd daisyui in content.tsx
- [BUG] Sidepanel not autoreloading/auto-updating HOT 6
- [BUG] Why do I get an error when using react-native-svg? HOT 1
- [BUG] Incorrect CSS compilation HOT 1
- [EXP] Error: Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp
- [BUG] Cannot read properties of undefined (reading 'contextMenus') HOT 2
- [BUG] Error while installing the plasmo library
- [BUG] scss compilation changed the 'content' to '[]' unexpectedly HOT 1
- [BUG] Error "$RefreshSig$ is not a function" if I use `state` in a nested component HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plasmo.