I am attempting to compile and run polkadot-JS/apps on Ubuntu cloud server (Digital Ocean). I have Node.JS and yarn installed. While running "yarn" in the polkadot-JS/apps folder, I get a number of dependency errors. I was careful not to use npm. Most of the errors reference webpack and react. I tried "yarn add webpack" and "yarn add react" but I get the same out put every time. Screenshot attached. Any ideas how to fix this? Would it be possible instead to compile it outside of the ubuntu VPS environment (like on an ubuntu laptop) and then just upload the compiled code?
-
Did you follow this steps: github.com/polkadot-js/apps#development ?– Alex BeanJan 30 at 10:19
-
Yes. Those were the exact instructions I was following. Those caused a problem on Ubuntu in that you have to install yarn in just the right ways using this command: curl -o- -L yarnpkg.com/install.sh | bash (Don’t use the ususal yarn install command or ubuntu will install cmdtest instead and you will have to remove it using “sudo apt remove cmdtest” and start the installation of yarn again) But otherwise, I was following the directions at that link.– KathrynColleenJan 30 at 15:04
1 Answer
SOLVED - it turns out that the dependency errors do not actually affect the running or performance of the UI. Ignore them and proceed.