Cannot use module after npm install express-opentracing
Part of error log
Error: Cannot find module 'express-opentracing'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
So I've take a look more about this.
It seems like I have to build it first via npm run build because it needs babel
So why dist folder is not include in the repository?
Cannot use module after
npm install express-opentracing
Part of error log
How to reproduce
Take a look at
package.json
where main key is.We don't have
dist
folder here, Maybesrc
?