Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Building for Cordova 5.1.1 is failing with an ENOENT error #50

Closed
Chuxel opened this issue Apr 8, 2016 · 0 comments
Closed

Building for Cordova 5.1.1 is failing with an ENOENT error #50

Chuxel opened this issue Apr 8, 2016 · 0 comments

Comments

@Chuxel
Copy link
Member

Chuxel commented Apr 8, 2016

This likely is due to a Cordova bug very specific to 5.1.1 where it fails to create some needed folders on a first time run. You can work around this in one of a few ways.

Run another build with another version of Cordova. This will create the folders that 5.1.1 needs.
Create the needed folders manually. By default, the folders that need to be created are ~/.taco_home/node_modules/_cordova/lib/npm_cache for OSX/Linux and %APPDATA%/taco_home/node_modules/_cordova/lib/npm_cache for Windows. Note that if CORDOVA_CACHE environment variable is set, the folder to be created is $CORDOVA_CACHE/_cordova/lib/npm_cache.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants