hexo-prism-plugin
hexo-prism-plugin copied to clipboard
静态资源无法加载
调试报错:Refused to apply style from 'http://localhost:4000/css/prism_atom-dark.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
install插件的时候说rollback了
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): EPERM: operation not permitted, lstat 'D:\BLOG\node_modules\fsevents\node_modules'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]:
wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
你的node和npm是什么版本呢?EPERM: operation not permitted
看上去这个错误跟node和权限有关系。
资源无法加载,跟你npm安装rollback应该是有关系的。