2
On Node.js, I installed on cmd
the yarn
(I can’t use the yarn
and I’m using the npm
), but it doesn’t work. I chose to use npm
and now when trying to use the succrase library (install: npm install --save-dev sucrase
) and the nodemon
, wheel.
This appears:
...
code: 'MODULE_NOT_FOUND',
requireStack: []
}
[nodemon] app crashed - waiting for file changes before starting...
Below the Package.json
{
"name": "teste",
"version": "1.0.0",
"description": "cursonode",
"main": "app.js",
"scripts": {
"test": "echo \\\"Error> no test specified\\\" && exit 1"
},
"author": "Cesar Vitor",
"license": "ISC",
"dependencies": {
"express": "^4.17.1",
"mysql": "^2.17.1"
}
}
Put here the contents of your file
package.json
– Lucas Torres
Hello Lucas, added up the code.
– Edilson Lima