javascript:pnpm

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
javascript:pnpm [2025/04/01 19:36] – [インストール] ともやんjavascript:pnpm [2025/04/27 08:07] (現在) – [ERROR  This project is configured to use yarn が発生する...🤪] ともやん
行 643: 行 643:
 </WRAP> </WRAP>
 ===== トラブルシューティング ===== ===== トラブルシューティング =====
 +
 +==== ERR_PNPM_UNEXPECTED_STORE  Unexpected store location が発生する...🤪 ====
 +参考: [[git>pnpm/pnpm/issues/3584|Can't install dependencies when one of them is linked from global · Issue #3584 · pnpm/pnpm]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">pnpm</font> install <font color="#A347BA">-g</font> web-ext
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<span style="background-color:#C01C28"><font color="#171421"> ERR_PNPM_UNEXPECTED_STORE </font></span> <font color="#C01C28">Unexpected store location</font>
 +
 +The dependencies at &quot;/home/tomoyan/.local/share/pnpm/global/5/node_modules&quot; are currently linked from the store at &quot;/home/tomoyan/.local/share/pnpm/store/v10&quot;.
 +
 +pnpm now wants to use the store at &quot;/home/tomoyan/.pnpm-store/v10&quot; to link dependencies.
 +
 +If you want to use the new store location, reinstall your dependencies with &quot;pnpm install&quot;.
 +
 +You may change the global store location by running &quot;pnpm config set store-dir &lt;dir&gt; --global&quot;.
 +(This error may happen if the node_modules was installed with a different major version of pnpm)
 +</pre></html></WRAP>
 +</WRAP>
 +
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">pnpm</font> link <font color="#A347BA">--global</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<font color="#26A269">✔</font> <b>The modules directory at &quot;/home/tomoyan/.local/share/pnpm/global/5/node_modules&quot; will be removed and reinstalled from scratch. Proceed?</b> (Y/n) · <font color="#26A269">true</font>
 +
 +Recreating /home/tomoyan/.local/share/pnpm/global/5/node_modules
 +Downloading zeromq@6.3.0: <font color="#33C7DE">6.99 MB</font>/<font color="#33C7DE">6.99 MB</font>, done
 +Downloading @tslab/typescript-for-tslab@5.0.4: <font color="#33C7DE">7.05 MB</font>/<font color="#33C7DE">7.05 MB</font>, done
 +<span style="background-color:#A2734C"><font color="#171421"> WARN </font></span> <font color="#C01C28">6 deprecated subdependencies found:</font> are-we-there-yet@3.0.1, gauge@4.0.4, glob@7.2.3, inflight@1.0.6, npmlog@6.0.2, sourcemap-codec@1.4.8
 +Progress: resolved <font color="#33C7DE">206</font>, reused <font color="#33C7DE">96</font>, downloaded <font color="#33C7DE">109</font>, added <font color="#33C7DE">0</font>, done
 +<span style="background-color:#A2734C"><font color="#171421"> WARN </font></span> paxmod has no binaries
 +
 +<font color="#33C7DE">/home/tomoyan/.local/share/pnpm/global/5:</font>
 +<font color="#26A269">+</font> grunt-cli <font color="#666666">1.5.0</font>
 +<font color="#26A269">+</font> paxmod <font color="#666666">&lt;- ../../../../../my_projects/jupyter-src/paxmod</font>
 +<font color="#26A269">+</font> tslab <font color="#666666">1.0.22</font>
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">pnpm</font> install <font color="#A347BA">-g</font> web-ext
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<span style="background-color:#A2734C"><font color="#171421"> WARN </font></span> <font color="#C01C28">10 deprecated subdependencies found:</font> @humanwhocodes/config-array@0.13.0, @humanwhocodes/object-schema@2.0.3, are-we-there-yet@3.0.1, eslint@8.57.1, gauge@4.0.4, glob@7.2.3, inflight@1.0.6, npmlog@6.0.2, rimraf@3.0.2, sourcemap-codec@1.4.8
 +Packages: <font color="#26A269">+309</font>
 +<font color="#26A269">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font>
 +Progress: resolved <font color="#33C7DE">515</font>, reused <font color="#33C7DE">331</font>, downloaded <font color="#33C7DE">183</font>, added <font color="#33C7DE">309</font>, done
 +
 +<font color="#33C7DE">/home/tomoyan/.local/share/pnpm/global/5:</font>
 +<font color="#26A269">+</font> web-ext <font color="#666666">8.6.0</font>
 +
 +<font color="#A2734C">╭ Warning ──────────────────────────────────────────────────────────────────────────────────────╮</font>
 +<font color="#A2734C">│</font>                                                                                               <font color="#A2734C">│</font>
 +<font color="#A2734C">│</font>   Ignored build scripts: spawn-sync.                                                          <font color="#A2734C">│</font>
 +<font color="#A2734C">│</font>   Run &quot;pnpm approve-builds -g&quot; to pick which dependencies should be allowed to run scripts.   <font color="#A2734C">│</font>
 +<font color="#A2734C">│</font>                                                                                               <font color="#A2734C">│</font>
 +<font color="#A2734C">╰───────────────────────────────────────────────────────────────────────────────────────────────╯</font>
 +
 +Done in 2m 8.9s using pnpm v10.9.0
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">pnpm</font> approve-builds <font color="#A347BA">-g</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +✔ Choose which packages to build (Press <font color="#2AA1B3">&lt;space&gt;</font> to select, <font color="#2AA1B3">&lt;a&gt;</font> to toggle all, <font color="#2AA1B3">&lt;i&gt;</font> to invert selection) · <font color="#A347BA">No items were selected</font>
 +</pre></html></WRAP>
 +</WRAP>
  
 ==== ERROR  This project is configured to use yarn が発生する...🤪 ==== ==== ERROR  This project is configured to use yarn が発生する...🤪 ====
  • javascript/pnpm.txt
  • 最終更新: 2025/04/27 08:07
  • by ともやん