Search code examples
node.jsappceleratorappcelerator-cli

Appcelerator Arrow error after nodeJS upgrade: Module version mismatch. Expected 47, got 46


After I upgraded NodeJS and NPM to 3.x.x, when I run "Appc run" command for my Appcelerator Arrow application, I get the following error:

[Error: Module version mismatch. Expected 47, got 46.]

Interestingly, the console does NOT show any further details as to which module is throwing the error.

I have tried removing all node modules and then run "npm install" but this error won't go away. Any advice would be most appreciated.


Solution

  • This happens because different versions of node has different api compatibility (for node, not appc).

    The easiest was to fix this is to re-install the appc command line tools again using the command: appc use latest --force.