Closed Anonyfox closed 6 years ago
sg dev
> starting dev server with live reload on port 3000...
Compile finished. Waiting for file changes
static server ready on localhost:3000
Bundling took(ms): 3674
{ Error: Cannot find module 'create-react-class'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (toldya.site/node_modules/react-bootstrap-date-picker/lib/index.js:39:25)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
Seems like we are suppressing the original error, will address that.
when in a simple component, using
import * as DatePicker from 'react-bootstrap-date-picker'
does kill the devserver rendering (looks like going into__tmp__
require issue.