stanely86 / Movie

0 stars 0 forks source link

[Devops] 查明 Pipeline Failed 原因 #13

Open oaoxd0314 opened 1 month ago

oaoxd0314 commented 1 month ago
Run actions/configure-pages@v5
Injecting property=output and value=export in:
/** @type {import('next').NextConfig} */

const stylexPlugin = require("@stylexjs/nextjs-plugin");
const nextConfig = {
  pageExtensions: ["js", "jsx", "ts", "tsx"],
}

module.exports = stylexPlugin({
  rootDir: __dirname,
  presets: ["next/babel"],
  plugins: ["@stylexjs/babel-plugin"],
})(nextConfig);

Error: TypeError: error must be an instance of Error

這是一個 runtime error,原因出在於沒有良好的 CI flow 在每次的 Commit 確保品質

因此初估 CI 要先確保:

oaoxd0314 commented 1 month ago

確保 vite bundler config 和 typescript config 也應該是當務之急

P0