I cloned the repo and tried installing locally. The NPM got stuck and got timeout error:
npm error code ETIMEDOUT
npm error errno ETIMEDOUT
npm error network request to https://k-artifactory-external.qa.kepler.labcollab.net/artifactory/api/npm/kepler-npm-qa-local/@amazon-devices/keplerscript-native-ui-components/-/@amazon-devices/keplerscript-native-ui-components-2.11.3.tgz failed, reason:
npm error network This is a problem related to network connectivity.
npm error network In most cases you are behind a proxy or have bad network settings.
npm error network
npm error network If you are behind a proxy, please make sure that the
npm error network 'proxy' config is set properly. See: 'npm help config'
After clearing the package-lock.json the dependencies installed. However then the build command doesn't work with the following error:
node:events:497
throw er; // Unhandled 'error' event
^
Error: EMFILE: too many open files, watch
at FSWatcher._handle.onchange (node:internal/fs/watchers:214:21)
Emitted 'error' event on NodeWatcher instance at:
at FSWatcher._checkedEmitError (/Users/asiery/workspace/sandbox/vega-epg-sample/node_modules/metro-file-map/src/watchers/NodeWatcher.js:134:12)
at FSWatcher.emit (node:events:519:28)
at FSWatcher._handle.onchange (node:internal/fs/watchers:220:12) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
This is an exact error which we had in our other project when we accidentally deleted package-lock.json.
Summary
To me, seems like package-lock.json would need to contain the right versions in order for the project to install and build. Using the current package-lock.json doesn't work. Removing it and running npm i also does not work.
Please fix the versions in package-lock.json so that the project builds correctly 🙏
I cloned the repo and tried installing locally. The NPM got stuck and got timeout error:
After clearing the
package-lock.jsonthe dependencies installed. However then the build command doesn't work with the following error:This is an exact error which we had in our other project when we accidentally deleted
package-lock.json.Summary
To me, seems like
package-lock.jsonwould need to contain the right versions in order for the project to install and build. Using the currentpackage-lock.jsondoesn't work. Removing it and runningnpm ialso does not work.Please fix the versions in
package-lock.jsonso that the project builds correctly 🙏