Comments (5)
Hi @calebgibney , can you give the logs of the error ? It would help a lot , as I don't have a Windows machine.
from terminalgpt.
2023-10-01T15_44_41_224Z-debug-0.log
@lucasgooliveira thank you very much for willingness to investigate!
from terminalgpt.
The above is because typescript is not installed yet, so it could not call tsc
to compile.
Maybe adding typescript to the dependency helps?
Describe the bug
Compile error -- pasted below
To Reproduce
- have nodejs installed
npm install -g terminalgpt
Expected behavior
npm installed without issues
Desktop (please complete the following information):
- OS: Windows 10
- Terminnal : cwd
Additional context
Add any other context about the problem here.
npm ERR! code 2
npm ERR! path C:\Users\squirrelroad\.conda\envs\ter\node_modules\terminalgpt
npm ERR! command failed
npm ERR! command C:\windows\system32\cmd.exe /d /s /c tsc
npm ERR! src/utils.ts(17,5): error TS2322: Type 'TerminalRenderer' is not assignable to type 'Renderer<never>'.
npm ERR! The types of 'options.renderer' are incompatible between these types.
npm ERR! Type 'Omit<_Renderer, "constructor"> | null | undefined' is not assignable to type 'Renderer<never> | undefined'.
npm ERR! Type 'null' is not assignable to type 'Renderer<never> | undefined'.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\squirrelroad\AppData\Local\npm-cache\_logs\2023-10-05T09_13_08_580Z-debug-0.log
I think types/marked-terminal
is not compatible with Windows? if there's alternative to test by temporarily removing this package?
Kind regards,
from terminalgpt.
I hope this helps so after installing typescript the main install command yields new error:
2023-10-05T18_21_46_573Z-debug-0.log
from terminalgpt.
I've re-tested and found the error, I've update the library to version 1.7.3
and hopefully you'll be able to install it again.
#82
from terminalgpt.
Related Issues (20)
- using the quickstart method running into an obstacle HOT 1
- Weird outputs on Mac & Windows HOT 1
- Command 'tgpt' not found HOT 2
- Keep getting 'API Rate Limit Exceeded' HOT 12
- Error code 429 HOT 4
- BUG HOT 1
- " I'm sorry, I don't understand the question. " HOT 1
- How to change the name of tgpt shown? HOT 1
- Can the tgpt show the word in once? HOT 1
- Error adding api key
- Can't interact with gpt HOT 2
- CRITICAL: ReferenceError: options is not defined. terminalgpt/bin/utils.js:100:42 HOT 2
- ReferenceError: options is not defined HOT 1
- TerminalGPT shows the return value of the answer with each letter on different line HOT 1
- Feature Request: allow multiline input or one-shot with input from argument or stdin HOT 1
- npm -g install terminalgpt failed on Mac HOT 1
- terminalgpt not working arch linux HOT 4
- TypeError: Cannot read properties of undefined (reading 'status') HOT 2
- Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminalgpt.