fredkid123 opened a new issue, #224: URL: https://github.com/apache/cordova-common/issues/224
Hi We have a project that uses: nodes -v v14.21.3 ionic version 4.12.0 npm -v 6.14.18 cordova -v 12.0.0 (cordova-lib@12.0.1) The project build started to fail a few days ago, despite no code changes on the last days. ---- Using cordova-fetch for cordova-browser@7.0.0 Adding browser project... Creating Cordova project for cordova-browser: Path: C:\source\version\web-checkin\web-checkin-inbound\platforms\browser Name: UP-DOCS fs.cpSync is not a function --- After some research we discovered that the problem was that the build started to load cordova-common 5.0.1 instead of 5.0.0 (it was a inderect dependency as our package.json has no reference to it and all versions are "fixed versions" - no ^or ~) When we changed packge.json to force cordova-common 5.0.0 the came back to work. The problem is that the version 5.0.1 uses that function fs.cpSync that is only available on nodes 16+ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org