ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# yyladmin前端安装流程 ``` <pre class="calibre29">``` 依赖包: npm install vue<span class="token">-</span>loader@<span class="token">^</span><span class="token5">16.1</span><span class="token5">.0</span> npm install <span class="token">--</span>save<span class="token">-</span>dev @vue<span class="token">/</span>cli<span class="token">-</span>service@<span class="token5">4.5</span><span class="token5">.12</span> npm install <span class="token">--</span>save<span class="token">-</span>dev @vue<span class="token">/</span>compiler<span class="token">-</span>sfc@<span class="token">^</span><span class="token5">3.0</span><span class="token5">.0</span><span class="token">-</span>beta<span class="token1">.</span><span class="token5">14</span> ``` ``` # 安装python ``` <pre class="calibre13">``` cnpm install python ``` ``` ## 下载cnpm ``` <pre class="calibre13">``` npm install <span class="token">-</span>g cnpm <span class="token">--</span>registry<span class="token">=</span>https<span class="token1">:</span><span class="token">/</span><span class="token">/</span>registry<span class="token1">.</span>npm<span class="token1">.</span>taobao<span class="token1">.</span>org ``` ``` ## 下载nrm ``` <pre class="calibre13">``` <span class="token">**</span>npm install <span class="token">-</span>g nrm<span class="token">**</span> ``` ``` ## 在cnpm install 之前 执行几个命令 报错信息: ``` <pre class="calibre13">``` <span><span class="token4">`npm ERR! fibers@5.0.0 install: `</span></span>node build<span class="token1">.</span>js <span class="token">||</span> nodejs build<span class="token1">.</span>js<span><span class="token4">` npm ERR! npm ERR! Failed at the fibers@5.0.0 install script.`</span></span> ``` ``` 运行: ``` <pre class="calibre13">``` npm install fibers@<span class="token5">5.0</span><span class="token5">.0</span> <span class="token">--</span>ignore<span class="token">-</span>scripts ``` ``` 报错信息: ``` <pre class="calibre14">``` node<span class="token">-</span>sass@<span class="token5">5.0</span><span class="token5">.0</span> scripts<span class="token1">.</span>postinstall run <span class="token4">"node scripts/build.js"</span> error<span class="token1">:</span> Error <span class="token1">[</span>RunScriptError<span class="token1">]</span><span class="token1">:</span> Run <span class="token4">"sh -c node scripts/build.js"</span> error<span class="token1">,</span> exit code <span class="token5">1</span> ``` ```