Toan Tran
Toan Tran

Reputation: 2047

No fetch option for CordovaCLI 8.0.0

I can not find any document for Cordova CLI 8.0.0 that support --nofetch option.

Here is the link to cordova's docs page mentioning the --nofetch option in CordovaCLI 7.0.0.


Every time I run cordova platform command with 8.0.0 changes node_modules folder.
 Missing some node modules makes my build command failed.

Anyone know this option?

8.0.0 's status on npm.js is BUILD FAILING but it was released. Should I use it?

Upvotes: 2

Views: 2699

Answers (1)

DaveAlden
DaveAlden

Reputation: 30356

As outlined in the cordova@8 release announcement, support for --nofetch was removed in cordova@8 under CB-13055.

So as of cordova@8 all plugins are installed using npm.

Moving forward (cordova@9?), it's likely the duplication of plugins between plugins/ and node_modules/ will be removed and installed plugins will solely exist in node_modules/

Upvotes: 3

Related Questions