the package.json in cloud folder:
Error: Cannot find module 'archiver' at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17)
"dependencies": {
"archiver": "^2.1.0",
"async": "^2.6.0",
"fs": "^0.0.1-security",
"path": "^0.12.7",
"request-promise-native": "^1.0.5",
"rimraf": "^2.6.2"
}
}
--
You received this message because you are subscribed to a topic in the Google Groups "Back4App" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/back4app/sgNnvUoqAZg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to back4app+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/back4app/e1760b9c-6b06-45bf-9a8c-86ada30e11b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to back4app+u...@googlegroups.com.
Error: Cannot find module 'archiver'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/usr/src/app/data/cloud/routers/downloadRouter.js:10:16)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
Fri Mar 16 2018 02:19:19 GMT+0000 (UTC)
Cloud Code not loaded:
Error: Cannot find module 'moment-range'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/usr/src/app/data/cloud/Utils/horarios_back.js:7:19)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
Hi Lucas,
thanks for reaching out!
At the moment, can you please remove the modules parse and parse-server from your package.json?
Then, upload your changes using b4a deploy.
After this change, please let us know =D