+ 5
Most NodeJs module when included in my codes won't work. Get the error NODE_MODULE_NOT_FOUND when run.Can Sololearn or any. help
const fs = require('fs'); const formidable = require('formidable'); const nodemailer = require('nodemailer); ...etc
3 Respuestas
+ 3
formidable and nodemailer built in , about Installation on sololearn no idea,maybe mail at info@sololearn and ask them if there is a way
+ 1
Apongpoh Gilbert You can always check codes as well ,node was a new edition and many were eager to know how to install modules ,one of the code
https://code.sololearn.com/cdgX24Nypu5V/?ref=app
It won't work tho since it takes times to install one and before you get execution timeout error
+ 1
I don't think Sololearn supports nodejs. You're basically trying to use require statements in the browser, which does not work by default.