I try to do a nuxt app with expressjs but it doesn't work.
When I try to install express it says that there are 15 high vulnerabilities, then I do the command npm audit fix, then npm audit fix --force which makes errors disappear.
But now when I do a npm run dev it doesn't work.
npm install express
up to date, audited 1472 packages in 3s
151 packages are looking for funding
run `npm fund` for details
15 high severity vulnerabilities
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.
--
npm run build
> Tomatoes#1.0.0 build
> nuxt build
Nuxi 3.0.0 15:58:00
Nuxt 3.0.0 with Nitro 1.0.0 15:58:00
ERROR Cannot read properties of undefined (reading 'options') 15:58:01
at axiosModule (node_modules/#nuxtjs/axios/lib/module.js:12:13)
at installModule (node_modules/#nuxt/kit/dist/index.mjs:416:9)
at async initNuxt (node_modules/nuxt/dist/index.mjs:1825:7)
at async loadNuxt (node_modules/nuxt/dist/index.mjs:1857:5)
at async loadNuxt (node_modules/#nuxt/kit/dist/index.mjs:493:19)
at async Object.invoke (node_modules/nuxi/dist/chunks/build.mjs:34:18)
at async _main (node_modules/nuxi/dist/cli.mjs:50:20)
Related
I'm trying to add i18n to my project but it cannot find module '#vue/cli-shared-utils'. I'm following the instructions on https://kazupon.github.io/vue-i18n/installation.html
But when I run
npm init vue#latest
cd project
npm install
npm run lint
vue add vuetify
vue add i18n
This error occurs. I'm not sure what I'm doing wrong since these are the instructions
📦 Installing vue-cli-plugin-i18n...
up to date, audited 366 packages in 1s
93 packages are looking for funding
run `npm fund` for details
3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
✔ Successfully installed plugin: vue-cli-plugin-i18n
ERROR Error: Cannot find module '#vue/cli-shared-utils'
Require stack:
- /home/lalo/WebstormProjects/project/node_modules/vue-cli-plugin-i18n/prompts.js
- /home/lalo/WebstormProjects/project/package.json
Error: Cannot find module '#vue/cli-shared-utils'
Require stack:
- /home/lalo/WebstormProjects/project/node_modules/vue-cli-plugin-i18n/prompts.js
- /home/lalo/WebstormProjects/project/package.json
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Function.resolve (node:internal/modules/cjs/helpers:109:19)
at module.exports (/home/lalo/WebstormProjects/project/node_modules/vue-cli-plugin-i18n/prompts.js:4:38)
at invoke (/usr/local/lib/node_modules/#vue/cli/lib/invoke.js:74:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
(I don't know if it's important but I'm using typescript when configuring vue)
I cannot install rdme. I have correctly installed Node.js:
grafeno30#linux:~$ npm -v
8.11.0
grafeno30#linux:~$ node -v
v16.16.0
and when I execute npm install rdme I get the the following message:
up to date, audited 377 packages in 888ms
82 packages are looking for funding
run `npm fund` for details
5 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
I execute the following command: npm audit fix --force
If I execute rdme on the screen appears "command not found".
Navigate to your "node modules" folder in nodejs and try running
npm i rdme#version
eg- npm i rdme#8.0.0-beta.2
Thank you #jonrsharpe
I have been able to run it with npx.
I have able to execute with npx.
I didn't read all the documentation:
Once installed in your project, we recommend using npx (which is included if you have npm installed) to prefix all of your CLI commands. For example:
npx rdme validate [file]*
I just installed a fresh react-native project on big-sur.
When i try to install a npm package, i got this error.
How can i fix it?
npm install #react-navigation/native
up to date, audited 1026 packages in 2s
6 low severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
When execute the "npm audit fix --force" command, the app is not working anymore.
Sorry this is not an error, everything works fine...
I am a new developer and these error torture me.
npm install --save radium
+ radium#0.26.0
updated 1 package and audited 1374 packages in 11.052s
23 packages are looking for funding
run `npm fund` for details
found 34 vulnerabilities (31 low, 1 moderate, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details
This is an npm feature called audit so that you can check whether your installed modules have known vulnerabilities and exploits. Developers or other users of these modules can announce possible exploits and probabily release a patch if they found anything unsafe in the module. Then everytime you install modules or run audit manually you will see these warnings. You can run npm audit fix to let npm fix them if possible. However some modules does not have a patch or cannot be fixed automatically so you have to fix them by hand. Anyway if you are just developing locally you can ignore them.
When I run
% npm install composer
I receive:
+ composer#4.1.0
updated 1 package and audited 901678 packages in 9.221s
37 packages are looking for funding
run `npm fund` for details
found 9 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
However, when I run:
% composer -v
I receive:
zsh: command not found: composer
Add composer vendor bin path manually in .zshrc
export PATH="$PATH:$HOME/.composer/vendor/bin"
OR
make a symlink in the /usr/local/bin
OR
Please run this brew install composer