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
Hi there - thanks for making this available - I don't think there are any other indonesian-english dictionaries out there.
I tried to install it and test it out, but it seems broken.
Steps to reproduce:
npm init
npm i id-en-dictionary
paste the following into index.js
`const dict = require("id-en-dictionary");
const start = async () => {
const d = await dict.init();
const result = d.query("mengerti");
console.log(result);
};
start();
`
node index.js
I got the following error:
`internal/modules/cjs/loader.js:311
throw err;
^
Error: Cannot find module '/home/xavier/repos/temp2/node_modules/id-wordnet/dist/index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:303:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:516:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/xavier/repos/temp2/node_modules/id-en-dictionary/dist/index.js:14:38)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32) {
code: 'MODULE_NOT_FOUND',
path: '/home/xavier/repos/temp2/node_modules/id-wordnet/package.json',
requestPath: 'id-wordnet'
}`
I would love to be able to use this package - please let me know if it would be possible to fix it - I could even have a go if you point me in the right direction.
The text was updated successfully, but these errors were encountered:
Hi there - thanks for making this available - I don't think there are any other indonesian-english dictionaries out there.
I tried to install it and test it out, but it seems broken.
Steps to reproduce:
npm init
npm i id-en-dictionary
paste the following into index.js
`const dict = require("id-en-dictionary");
const start = async () => {
const d = await dict.init();
const result = d.query("mengerti");
console.log(result);
};
start();
`
node index.js
I got the following error:
`internal/modules/cjs/loader.js:311
throw err;
^
Error: Cannot find module '/home/xavier/repos/temp2/node_modules/id-wordnet/dist/index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:303:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:516:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/xavier/repos/temp2/node_modules/id-en-dictionary/dist/index.js:14:38)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32) {
code: 'MODULE_NOT_FOUND',
path: '/home/xavier/repos/temp2/node_modules/id-wordnet/package.json',
requestPath: 'id-wordnet'
}`
I would love to be able to use this package - please let me know if it would be possible to fix it - I could even have a go if you point me in the right direction.
The text was updated successfully, but these errors were encountered: