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
[Questions]
I want to use third libraries in my cloud code of parse-server. I installed the dependencies in parse-server already, But when i use it in cloud code, error occurs as can not found the module.
[reproduced]
eg: I tryied to use mailgun in my CloudCode.
install lib in parse-server,
npm install mailgun-js --save
check the package.json, "mailgun-js": "^0.22.0", exists
well, i maybe know why.
I git clone the source code and run lib/cli/parse-server.js directly. Besides i add dependency lib into the parse-server’s package.json。With this way, i can not require lib in the cloud code.
But, i download the parse-server-example, then add dependency to the package.json, then reuqire the lib in the cloud code, it works...Ohh
well, solved again..... If i put the cloudcode dir out of the parse-server dir, then can not use these libs. But, put the cloudCode dir in the parse-server dir , it works.... That...
[Questions]
I want to use third libraries in my cloud code of parse-server. I installed the dependencies in parse-server already, But when i use it in cloud code, error occurs as can not found the module.
[reproduced]
eg: I tryied to use mailgun in my CloudCode.
The text was updated successfully, but these errors were encountered: