DemocracyOS / democracyos

Democracia en Red is focusing on specific implementations of DemocracyOS. We are working now working with governments and activists all over Latin America. If you are interested in our online participation tools you can check them out on our site.
https://democraciaos.org/en/
GNU General Public License v3.0
1.77k stars 616 forks source link

Error: Cannot find module 'is-my-schema-valid' #1605

Open tekoracle opened 6 years ago

tekoracle commented 6 years ago

I installed Democracyos on Heroku and it installed successfully, when I wanted to open the application it said an error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. I checked my logs and discovered NPM_CONFIG_LOGLEVEL=error then I contacted the customer representative he said it is Error: Cannot find module 'is-my-schema-valid' Unfortunately, that's an application issue and we won't be able to assist further. Am confused. Am not all that informed about software deployment and have not worked with Heroku before.

bazzar1980 commented 6 years ago

i had the same error, i installed on my local project is-my-schema-valid module with npm install --save is-my-schema-valid and after i pushed my app on heroku and all worked well

bekirdag commented 5 years ago

I had the same issue and solved it with changing the npm and node versions on the package.json file. Change the npm version to 10 and node version to "npm": ">=5 <7"