求助一个 electron vue 工程 run 不起来

查看 62|回复 1
作者:cutecore   
对这个 MediaChips 软件挺感兴趣的,https://github.com/fupdec/mediaChips
想 build 下改改,但是 build 报错,搞了半天没整明白
Module parse failed: Unexpected token (7:9)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export { ERR as ErrorCodes } from './common/error-codes.js';
| /** @internal */
> export * as foreignContent from './common/foreign-content.js';
| /** @internal */
| export * as html from './common/html.js';

export, common, from

sechi   
是不是 node_modules 里的某一个依赖是 es6+语法啊,应该有提示你报错的文件,把那个文件所在的依赖放到 transpiledependencies 里试试。https://cli.vuejs.org/config/#transpiledependencies
您需要登录后才可以回帖 登录 | 立即注册

返回顶部