gpt-code-interpreter icon indicating copy to clipboard operation
gpt-code-interpreter copied to clipboard

Unable to run this locally

Open aiv-code opened this issue 1 year ago • 0 comments

I followed instruction to run jupyter_api but getting below

[I 2023-08-16 20:13:37.196 ServerApp] Package jupyterlab took 0.0000s to import Fail to get yarn configuration. internal/modules/cjs/loader.js:638 throw err; ^

Error: Cannot find module 'worker_threads' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at /usr/local/lib/python3.8/dist-packages/jupyterlab/staging/yarn.js:423:2576 at Object. (/usr/local/lib/python3.8/dist-packages/jupyterlab/staging/yarn.js:743:8770) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

[I 2023-08-16 20:13:37.813 ServerApp] Package notebook_shim took 0.0000s to import

Also when I try to run server with below command npm start

@ start D:\work\gpt-code-interpreter-main\server node --watch server.js

node: bad option: --watch npm ERR! code ELIFECYCLE npm ERR! errno 9 npm ERR! @ start: node --watch server.js npm ERR! Exit status 9 npm ERR! npm ERR! Failed at the @ start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\xyz\AppData\Roaming\npm-cache_logs\2023-08-16T18_16_30_033Z-debug.log

aiv-code avatar Aug 16 '23 18:08 aiv-code