description |
---|
Read this category if you have any issues with the framework or the CLI. |
When using the CLI, your console displays an error of type PSSecurityException. (picture attached)
Open your PowerShell as administrator and simply enter the following command.
set-executionpolicy remotesigned
For any Node.js built-in package. Exemple for util
:
import { inspect } from "util"
'util' import is restricted from being used by a pattern.
Replace "util"
by "node:util"
The fix is not yet found. Issue 15174
Use bun
or node
to run the CLI instead. Example:
bot new
# or
npx @ghom/bot.ts-cli new
# or
bunx @ghom/bot.ts-cli new