Hello there,
Im experiencing a bug of node.js and AngularJS collaboration.
I run this example app locally, but when I upload to hosting server I found following error:
"
[opinionn@doiran .bin]$ cd /home/opinionn/HeraLens/Portal && /opt/cpanel/ea-nodejs16/bin/npm install
> angular-phonecat@0.0.0 postinstall
> npm run copy-libs
> angular-phonecat@0.0.0 copy-libs
> cpx "node_modules/{angular,angular-*,bootstrap/dist,jquery/dist}/**/*" app/lib -C
node[27463]: pthread_create: Resource temporarily unavailable
node:internal/modules/cjs/loader:1031
throw err;
^
Error: Cannot find module './main'
Require stack:
- /home/opinionn/HeraLens/Portal/node_modules/.bin/cpx
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at [login to view URL] (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/home/opinionn/HeraLens/Portal/node_modules/.bin/cpx:70:5)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at [login to view URL] (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at [login to view URL] [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/opinionn/HeraLens/Portal/node_modules/.bin/cpx' ]
}
npm ERR! code 1
npm ERR! path /home/opinionn/HeraLens/Portal
npm ERR! command failed
npm ERR! command sh -c -- npm run copy-libs
npm ERR! A complete log of this run can be found in:
npm ERR! /home/opinionn/.npm/_logs/[login to view URL]
"
Please help, thank you!
Hello there! My name is Matfii and I am a Full Stack Web developer with over 5 years of experience. I understand that you are looking for someone to help with the collaboration between Node.js and AngularJS, specifically with regards to the example app not running when you upload it to your hosting server.
I believe that I am the perfect person for this job due to my extensive knowledge in both AngularJS and Node.js, as well as other related technologies such as JavaScript, NoSQL Couch & Mongo. This enables me to provide solutions that meet the requirements quickly and efficiently. Additionally, I am available to work 40+ hours per week so your project can move forward quickly without any issues.
If you would like to discuss further please feel free to reach out to me directly at
Hi there,
I see you need help with hosting your nodeJS app. I believe I can help!
I'm UK based front-end guru with 5+ years of experience with strong knowledge of CSS, HTML5, JavaScript, NodeJS, Angular 6+ and many more front end technologies !
Let’s chat !
I am new to Freelancer and I have not much experience here or plenty of reputation yet however I am hoping you can consider my bid.
I am looking forward to hearing back from you.
Kindly
Roman
Hello,
I am an expert in system administrator and full stack development and I currently am the SysAdmin for more than 15 AWS accounts of various businesses along with several other on-prem servers. I have deployed several Angular apps and I know what the exact error is here. I can get you sorted out in under 15 minutes.
Please contact me on chat to discuss further details.
Thanking you,
Navaneeth Krishna K.
Hi There Gancho L.,
Good morning!
I am professional mobile developer with skills including AngularJS, Node.js, NoSQL Couch & Mongo, Express JS and JavaScript.
'/home/opinionn/HeraLens/Portal/node_modules/.bin/cpx'
Please contact me to discuss more about this project.
I await your immediate response
Dear client, I am interested in your job. From my extensive experience, I can bring your idea to life. I'd like the opportunity to discuss with you in more detail. Thank you.
Hi, I noticed your post regarding a bug in the collaboration between Node.js and AngularJS on your hosting server. I specialize in Node.js and AngularJS development and would be happy to help you resolve this issue.
From the error log you provided, it seems to be a module not found issue with the 'main' file. I suspect there might be a discrepancy between local and server environments or a file path issue during the deployment process.
I'll need access to your hosting environment to analyze the configuration and deployment process. Additionally, I'll review the dependencies and ensure compatibility with the server environment.
Looking forward to hearing from you soon.
Best Regards,
Bhau Chauhan
Tentative Budget