hexo-prism-plugin icon indicating copy to clipboard operation
hexo-prism-plugin copied to clipboard

静态资源无法加载

Open Gerogina6 opened this issue 6 years ago • 2 comments

调试报错: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"})

Gerogina6 avatar Jun 29 '18 03:06 Gerogina6

你的node和npm是什么版本呢?EPERM: operation not permitted看上去这个错误跟node和权限有关系。

ele828 avatar Aug 01 '18 03:08 ele828

资源无法加载,跟你npm安装rollback应该是有关系的。

ele828 avatar Aug 01 '18 03:08 ele828