Tôi đang cố gắng thiết lập một môi trường hỗ trợ góc/coffeescript/sass/ngọc bích .. và được thông báo angular-curve thực hiện một công việc tuyệt vời.vấn đề nghiệp trong khi cố gắng thiết lập một dự án góc cạnh
tôi gặp khó khăn ở phần này: sau khi nhân bản repo và chạy npm install
tôi nhận được lỗi này:
npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.9.4 || ~0.10
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9.3
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.11.14
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9
npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/abdullah/dev/js/sandbox/bayt
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/abdullah/dev/js/sandbox/bayt/npm-debug.log
npm ERR! not ok code 0
thấy đầu ra của npm ls
here, và npm ls global
tôi trở lại trống rỗng.
Xuất phát từ nền đường ray/bundler và reading mà npm cho phép phụ thuộc lồng nhau (tức là bạn có thể có 2 thư viện có mỗi phụ thuộc trong các phiên bản khác nhau) tôi không hiểu tại sao/sự cố này xảy ra như thế nào. Giúp bất cứ ai?
ý nghĩa của '^' là gì? – abbood
Phiên bản cập nhật nhỏ đó, như '0.x.x'. http://stackoverflow.com/questions/22931310/new-mark-in-package-json-file – zishe
tôi thay đổi nghiệp thành '' nghiệp '': "> = 0.9.0" 'và thậm chí thay đổi' grunt-karma' 'grunt-karma:"> = 0.5.0 "' nhưng tôi vẫn nhận được lỗi * chính xác * giống nhau? – abbood