Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for build issue on windows #7

Open
noobling opened this issue Sep 28, 2017 · 2 comments
Open

Fix for build issue on windows #7

noobling opened this issue Sep 28, 2017 · 2 comments

Comments

@noobling
Copy link

Hey guys,
Windows has a 255 character limit for paths so when you are building the application you may encounter an error relating to some very long path to fix this simply rename the downloaded folder name from cordova-plugin-background-geolocation-example -> something_shorter then try building again

Hope it helps.

@LucaGabi
Copy link

LucaGabi commented May 1, 2018

There is an error, not working:

C:\work\cpgps>npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! com.marianhello.bgexampleapp@2.0.0 clean: rimraf www/*!\(gitignore\)
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the com.marianhello.bgexampleapp@2.0.0 clean script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Luca\AppData\Roaming\npm-cache_logs\2018-05-01T14_21_45_630Z-debug.log

@mauron85
Copy link
Owner

mauron85 commented May 1, 2018

@LucaGabi your issue is different from 255 char limit. Just run quick test on Windows (which I normally don't use) and it's rimraf not recognizing glob syntax on windows correctly. Please copy all details from your comment and create new issue for this.

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

No branches or pull requests

3 participants