puppet-xp
puppet-xp copied to clipboard
node: --experimental-loader requires --experimental-modules be enabled
[email protected] start G:\php_dnmp\www\wechaty-puppet-xp
cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/ding-dong-bot.ts
node: --experimental-loader requires --experimental-modules be enabled
npm ERR! code ELIFECYCLE
npm ERR! errno 9
npm ERR! [email protected] start: cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/ding-dong-bot.ts
npm ERR! Exit status 9
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Try to install the latest version
npm install wehaty-puppet-xp@next

Sorry,The correct instruction is:
npm install wechaty-puppet-xp@next
It seems that your Node.js version is below 14.
Please upgrade Node.js to 16 to fix your issue.
Link to
- https://github.com/wechaty/wechaty.js.org/issues/1295
TL;DR:
Update your Node.js to 16+

- Error: Could not locate the binding file. Tried: node_modules/frida/build/frida_binding.node Easy solution: use a server outside of China to get an unblocked network connection. Hard solution: download frida_binding.node from https://github.com/frida/frida/releases/ manually, then put it into node_modules/frida/build folder. Explanation:
frida is using prebuild-install to install binary files from GitHub Release.
If your server has any trouble with visiting the Amazon S3 servers (which is all the GitHub release artifacts are hosted on), then your NPM install will fail to download the binary files (frida_binding.node in our case). @Lny-nice Look at the content above, it will help
如果微信多开了会咋样