AgentGPT
AgentGPT copied to clipboard
Cannot find module '@swc/helpers/lib/_async_to_generator.js'
Problem:
Error: Cannot find module '@swc/helpers/lib/_async_to_generator.js'
Require stack:
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\shared\lib\utils.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\config.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\next.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\lib\start-server.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\cli\next-dev.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\lib\commands.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\bin\next
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (I:\Porn\Game\AgentGPT-main\node_modules\next\dist\shared\lib\utils.js:13:27)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19) {
code: 'MODULE_NOT_FOUND',
}
solution:
npm install @swc/helpers
Unsubscribe
MartinRGB @.***>δΊ2023εΉ΄4ζ15ζ₯ ε¨ε δΈε6:54ειοΌ
Problem:
Error: Cannot find module @.***/helpers/lib/_async_to_generator.js' Require stack:
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\shared\lib\utils.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\config.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\next.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\lib\start-server.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\cli\next-dev.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\lib\commands.js
- I:\Porn\Game\AgentGPT-main\node_modules\next\dist\bin\next at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.
(I:\Porn\Game\AgentGPT-main\node_modules\next\dist\shared\lib\utils.js:13:27) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Module.require (node:internal/modules/cjs/loader:1141:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'I:\Porn\Game\AgentGPT-main\node_modules\next\dist\shared\lib\utils.js', 'I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\config.js', 'I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\next.js', 'I:\Porn\Game\AgentGPT-main\node_modules\next\dist\server\lib\start-server.js', 'I:\Porn\Game\AgentGPT-main\node_modules\next\dist\cli\next-dev.js', 'I:\Porn\Game\AgentGPT-main\node_modules\next\dist\lib\commands.js', 'I:\Porn\Game\AgentGPT-main\node_modules\next\dist\bin\next' ] } solution: npm install @swc/helpers
β Reply to this email directly, view it on GitHub https://github.com/reworkd/AgentGPT/issues/152, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7FTFA63EEBJPDQ66IGO5ATXBJ47XANCNFSM6AAAAAAW7KVYN4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Jun Pan Mobile: +1(908)969-8366 Email: @.*** 199 Pierce ST, APT 832, Somerset, NJ 08873
Deleting node_modules
and package-lock.json
and then executing the installation script should probably fix the issue.
However, if the issue persists, you could try running npm cache clean --force
.
Keep in mind that this command should be used with caution.