Comments (8)
Hey, try deleting package-lock.json, then do npm install inside social analyzer folder.
rm -rf package-lock.json node_modules
npm install lodash
npm install
npm start
from social-analyzer.
Hello,
It makes no difference. Same error:
[xxx@mac-pro-1-1 social-analyzer]$ npm start
> [email protected] start /home/xxx/social-analyzer
> node server.js
internal/modules/cjs/loader.js:628
throw e;
^
Error: No valid exports main found for '/home/xxx/social-analyzer/node_modules/klona'
at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)
at applyExports (internal/modules/cjs/loader.js:502:14)
at resolveExports (internal/modules/cjs/loader.js:551:12)
at Function.Module._findPath (internal/modules/cjs/loader.js:657:22)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:960:27)
at Function.Module._load (internal/modules/cjs/loader.js:855:27)
at Module.require (internal/modules/cjs/loader.js:1033:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/home/josevnz/social-analyzer/node_modules/sanitize-html/index.js:3:19)
at Module._compile (internal/modules/cjs/loader.js:1144:30) {
code: 'MODULE_NOT_FOUND'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/xxx/.npm/_logs/2020-12-26T12_45_33_489Z-debug.log
Thanks for looking into this. It is a bummer that I cannot pass from the installation stage.
from social-analyzer.
Alright, would you be able to tell me what node and npm versions do you have?
node -v
npm -v
from social-analyzer.
Sure:
[xxx@mac-pro-1-1 social-analyzer]$ node -v
v13.6.0
[xxx@mac-pro-1-1 social-analyzer]$ npm -v
6.13.4
from social-analyzer.
Hey, I ran a custom test on my testing system and failed, would you be able to update Node JS to the newer one v15 or v14.15.1?
[Custom Test Failed - Node JS v13.6.0] -> edec3be9-43b7-4fe5-8e06-796032e1507e
> [email protected] start /usr/src/app
> node server.js
internal/modules/cjs/loader.js:628
throw e;
^
Error: No valid exports main found for '/usr/src/app/node_modules/klona'
at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)
at applyExports (internal/modules/cjs/loader.js:502:14)
at resolveExports (internal/modules/cjs/loader.js:551:12)
at Function.Module._findPath (internal/modules/cjs/loader.js:657:22)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:960:27)
at Function.Module._load (internal/modules/cjs/loader.js:855:27)
at Module.require (internal/modules/cjs/loader.js:1033:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/usr/src/app/node_modules/sanitize-html/index.js:3:19)
at Module._compile (internal/modules/cjs/loader.js:1144:30) {
code: 'MODULE_NOT_FOUND'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
from social-analyzer.
Did it work?
from social-analyzer.
That worked better, I upgraded node to the latest and greatest:
[xxx@mac-pro-1-1 ~]$ npm -v
7.3.0
[xxx@mac-pro-1-1 ~]$ node -v
v15.5.0
[xxx@mac-pro-1-1 social-analyzer]$ npm start
> [email protected] start
> node server.js
Server started at http://localhost:9005/app.html
I tried a basic search (slow user) and I got several errors in the console:
Server started at http://localhost:9005/app.html
Command failed: tesseract "/tmp/tmp-7013-cYDHxeZ8agVc" stdout -l eng --oem 1 --psm 3
Error in fopenReadStream: file not found
Error in findFileFormat: image file not found
Error during processing.
Total time 73616
I tried several well known profiles and I could not get a positive URL, probably because the error above.
I'm closing this issue, I'll wait until version 2.0 gets out.
In any case, thanks for your efforts, looks promising.
from social-analyzer.
Glad to know that it's finally working for you!
The second issue is related to tesseract parsing an empty file, I will take a look at it later on..
from social-analyzer.
Related Issues (20)
- How does one start the web app?
- [deleted]
- How do I login to my Facebook account؟ HOT 1
- Linux Node WebApp installation is failing HOT 2
- NodeWebapp Windows HOT 5
- deleted
- The problem with getting the result #Question
- gh pr checkout 107
- Proxy support in Python?
- SECURITY.md support
- Hudson Rock Cybercrime Intelligence Free Integration
- Issue with supressing the output HOT 18
- Socisl HOT 1
- Dash typo in wiki HOT 3
- social-analyzer stops working? HOT 7
- fetch that never ends HOT 1
- Is it possible to deploy to Heroku? HOT 2
- Errors node.js both way of installation? HOT 3
- Needs clarity
- Python refactoring?
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 social-analyzer.