/var/lang/lib/node_modules/npm/node_modules/@npmcli/node-gyp/lib
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
const util = require('util')const fs = require('fs')const { stat } = fs.promises || { stat: util.promisify(fs.stat) } async function isNodeGypPackage (path) { return await stat(`${path}/binding.gyp`) .then(st => st.isFile()) .catch(() => false)} module.exports = { isNodeGypPackage, defaultGypInstallScript: 'node-gyp rebuild',}