我对JS完全陌生,在基础上,我想为一些ACT覆盖创建一个github页面(我想更新另一个github,您可以在这里找到https://github.com/canisminor1990/ffxiv-cmskin和我的fork: https://github.com/Mara-Li/cmskin)。
首先,在github页面教程(https://github.com/rafrex/spa-github-pages/blob/gh-pages/README.md)中,我需要拥有我没有的bundle.js。如果跳过此步骤,则尝试尝试npm install
和npm run build
。最后,我有:
Can't resolve '@babel/runtime/helpers/esm/extends' in '<user private link>/ffxiv-cmskin/node_modules/history/esm'
[graceful-process#8658] exit with code:1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ffxiv-cmskin@2.2.0 build: `ESLINT=none roadhog build && gulp html`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ffxiv-cmskin@2.2.0 build 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! /Users/lili/.npm/_logs/2019-09-10T08_51_52_926Z-debug.log
我尝试安装Babel,Babel运行时,但是不起作用。任何人都可以帮助我做我的网站吗? :>谢谢。