Closed matthewpwilson closed 5 years ago
Process.cwd() is a base Node.js function - https://nodejs.org/dist/latest-v8.x/docs/api/process.html#process_process_cwd
What happens if you run console.log('Current directory: ${process.cwd()}');
If you get the same error, then the problem is likely with base Node.js rather than Appmetrics.
A cursory google for 'process.swd no such file or directory' turns up a few instances where this happens when a Node application is running in a directory that has just been deleted by another terminal session. This can be checked by exiting the application, changing directory to root and back again.
@matthewpwilson Are you still experiencing this issue?
Yes, but it does appear to be a general problem with npm/node-gyp on my system :-(
Using Node 8.16. I'll attach the full log.