Missing initializer in destructing declaration / identifier ‘name’ has already been declared [mysql][nodejs]
When I try to insert keys as params i receve this errors on nodemon:
SyntaxError: Identifier ‘name’ has already been declared
When I try to insert keys as params i receve this errors on nodemon:
SyntaxError: Identifier ‘name’ has already been declared
one question. I am making an api with node,express and mysql.
And there seems to be an error when I run nodemon.
If anyone knows anything, it would be appreciated.
Hi I’m trying to dockerize an app im currently working on. It uses nodejs and mariadb. I have some difficulties with figuring out how to make nodemon work.
For maximum portability I’m not doing import 'dotenv/config'
within my code, but I’m doing
By default nodemon try to find nodemon.json
config file in the project root directory right?
How can I prevent this default behavior?
"scripts": { "start": "npm run prod", "build": "npm-run-all clean transpile", "server": "node ./dist/bin/www", "dev": "npm run lint && NODE_ENV=development nodemon –inspect=notifications:9236 –exec babel-node bin/www", "prod": "NODE_ENV=production npm-run-all build server", "transpile": "babel ./ –out-dir dist", "lint": "eslint '*.js' ", "lint:watch": "watch 'npm run lint' ", "precommit": "npm run lint", "prepush": "npm run lint", "clean": "rimraf dist", … Read more
The error is that when I run with Nodemon the server in development mode sends me the following error due to my custom types:
command I am running : nodemon server.js,
error I am getting :
I have an image for a node app. In the package.json I have nodemon. I want to run the container with updates to the host source, where nodemon
will hot reload with changes in host src. So I am using a bind mount.
I want to use nodemon for monitoring my node.js app’s, then I execute the next line command: