Goji cli not building for alipay
ALWISHARIFF opened this issue · 1 comments
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
Expected Behavior
When i run npm run build alipay
it should create a dist folder with the compiled files.
Current Behavior
What is the current behavior?
When I create a new goji js application when i do cd my-goji-app
then npm install
it successfully installs dependencies but when i run npm run build alipay
i get this error
when i install with npm install linaria
and run npm run build alipay
i get another different error
Failure Information (for bugs)
This looks like a bug am not sure why this is happening i used windows i also switched to wsl and also installed ubuntu 20 on my machine but the errors are the same i tried changing node versions to older ones but the same errors apperead unfortunately
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
1.npm create goji-app my-goji-app
2.cd my-goji-app
3.npm install
4.npm run build alipay
Context
- Operating System:Windows 10 & Ubuntu 20 & Wsl
Hi @ALWISHARIFF , thanks for your reporting, I confirmed there is a missing dependency in create goji-app
template.
Because GojiJS now support Linaria v2, you can fix the bug temporary by running npm install linaria@2
.
I'll create a PR to this issue later.