npm run dev 出错
请问下最新的node版本install,会不会有问题,我用的windows环境node12.18.3的版本,intall没有报错,但是npm run dev后出现下面的情况:
Error: No files matching the pattern "D:\work\h265player-master\src\themes***.css" were found.
at D:\work\h265player-master\node_modules\stylelint\lib\standalone.js:214:12
at processTicksAndRejections (internal/process/task_queues.js:97:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: webpack --config build/webpack.dev.conf.js --watch --display-error-details
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\lty\AppData\Roaming\npm-cache_logs\2020-09-12T09_31_46_411Z-debug.log
不知道什么原因造成的,好像还是少了什么依赖
Error: No files matching the pattern "D:\work\h265player-master\src\themes***.css" were found. 看下这个文件在吗
你好,大佬。我也有这样子的报错,说是没有找到themes***.css文件,但是我去翻了这个文件夹,有这个文件夹,并且里面也有css文件的
"stylelint": "^13.5.0", "stylelint-webpack-plugin": "^0.10.5", 看一下这两个包的版本,分别安装13.5.0 和 0.10.5版本试试
我也有这样的问题,请问下怎么解决?
有谁解决了这个问题的?
Error: No files matching the pattern "C:\Users\phantomtiger\Desktop\HEVC-video-demo\h265player-master\src\themes***.css" were found.
- 首先直接去node_modules中找到\stylelint\lib\standalone.js:207行,将相关路径判空代码先注释;
- 然后运行npm run dev进行打包,然后dist文件夹就会生成goldplay-h265.css和goldplay-h265-sdk.js两个文件;
- 接着在文件根目录下使用http-server跑一个服务器,或用其他工具跑起本地服务也行,点开demo.html即可看到页面;

npm run dev卡住不动了是怎么回事
run dev 是一个开发模式 ,执行的webpack watch命令,如果修改代码,会自动 进行编译的。
------------------ 原始邮件 ------------------ 发件人: "goldvideo/h265player" @.>; 发送时间: 2022年4月18日(星期一) 晚上6:27 @.>; @.***>; 主题: Re: [goldvideo/h265player] npm run dev 出错 (#27)
npm run dev卡住不动了是怎么回事
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>