C
C
Cyber_bober2016-09-28 22:29:56
Node.js
Cyber_bober, 2016-09-28 22:29:56

Why doesn't module.exports work?

Hello, I'm building a project and
export default function(sum)
everything works, but when it
module.exports = function(){
gives an error Module not found
, what could be the reason?
PS especially for those who have a lot of time for idle chatter
0f200aaeba5e485ab4836822c2ae3f1a.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cyber_bober, 2016-09-28
@Cyber_bober

sorry, i defined the entries incorrectly

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question