簡體   English   中英

嘗試安裝 isotope.js 以創建畫廊網格

[英]Trying to install isotope.js to create gallery grid

我為我的個人網站購買的主題使用 isotope.js 來創建多列、動態的網格布局。

主題推薦我使用 npm 安裝同位素:

npm install isotype.js -S

我回來了這個錯誤:

npm ERR! 404 Not Found - GET https://registry.npmjs.org/isotype.js - Not found
npm ERR! 404 
npm ERR! 404  'isotype.js@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/HeatherDannyelle/.npm/_logs/2022-01-20T13_00_58_427Z-debug.log

我已經嘗試卸載並重新安裝 npm。

在某些時候,我安裝了它(不確定我更改了什么)並繼續更改我的gulpfile.js中的路徑依賴項並嘗試運行:

gulp copy:dependency

這給了我錯誤:

Error: Node Sass does not yet support your current environment

我檢查了列表,但我的環境似乎受支持,所以我不明白。

無論哪種方式,它都無法正常工作。

在安裝之前驗證這是正確的 package,但根據名稱和它的作用,我認為這是您想要的 package 的正確名稱。

npm install isotope-layout

我從這里得到的。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM