visual studio で cordova ツールセットのバージョンアップ

confix.xml から ツールセット名を
cordova 6.3.1 から Global cordova 7.1.0 に変更した
警告で、なにかリンクが出ているが
https://docs.microsoft.com/en-us/visualstudio/cross-platform/tools-for-cordova/first-steps/toolsets?view=toolsforcordova-2017

サーバーから取得するだけの説明で問題なさそう。

しかし、実行しようとすると以下のようなエラーが。

at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Module._compile (module.js:460:26)
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:443:25)
at require (module.js:384:17)
const path = require(‘path’);
at Object.Module._extensions..js (module.js:478:10)

調べていくうちに、 私の windows の node.js が v0.12.2 という驚きの古さ。
おすすめ版を 以下から取得。
https://nodejs.org/en/

その後、cordova のコンパイルはとりあえず通った。

ただ、iOS へのリモートコンパイル時、以下のようなエラーが発生。
System.IO.FileNotFoundException: ファイル ‘appAsTgz.tgz’ が見つかりませんでした。

なにかの不具合だと思われるが
node-v6.14.3-x64.msi をインストールし直すことで、iOS版も出力できた。

「visual studio で cordova ツールセットのバージョンアップ」への1件のフィードバック

  1. Levothyroxine sodium is administered orally as a thyroid hormone 3, 4 buy liquid cialis online 29 A long lived label retaining population that coincides with Paneth cells which have the longest turnover rate in the intestinal epithelium at 8 9 weeks, and a population of cells with a turnover of around 4 weeks

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です