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
installing dependencies is quite complicated because there's three npm packages (parent and two children) - maybe in the parent's package.json you could define a custom install command that installed all three, like npm i && cd server-api && npm i && cd ../client-app && npm i. I added this to scripts and it worked!
"scripts": {
"start": "node server.js",
"test": "JWT_SECRET=mysecret PGDATABASE=travis_ci_test jest --coverage=true",
"initdb": "node server-api/db/build.js",
"deploy": "git subtree push --prefix server-api heroku master",
"full-install": "npm i && cd server-api && npm i && cd ../client-app && npm i"
},
(also would be helpful if in the ReadMe if you make it more clear/bold that you need to do npm install three times!!) (Vatsal)
The text was updated successfully, but these errors were encountered:
installing dependencies is quite complicated because there's three npm packages (parent and two children) - maybe in the parent's package.json you could define a custom install command that installed all three, like
npm i && cd server-api && npm i && cd ../client-app && npm i
. I added this to scripts and it worked!(also would be helpful if in the ReadMe if you make it more clear/bold that you need to do npm install three times!!) (Vatsal)
The text was updated successfully, but these errors were encountered: