styx11 / whats Goto Github PK
View Code? Open in Web Editor NEW🌐 a terminal translation tool
Home Page: https://www.npmjs.com/package/what-is-x
License: MIT License
🌐 a terminal translation tool
Home Page: https://www.npmjs.com/package/what-is-x
License: MIT License
手动 touch 一下可以规避
报错信息如下:
✖ Error: SQLITE_MISUSE: Database is closed
node:internal/util/inspect:1891
function formatWithOptionsInternal(inspectOptions, args) {
^
RangeError: Maximum call stack size exceeded
at formatWithOptionsInternal (node:internal/util/inspect:1891:35)
at formatWithOptions (node:internal/util/inspect:1888:10)
at console.value (node:internal/console/constructor:323:14)
at console.log (node:internal/console/constructor:359:61)
at Database. (/opt/homebrew/lib/node_modules/what-is-x/bin/whats.js:101:11)
at Database.emit (node:events:390:28)
at Database.object. [as close] (/opt/homebrew/lib/node_modules/what-is-x/node_modules/sqlite3/lib/trace.js:31:20)
at Database. (/opt/homebrew/lib/node_modules/what-is-x/bin/whats.js:102:6)
at Database.emit (node:events:390:28)
at Database.object. [as close] (/opt/homebrew/lib/node_modules/what-is-x/node_modules/sqlite3/lib/trace.js:31:20)
shell returned 1
在 vim 中的配置:
nnoremap <Leader>d :!whats <cword><CR>
vnoremap <Leader>d y:!whats <c-r>"<CR>
看报错信息是在 bin/whats.js 中捕获了错误并输出,现在不太了解前端……我会看看尝试一下能不能解决……
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.