You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR Failed to compile with 1 errors10:47:40 AM
error in ./app/web/src/pages/.umi-production/router.js
Module parse failed: Unexpected token (19:0)
You may need an appropriate loader to handle this file type.
| export default function() {
| return (
> <RendererWrapper0>
| <Router history={window.g_history}>
| { renderRoutes(routes, {}) }
@ ./app/web/src/pages/.umi-production/umi.js 20:38-57
@ multi ./node_modules/[email protected]@umi-build-dev/template/setPublicPath.js ./app/web/src/pages/.umi-production/umi.js
[CaseSensitivePathsPlugin] Total filesystem reads: 5813
✖ error Build failed
✖ error null
[CaseSensitivePathsPlugin] Reading directory /homnpm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `APP_ROOT=$PWD/app/web umi build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/admin/.npm/_logs/2018-12-13T02_47_41_094Z-debug.log
The text was updated successfully, but these errors were encountered:
node版本:10.13.0
报错内容:
The text was updated successfully, but these errors were encountered: