remix-run/remix-webpack-demo

bug when run dev

where-picturesque opened this issue · 0 comments

Bug report

  • download demo
  • npm i cross-env
  • change script "dev": "cross-env NODE_ENV=development ts-node ./scripts/dev.ts"
  • npm run dev
Remix App Server started at http://localhost:3000 (http://10.1.1.104:3000)
emix-webpack-demo-mainappentry.server.tsx" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "e:" URIs.
    at E:\learn\remix-webpack-demo-main\node_modules\webpack\lib\NormalModule.js:832:25
    at Hook.eval [as callAsync] (eval at create (E:\learn\remix-webpack-demo-main\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (E:\learn\remix-webpack-demo-main\node_modules\tapable\lib\Hook.js:18:14)
    at Object.processResource (E:\learn\remix-webpack-demo-main\node_modules\webpack\lib\NormalModule.js:829:8)
    at processResource (E:\learn\remix-webpack-demo-main\node_modules\loader-runner\lib\LoaderRunner.js:220:11)
    at iteratePitchingLoaders (E:\learn\remix-webpack-demo-main\node_modules\loader-runner\lib\LoaderRunner.js:171:10)
    at runLoaders (E:\learn\remix-webpack-demo-main\node_modules\loader-runner\lib\LoaderRunner.js:398:2)
    at NormalModule._doBuild (E:\learn\remix-webpack-demo-main\node_modules\webpack\lib\NormalModule.js:819:3)
    at NormalModule.build (E:\learn\remix-webpack-demo-main\node_modules\webpack\lib\NormalModule.js:963:15)
    at E:\learn\remix-webpack-demo-main\node_modules\webpack\lib\Compilation.js:1371:12
    at Object.707 (E:\learn\remix-webpack-demo-main\build\index.js:191:7)
    at __webpack_require__ (E:\learn\remix-webpack-demo-main\build\index.js:215:41)
    at Object.44 (E:\learn\remix-webpack-demo-main\build\index.js:19:107)
    at __webpack_require__ (E:\learn\remix-webpack-demo-main\build\index.js:215:41)
    at E:\learn\remix-webpack-demo-main\build\index.js:278:85
    at E:\learn\remix-webpack-demo-main\build\index.js:282:3
    at Object.<anonymous> (E:\learn\remix-webpack-demo-main\build\index.js:287:12)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Module.m._compile (E:\learn\remix-webpack-demo-main\node_modules\ts-node\src\index.ts:1618:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
GET / 500 - - 223.268 ms