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
I tried to set bundle = true , and I've set npm install before hugo command in Netlify but keep getting errors:
3:01:41 PM: $ npm install&&hugo
3:01:42 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
3:01:42 PM: npm WARN config location in the cache, and they are managed by
3:01:42 PM: npm WARN config [`cacache`](http://npm.im/cacache).
3:01:43 PM: up to date, audited 727 packages in 1s
3:01:43 PM: 68 packages are looking for funding
3:01:43 PM: run `npm fund` for details
3:01:43 PM: 5 high severity vulnerabilities
3:01:43 PM: To address issues that do not require attention, run:
3:01:43 PM: npm audit fix
3:01:43 PM: To address all issues (including breaking changes), run:
3:01:43 PM: npm audit fix --force
3:01:43 PM: Run `npm audit` for details.
3:01:43 PM: Start building sites …
3:01:43 PM: hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio
3:01:43 PM: WARN 2022/06/21 08:01:43
3:01:43 PM: The experimental bundle option is enabled in config.toml.
3:01:43 PM: If you encountered any 'Could not resolve' problem, please set bundle = false.
3:01:43 PM: 在 config.toml 中启用了实验性选项。
3:01:43 PM: 如果遇到 'Could not resolve' 的问题,请设置 bundle = false。
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog03-04-22.md:40:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog03-23-22.md:92:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog03-18-22.md:102:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog04-10-22.md:145:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog04-25-22.md:124:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog05-05-22.md:182:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog05-10-22.md:318:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog04-10-22.md:147:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog04-25-22.md:153:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog03-04-22.md:108:1"
3:01:44 PM: WARN 2022/06/21 08:01:44 The "tweet" shortcode will soon require two named parameters: user and id. See "/opt/build/repo/content/posts/blog2022/blog03-04-22.md:110:1"
3:01:45 PM: Error: Error building site: JSBUILD: failed to transform "js/lib/waline.js" (application/javascript): "/opt/build/repo/assets/js/lib/waline.js:2:7": No matching export in "node_modules/@waline/client/dist/shim.esm.js" for import "default"
3:01:45 PM: Total in 2153 ms
3:01:45 PM:
3:01:45 PM: ────────────────────────────────────────────────────────────────
3:01:45 PM: "build.command" failed
Any way to fix this? I need to use bundle = true because newest version of comment modules depend on it, is it true?
My Twikoo module displays this warning:
Client version: 1.4.10, Server version: 1.4.17, 请参考 [版本更新](https://twikoo.js.org/quick-start.html#%E7%89%88%E6%9C%AC%E6%9B%B4%E6%96%B0) 进行升级
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried to set
bundle = true
, and I've set npm install before hugo command in Netlify but keep getting errors:Any way to fix this? I need to use
bundle = true
because newest version of comment modules depend on it, is it true?My Twikoo module displays this warning:
Beta Was this translation helpful? Give feedback.
All reactions