I am trying to deploy a website on vercel from my command line of VSCode by using the command: When I execute this command, I get this output: If I run: I get the output as follow: Now, just to say that I tried solving the warnings, I ran: to install the latest uuid version, so that I can bypass
Tag: deployment
Getting environment variables to work in next js and netlify
I have deployed a next js application to netlify using git and I have a .env.local file that stores the backend route url that I use everywhere throughout the app when making fetch requests. The problem is that after deployment the process.env.NEXT_PUBLIC_BACKEND_ROUTE returns undefined. The .env.local file: NEXT_PUBLIC_BACKEND_ROUTE=https://[the name of the url].herokuapp.com/ An example of a page using the environment
Deploying PERN stack on AWS issue
So I’m frustrated with this process I’ve watched the same tutorial a bunch on times https://www.reddit.com/r/reactjs/comments/jeuwvi/deploying_full_stack_app_on_ubuntuaws_postgres/. Everything seems perfect but the frontend doesn’t seem to be making contact with the backend. Using xginx and pm2. In the config for the xginx my locations look like this I’m not even sure if this is where the issue lies. I can hit
public files not found on deployment
The static files in this code’s src file are not found though they work locally just fine. What am I doing wrong in the deployment? the deployment HERE Answer the problem was that I should have put all the public/ static files in the public folder that netlify sees in the main root
Heroku deployment of Node application returns node-waf: not found
I am attempting to deploy my Node.js application to Heroku by connecting Heroku to my Github repository and deploying the master branch. I have tried a number of different approaches to deploy my application but all of them return the same error. The exact build log can be found below: My package.json file can be found below: I have tried
JavaScript vs Node.js
I have simple “to-do” application written in JavaScript and HTML. I don’t even have CSS file, just have bit of in-line style in index.html file where I have linked my JavaScript file. No database or any other stuff needed. Simple app using vanilla JavaScript and HTML. I have AWS free tier account and tried zipping .js and .html files and
Develop Tampermonkey scripts in a real IDE with automatic deployment to OpenUserJs repo
I recently started development on a Tampermonkey script, which is hosted on OpenUserJs. It seems that I’m going to invest a bit more time in the future on this script by keep it up to date and extend his features when time is there. The first lines I wrote on the Tampermonkey editor which is integrated in chrome (edit button
Unexpected behaviour on bookmarklet submit or related database action
[updated below] I have a bit of a problem deploying a site on apache with mod_wsgi with some javascript bookmarklet functionality. The problem is that the bookmarklet (which is a browser menu button) submits to a page like http://stemhub.org/submit/http://the-users-link.com/here which then returns a form to save metadata about the link. The view function (a flask/werkzeug app) checks the database to