You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
I dowload pancake-swap-frontend
I "yarn start" everything works fine wirth Localhost, but when I "yarn build" it gives an error
How to fix? Can you help me?
The reason will be displayed to describe this comment to others. Learn more.
Hi @thanhluan1205 , I don't think this is the right place to ask for help with this issue: this question should be asked to the developers of pancake-frontend-develop. But...
the part that's not working is the CI=false which I assume you will find in package.json > scripts > build. That would work on Linux or MacOS, but on Windows you need another way to set an environment variable. I suggest you use https://www.npmjs.com/package/cross-env for a cross-platform way to set environment variables in package.json scripts.
749a76d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dowload pancake-swap-frontend
![Screenshot (271)](https://user-images.githubusercontent.com/30959584/128696642-f8039d0e-d9de-47cb-bab9-c0fe059843db.png)
I "yarn start" everything works fine wirth Localhost, but when I "yarn build" it gives an error
How to fix? Can you help me?
749a76d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @thanhluan1205 , I don't think this is the right place to ask for help with this issue: this question should be asked to the developers of pancake-frontend-develop. But...
the part that's not working is the
CI=false
which I assume you will find in package.json > scripts > build. That would work on Linux or MacOS, but on Windows you need another way to set an environment variable. I suggest you use https://www.npmjs.com/package/cross-env for a cross-platform way to set environment variables in package.json scripts.749a76d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.