// Use to access 'spawn' when the app is packaged const fixPath = require('fix-path')(); // or const fixPath = require('fix-path'); fixPath();