Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
75
rated 0 times [  78] [ 3]  / answers: 1 / hits: 15080  / 3 Years ago, wed, april 7, 2021, 12:00:00

I´ve got this error when try to run npm run dev after installed the dependencies and i cant find why. Help me please.
I tried some things that found around the internet but none of that worked


[email protected] dev
> nuxt

"Fplusholidays-appnode_modules.bin" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
internal/modules/cjs/loader.js:883
throw err;
^

Error: Cannot find module 'C:UsersanyelDocumentssrcnuxtbinnuxt.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Here is the package.json


{
"name": "plusholidays-app",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/moment": "^1.6.1",
"@nuxtjs/proxy": "^2.1.0",
"apexcharts": "^3.26.0",
"core-js": "^3.9.0",
"js-cookie": "^2.2.1",
"leaflet": "^1.7.1",
"lodash.clonedeep": "^4.5.0",
"nuxt": "^2.15.2",
"nuxt-i18n": "^6.21.1",
"vue-advanced-cropper": "^1.3.2",
"vue-apexcharts": "^1.6.0",
"vue-the-mask": "^0.11.1",
"vue2-leaflet": "^2.6.0"
},
"devDependencies": {
"@nuxtjs/vuetify": "^1.11.3",
"babel-eslint": "^10.1.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.1.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.6.0",
"prettier": "^2.2.1"
}
}


I really want to understand what is going on here, but I'm at a bit of a loss as to where to look next. Any suggestions?


More From » vue.js

 Answers
6

where you node_modules? C:UsersanyelDocumentssrcnuxtbinnuxt.js


try path: script: './node_modules/nuxt/bin/nuxt.js',


[#1515] Friday, April 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
havenbilliec

Total Points: 324
Total Questions: 106
Total Answers: 94

Location: Pitcairn Islands
Member since Fri, Oct 15, 2021
3 Years ago
;