Trouble getting started
Closed this issue · 2 comments
ErinFinnegan commented
I'm having trouble getting started with the React sample.
Install yarn if not available
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
😨 I followed the steps on this page.
npm install
npm WARN package.json@1.0.0 No repository field.
audited 404 packages in 1.452s
found 0 vulnerabilities
Some success 🤔🤷♀️
yarn install
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
Followed by some success, I think?
yarn watch
yarn run v1.12.3
error Command "watch" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
😣
yoshikinoko commented
Hope these links help you.
https://stackoverflow.com/questions/48910876/error-eacces-permission-denied-access-usr-local-lib-node-modules-react
https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
It seems you did not installed node.js with node version manager (nvm), I recommend you to install nvm (and re-install nodejs)
dkstevekwak commented
Resolved this issue offline