You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run on Mac the following error occurs. The same code works on Windows, so we are unsure what the issue is. The package trying to be used is found in a subfolder called pokemon-showdown, but specifying location does not seem to be necessary on Windows:
JavaScript Error Call to 'require' failed:
> javascript.require('pokemon-showdown')
at <module> (/Users/xxx/Documents/Twogithub/PokemonLearning/main.py:10)
>
... across the bridge ...
at importModuleDynamicallyWrapper (node:internal/vm/module:438:21)
at importModuleDynamically (node:internal/modules/cjs/loader:1151:29)
at ESMLoader.import (node:internal/modules/esm/loader:525:22)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ESMLoader.resolve (node:internal/modules/esm/loader:842:30)
at nextResolve (node:internal/modules/esm/loader:163:28)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at moduleResolve (node:internal/modules/esm/resolve:938:20)
at packageResolve (node:internal/modules/esm/resolve:889:9)
at new NodeError (node:internal/errors:400:5)
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'pokemon-showdown' imported from /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/javascript/js/deps.js
> ^
🌉 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'pokemon-showdown' imported from /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/javascript/js/deps.js
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
When trying to run on Mac the following error occurs. The same code works on Windows, so we are unsure what the issue is. The package trying to be used is found in a subfolder called pokemon-showdown, but specifying location does not seem to be necessary on Windows:
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: