> Executing task in folder 'vault': Guide to Markdown: npm run build <
> @dendronhq/nextjs-template@0.58.4-alpha.1 build
> next build
info - Using webpack 5. Reason: no custom webpack configuration in next.config.js
https://nextjs.org/docs/messages/webpack5
info - Checking validity of types
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
info - Creating an optimized production build
Failed to compile.
../../../../../../VC/git/Dendron-Notebanks/Bank.Markdown/vault/.next/pages/_app.tsx
Module parse failed: Unexpected token (8:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See
https://webpack.js.org/concepts#loaders
| } from "
@Userhq/common-frontend";
| import "antd/dist/antd.css";
> import type { AppProps } from "next/app";
| import React, { useState } from "react";
| import { ThemeSwitcherProvider } from "react-css-theme-switcher";
> Build error occurred
Error: > Build failed because of webpack errors
at C:\VC\git\Dendron-Notebanks\Bank.Markdown\vault\.next\node_modules\next\dist\build\index.js:17:924
at async Span.traceAsyncFn (C:\VC\git\Dendron-Notebanks\Bank.Markdown\vault\.next\node_modules\next\dist\telemetry\trace\trace.js:6:584)