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
When I build the empty component file, spear-cli will crash.
コンポーネントファイルにからのものが含まれると、ビルドエラーとなります。
[Page]: index(/)
file:///home/....../node_modules/@spearly/spear-cli/dist/magic.js:110
"rawData": parsedNode[0].outerHTML,
^
TypeError: Cannot read properties of undefined (reading 'outerHTML')
at file:///home/....../node_modules/@spearly/spear-cli/dist/magic.js:110:42
at Generator.next (<anonymous>)
at fulfilled (file:///home/......./node_modules/@spearly/spear-cli/dist/magic.js:4:58)
Node.js v18.16.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
🤔 Expected Behavior / 期待結果
Skip these component empty component files.
これらの空のコンポーネントファイルは処理をスキップしてほしい
👀 Current Behavior / 現在の動き
Crash, and return the 1 status code.
クラッシュして 1 を返す
🖥️ Browser / ブラウザ
N/A
📄 Additional Information
No response
The text was updated successfully, but these errors were encountered:
📦 Package / パッケージ
spear-cli
📝 Issue Description / 問題の説明
When I build the empty component file, spear-cli will crash.
コンポーネントファイルにからのものが含まれると、ビルドエラーとなります。
🤔 Expected Behavior / 期待結果
Skip these component empty component files.
これらの空のコンポーネントファイルは処理をスキップしてほしい
👀 Current Behavior / 現在の動き
Crash, and return the 1 status code.
クラッシュして 1 を返す
🖥️ Browser / ブラウザ
N/A
📄 Additional Information
No response
The text was updated successfully, but these errors were encountered: