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
info - Linting and checking validity of types...
14:39:17.088 info - Creating an optimized production build...
14:39:17.317 [默认主题] /vercel/path0/themes/NEXT_PUBLIC_THEME
14:39:29.412 Failed to compile.
14:39:29.412
14:39:29.413 ./themes/theme.js
14:39:29.413 Module not found: Can't resolve '@theme-components'
14:39:29.413
14:39:29.413 https://nextjs.org/docs/messages/module-not-found
14:39:29.413
14:39:29.413 Import trace for requested module:
14:39:29.418 ./pages/404.js
14:39:29.419
14:39:29.419
14:39:29.419 > Build failed because of webpack errors
14:39:29.564 error Command failed with exit code 1.
14:39:29.564 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
14:39:29.580 Error: Command "yarn run build" exited with 1
14:39:30.043
相应配置
相关的配置,例如notion_page_id;你的网站地址
截图
相关的页面,应该用结果
环境
操作系统: macOS,
浏览器 safari
版本 [e.g. 22]
The text was updated successfully, but these errors were encountered:
描述遇到的问题
简单说明你遇到的问题,相关的日志、错误信息
主要更改了config文件的任意配置,就会报错,例如更改theme:
info - Linting and checking validity of types...
14:39:17.088 info - Creating an optimized production build...
14:39:17.317 [默认主题] /vercel/path0/themes/NEXT_PUBLIC_THEME
14:39:29.412 Failed to compile.
14:39:29.412
14:39:29.413 ./themes/theme.js
14:39:29.413 Module not found: Can't resolve '@theme-components'
14:39:29.413
14:39:29.413 https://nextjs.org/docs/messages/module-not-found
14:39:29.413
14:39:29.413 Import trace for requested module:
14:39:29.418 ./pages/404.js
14:39:29.419
14:39:29.419
14:39:29.419 > Build failed because of webpack errors
14:39:29.564 error Command failed with exit code 1.
14:39:29.564 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
14:39:29.580 Error: Command "yarn run build" exited with 1
14:39:30.043
相应配置
相关的配置,例如notion_page_id;你的网站地址
截图
相关的页面,应该用结果
环境
The text was updated successfully, but these errors were encountered: