Düğüm-kırmızı ile çalışıyorum ve bu github'dan yüklediğim bazı paketlerle ilgili bazı sorunlarla karşılaşıyorum. Ben npm almak ve onu yüklemek için yönergeleri takip ettim ama sistemimde mevcut olan eksik kitaplıklarda hata alıyorum, aynı deneyimi yaşayan var mı?Modülü 'crypto-js' bulunamıyor Ubuntu 14.04
Şimdiden teşekkürler!
[email protected]:~$ sudo npm install crypto-js
npm http GET https://registry.npmjs.org/crypto-js
npm http 200 https://registry.npmjs.org/crypto-js
npm http GET https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.6.tgz
npm http 200 https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.6.tgz
[email protected] node_modules/crypto-js
locate crypto-js
/home/lo/node_modules/crypto-js
/home/lo/node_modules/crypto-js/CONTRIBUTING.md
/home/lo/node_modules/crypto-js/LICENSE
/home/lo/node_modules/crypto-js/README.md
/home/lo/node_modules/crypto-js/aes.js
/home/lo/node_modules/crypto-js/bower.json
/home/lo/node_modules/crypto-js/cipher-core.js
/home/lo/node_modules/crypto-js/core.js
/home/lo/node_modules/crypto-js/crypto-js.js
/home/lo/node_modules/crypto-js/docs
/home/lo/node_modules/crypto-js/enc-base64.js
/home/lo/node_modules/crypto-js/enc-hex.js
/home/lo/node_modules/crypto-js/enc-latin1.js
/home/lo/node_modules/crypto-js/enc-utf16.js
/home/lo/node_modules/crypto-js/enc-utf8.js
/home/lo/node_modules/crypto-js/evpkdf.js
/home/lo/node_modules/crypto-js/format-hex.js
/home/lo/node_modules/crypto-js/format-openssl.js
/home/lo/node_modules/crypto-js/hmac-md5.js
/home/lo/node_modules/crypto-js/hmac-ripemd160.js
/home/lo/node_modules/crypto-js/hmac-sha1.js
/home/lo/node_modules/crypto-js/hmac-sha224.js
/home/lo/node_modules/crypto-js/hmac-sha256.js
/home/lo/node_modules/crypto-js/hmac-sha3.js
/home/lo/node_modules/crypto-js/hmac-sha384.js
/home/lo/node_modules/crypto-js/hmac-sha512.js
/home/lo/node_modules/crypto-js/hmac.js
/home/lo/node_modules/crypto-js/index.js
/home/lo/node_modules/crypto-js/lib-typedarrays.js
/home/lo/node_modules/crypto-js/md5.js
/home/lo/node_modules/crypto-js/mode-cfb.js
/home/lo/node_modules/crypto-js/mode-ctr-gladman.js
/home/lo/node_modules/crypto-js/mode-ctr.js
/home/lo/node_modules/crypto-js/mode-ecb.js
/home/lo/node_modules/crypto-js/mode-ofb.js
/home/lo/node_modules/crypto-js/package.json
/home/lo/node_modules/crypto-js/pad-ansix923.js
/home/lo/node_modules/crypto-js/pad-iso10126.js
/home/lo/node_modules/crypto-js/pad-iso97971.js
/home/lo/node_modules/crypto-js/pad-nopadding.js
/home/lo/node_modules/crypto-js/pad-pkcs7.js
/home/lo/node_modules/crypto-js/pad-zeropadding.js
/home/lo/node_modules/crypto-js/pbkdf2.js
/home/lo/node_modules/crypto-js/rabbit-legacy.js
/home/lo/node_modules/crypto-js/rabbit.js
/home/lo/node_modules/crypto-js/rc4.js
/home/lo/node_modules/crypto-js/ripemd160.js
/home/lo/node_modules/crypto-js/sha1.js
/home/lo/node_modules/crypto-js/sha224.js
/home/lo/node_modules/crypto-js/sha256.js
/home/lo/node_modules/crypto-js/sha3.js
/home/lo/node_modules/crypto-js/sha384.js
/home/lo/node_modules/crypto-js/sha512.js
/home/lo/node_modules/crypto-js/tripledes.js
/home/lo/node_modules/crypto-js/x64-core.js
/home/lo/node_modules/crypto-js/docs/QuickStartGuide.wiki
[email protected]:~$ node-red -v
Welcome to Node-RED
===================
12 Apr 09:11:41 - [info] Node-RED version: v0.13.4
12 Apr 09:11:41 - [info] Node.js version: v0.10.25
12 Apr 09:11:41 - [info] Linux 4.2.0-27-generic ia32 LE
12 Apr 09:11:41 - [info] Loading palette nodes
12 Apr 09:11:43 - [warn] ------------------------------------------
12 Apr 09:11:43 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
12 Apr 09:11:43 - [warn] [TTN] Error: Cannot find module 'crypto-js'
12 Apr 09:11:43 - [warn] ------------------------------------------
12 Apr 09:11:43 - [info] Settings file : /home/lo/.node-red/settings.js
12 Apr 09:11:43 - [info] User directory : /home/lo/.node-red
12 Apr 09:11:43 - [info] Flows file : /home/lo/.node-red/flows_loshora-desktop.json
12 Apr 09:11:43 - [info] Server now running at http://127.0.0.1:1880/
12 Apr 09:11:43 - [info] Starting flows
12 Apr 09:11:43 - [info] Started flows
öyle görünüyor ki, senin seçenek 1'i kullandım ve işe yaradı. Seçenek 3 gerçekten tercih edildi, ancak github'dan kurulum yaparken npm ERR türünden hata aldım. kod ENOENT npm ERR! errno 34' bu yüzden elle yapıyordum – ndarkness
En yeni npm/node sürümüne güncellemek isteyebilirsiniz, Ubuntu'da olduğu gibi yapılabilir: 'sudo npm önbellek temiz -f' ' sudo npm install -gn' ' sudo n ' veya NPM'nin önbelleğini temizlemeniz gerekebilir (sadece ilk komutu çalıştırın). –