react-google-maps project on AWS
When deploying reactJS project from github to aws I have following error:
Error: Cannot find module 'react-google-maps'
Does anyone knows how to resolve this problem? On local host everything is perfect, bu that's might because I manually installed google-react-maps, os I can I canfigure the same for AWS?
Ответы (1 шт):
Автор решения: santavital
→ Ссылка
After deploying from github you should install depedencies of project.
Run terminal, go to project folder, then type command:
npm install