搭建项目完成后,npx hyext start报错
根据图片显示,正则错误,
解决办法:
修改项目内文件:
ode_modules@hyextuilder-h5game.builder-laya-tempuild-dev-launcher
ode_modulesmetro-configsrcdefaultslacklist.js
var sharedBlacklist = [
/node_modules[/\]react[/\]dist[/\].*/,
/website/node_modules/.*/,
/heapCapture/bundle.js/,
/.*/__tests__/.*/
];
改为
var sharedBlacklist = [
/node_modules[/\]react[/\]dist[/\].*/,
/website/node_modules/.*/,
/heapCapture/bundle.js/,
/.*/__tests__/.*/
];