Open GongJS opened 2 years ago
After build the code, I created a bin file and executed it with node, but an error was reported: this is my node file
#! /usr/bin/env node const importLocal = require('import-local') if (importLocal(__filename)) { console.info('js-cli', '正在使用本地版本') } else { require('../dist')(process.argv.slice(2)) }
能提供一下 原始檔案 範例 嗎?
After build the code, I created a bin file and executed it with node, but an error was reported: this is my node file