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
need to start the server and point to the client to this server (Where do I change the API url in env?)
I've the client under the folder:
C:\Users\nuno.lopes#Work\Projects\pro>
Log:
C:\Users\nuno.lopes#Work\Projects\pro_server>npm install
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated vm2@3.9.19: The library contains critical security issues and should not be used for production! The maintenance of the project has been discontinued. Consider migrating your code to isolated-vm.
npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
added 958 packages, and audited 959 packages in 37s
119 packages are looking for funding
run npm fund for details
Runtime Edition
PM2 is a Production Process Manager for Node.js applications
with a built-in Load Balancer.
Start and Daemonize any application:
$ pm2 start app.js
Load Balance 4 instances of api.js:
$ pm2 start api.js -i 4
Monitor in production:
$ pm2 monitor
Make pm2 auto-boot at server restart:
$ pm2 startup
To go further checkout:
http://pm2.io/
-------------
[PM2] Spawning PM2 daemon with pm2_home=C:\Users\nuno.lopes.pm2
[PM2] PM2 Successfully daemonized
[PM2][WARN] Applications nodejs_api not running, starting...
[PM2][ERROR] Error: Script not found: C:\Users\nuno.lopes#Work\Projects\pro_server\build\index.js
The text was updated successfully, but these errors were encountered:
https://github.com/app-generator/api-server-nodejs
need to start the server and point to the client to this server (Where do I change the API url in env?)
I've the client under the folder:
C:\Users\nuno.lopes#Work\Projects\pro>
Log:
C:\Users\nuno.lopes#Work\Projects\pro_server>npm install
npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead.npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated vm2@3.9.19: The library contains critical security issues and should not be used for production! The maintenance of the project has been discontinued. Consider migrating your code to isolated-vm.
npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
added 958 packages, and audited 959 packages in 37s
119 packages are looking for funding
run
npm fund
for details18 vulnerabilities (9 moderate, 3 high, 6 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run
npm audit
for details.C:\Users\nuno.lopes#Work\Projects\pro_server>npm start
npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead./\\\\\\_/\\/\\/\\\\_
_/\/////////\_/\\\/\\\/\///////\_
/\_/\_/\//\_/\//\_/////\_
_/\\\\\\//\\///\/\//\_/\/
/\//////////\_///\//\_/\//_____
/\_/\_////\_____/\//_____
/\_/\_/\_/\/__________
/\_/\_/\_/\\\\\\\_
_////////////////////////
[PM2] Spawning PM2 daemon with pm2_home=C:\Users\nuno.lopes.pm2
[PM2] PM2 Successfully daemonized
[PM2][WARN] Applications nodejs_api not running, starting...
[PM2][ERROR] Error: Script not found: C:\Users\nuno.lopes#Work\Projects\pro_server\build\index.js
The text was updated successfully, but these errors were encountered: