lan@DESKTOP-8ISAT6B MINGW64 /D/GitHub $ ls regexper-static/ lan@DESKTOP-8ISAT6B MINGW64 /D/GitHub $ cd regexper-static/
安装依赖
进入项目目录后,输入yarn install安装依赖。
1 2 3 4 5 6 7 8 9 10 11
lan@DESKTOP-8ISAT6B MINGW64 /D/GitHub/regexper-static (master) $ yarn install yarn install v1.12.3 [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@1.1.2: The platform "win32" is incompatible with this module. info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... [4/4] Building fresh packages... success Saved lockfile. Done in 124.86s.
我这里安装可慢了,耐心等它安装完毕。
启动本地服务器
输入yarn start启动服务器,启动成功的话如下所示:
1 2 3 4 5 6 7 8 9
lan@DESKTOP-8ISAT6B MINGW64 /D/GitHub/regexper-static (master) $ yarn start yarn run v1.12.3 $ gulp [21:32:34] Using gulpfile D:\GitHub\regexper-static\gulpfile.js ...... [21:32:47] Server started http://localhost:8080 [21:32:47] LiveReload started on port 35729