Fresh Clone: SyntaxError: Unexpected identifier (anonymous function) /admin-website/node_modules/react-spinners/dist/index.js:1
Closed this issue · 2 comments
AdamJLemmon commented
I have cloned a fresh instance of the repo and receiving the following error when initially trying to render: SyntaxError: Unexpected identifier (anonymous function) /admin-website/node_modules/react-spinners/dist/index.js:1
Steps to reproduce:
git clone git@github.com:OpenCerts/admin-website.git
yarn
yarn dev
- navigate to localhost:3000 in browser
Environment
- ubuntu 16.04
- node v10.13
- google chrome
rjchow commented
Try using npm instead of yarn, we switched to npm awhile back
AdamJLemmon commented
That resolved it thanks!