What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-20 20:05:03
Deploying Node.js Apps on Heroku
1- Specify the version of node on package.json "engines": { "node": "14.x" }, npm install heroku local web Your app should now be running on http://localhost:5000/. echo "/node_modules npm-debug.log .DS_Store... Add solution -
-
Javascript 2022-02-19 09:55:09
rimraf node.js
// A viable alternative to `rm -rf` // GLOBAL INSTALL AND USE FROM CLI // npm install rimraf --global > rimraf ./node_modules // OR LOCAL PROJECT INSTALL // > npm install rimraf --save rimraf(`./${userIdFolder}/`, () => console.log(`DELETED ./${... Add solution -
Javascript 2022-02-19 07:10:02
react with docker with caprover
Dockerfile # build environment FROM node:9.6.1 as builder RUN mkdir /usr/src/app WORKDIR /usr/src/app ENV PATH /usr/src/app/node_modules/.bin:$PATH COPY . /usr/src/app RUN npm install RUN npm run build # production environment FROM nginx:1.13.9-alpine RU... Add solution -
-
Other 2022-02-18 08:20:22
npm concurrently
// The tool is written in Node.js, but you can use it to run any commands. npm install -g concurrently // or if you are using it from npm scripts: npm install concurrently --save // Remember to surround separate commands with quotes: concurrently "... Add solution
Best helpers
Ranking is empty