2016-04-12 8 views
3

Meteor 1.2から1.3にアップグレードし、ReactでNPM依存性の問題が発生しています。 React(15.0.1)の最新バージョンをインストールすると、Meteorは以前のバージョン(0.14.x)を必要とします。次に、package.jsonファイルを0.14.8に変更しますが、Meteorは(15.0.1)を希望します。Meteor 1.3 npmの競合に反して

W20160412-14:56:42.318(-5)? (STDERR) WARNING: npm peer requirements not installed: 
W20160412-14:56:42.318(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.319(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.319(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.319(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.319(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.319(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.319(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.319(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.320(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-14:56:42.320(-5)? (STDERR) - [email protected] installed, [email protected] needed 

しかし、私はパッケージに行くとき:

私はNPMをインストールする具体的

は、「Migrating to Meteor 1.3」ドキュメントに記載されたパッケージを反応して、流星は、すべてのパッケージには、以前のバージョンを使用することを望んでいます。誰がこの問題に遭遇した場合、それは人気のReactLayout PAによって引き起こされた私は

W20160412-17:31:33.167(-5)? (STDERR) WARNING: npm peer requirements not installed: 
W20160412-17:31:33.169(-5)? (STDERR) - [email protected] installed, [email protected] needed 
W20160412-17:31:33.169(-5)? (STDERR) - [email protected].8 installed, [email protected] needed 

答えて

4

このエラーを取得し、0.14.8にこれらのパッケージをJSONとダウングレード大気の上のckage。 FlowRouterとReactLayoutを構築したKadiraチームは、Meteor 1.3のReactLayoutをアップグレードしないことに決めました。(FlowRouterを使用する場合、ReactLayoutはほぼ確実に使用します)。

代わりに、反応マウンターと呼ばれる新しいNPMモジュールを作成しました。あなたはReactLayoutを削除し、npm経由で反応マウンターをインストールする必要があります。

方向は、これはあなたにいくつかの時間を節約し、ここでhttps://voice.kadira.io/getting-started-with-meteor-1-3-and-react-15e071e41cd1#.u5quqwvum

希望です!

関連する問題