Open dougwithseismic opened 4 months ago
Update: Seems to be an issue creating a new plasmo app inside a turbo repo. I've tried with pnpm and npm workspaces and all produce the same error on fresh installs.
I think I managed to solve this by updating to the latest pnpm v9.4.0 and running pnpm create plasmo. If anyone else is stuck here, can you give it a go?
I think I managed to solve this by updating to the latest pnpm v9.4.0 and running pnpm create plasmo. If anyone else is stuck here, can you give it a go?
for me what worked was solution here: https://github.com/vercel/next.js/issues/48593#issuecomment-1681930868
"pnpm": { "overrides": { "@swc/helpers@~0.4": "0.4.36" } }
I've encountered the same error on Windows with pnpm v9.6.0 (plasmo v0.88.0).
What worked for me was creating the application in a folder with a shorter file path.
For instance, if I create the project inside C:\folderwithreallyreallyreallylongname\chrome-plasmo-extension-tests
I get the error, while C:\folderwithlongname\chrome-plasmo-extension-tests
works correctly.
Encontrei o mesmo erro no Windows com o pnpm v9.6.0 (plasmo v0.88.0).
O que funcionou para mim foi criar o aplicativo em uma pasta com um caminho de arquivo mais curto. Por exemplo, se eu criar o projeto dentro,
C:\folderwithreallyreallyreallylongname\chrome-plasmo-extension-tests
recebo o erro, enquantoC:\folderwithlongname\chrome-plasmo-extension-tests
funciona corretamente.
Thanks! That worked for me.
I've encountered the same error on Windows with pnpm v9.6.0 (plasmo v0.88.0).
What worked for me was creating the application in a folder with a shorter file path. For instance, if I create the project inside
C:\folderwithreallyreallyreallylongname\chrome-plasmo-extension-tests
I get the error, whileC:\folderwithlongname\chrome-plasmo-extension-tests
works correctly.
same here
What happened?
Update: Seems to be an issue creating a new
plasmo
app inside a turbo repo. I've tried with pnpm and npm workspaces and all produce the same error on fresh installs.Description: I encountered an error when trying to run
pnpm dev
for a newly created Plasmo extension. The error indicates that the package@expo/spawn-async
cannot be found. This issue seems to be related to the Plasmo dependencies.Steps to Reproduce:
pnpm create plasmo
to create a new Plasmo extension project. (I've also tried pnpm dlx ...'pnpm dev
.Expected Behavior: The development server should start without any errors.
Actual Behavior: The following error is displayed:
Environment:
Additional Information: I have tried the following troubleshooting steps without success:
node_modules
andpnpm-lock.yaml
, then reinstalled dependencies.pnpm add plasmo@0.88.0
.Please let me know if you need any additional information or if there are any other steps I can take to resolve this issue.
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
No response
Relevant log output
(OPTIONAL) Contribution
Code of Conduct