Method-Draw
Method-Draw copied to clipboard
gulp build error
Use gulp build get the error:
Error: Error: File not found with singular glob: /home/Method-Draw/src/js/Darkmode.js (if this was purposeful, use `allowEmpty` option)
at DestroyableTransform.<anonymous> (/root/Method-Draw/node_modules/gulp-useref/index.js:63:32)
at DestroyableTransform.emit (events.js:400:28)
at DestroyableTransform.emit (domain.js:475:12)
at Pumpify.emit (events.js:400:28)
at Pumpify.emit (domain.js:475:12)
at Pumpify.Duplexify._destroy (/root/Method-Draw/node_modules/duplexify/index.js:191:15)
at /root/Method-Draw/node_modules/duplexify/index.js:182:10
at processTicksAndRejections (internal/process/task_queues.js:77:11)
Because the filename /***/Method-Draw/src/js/darkmode.js should be /***/Method-Draw/src/js/Darkmode.js