[MDB-Vue-Pro-5.1.0] npm start was error


Topic: [MDB-Vue-Pro-5.1.0] npm start was error

Gaojingyu asked 5 years ago

I [npm start] from [...\Vue-Tutorial-Agenda-App-master\agenda-app\start-here] was OK. And from [...\MDB-Vue-Pro-5.1.0\my-project] as bad.

The [Vue-Tutorial-Agenda-App-master] and [MDB-Vue-Pro-5.1.0] was dependent on different version of node? how can i pass it?

There is the error log.

0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'start' ] 2 info using npm@6.5.0 3 info using node@v11.9.0 4 verbose stack Error: missing script: start 4 verbose stack at run (C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:155:19) 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:63:5 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:5 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:418:5 4 verbose stack at checkBinReferences_ (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:373:45) 4 verbose stack at final (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:416:3) 4 verbose stack at then (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:160:5) 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:280:12 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:90:16 4 verbose stack at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:54:3) 5 verbose cwd c:\mywork\MDB-Vue-Pro-5.1.0\my-project 6 verbose Windows_NT 10.0.17134 7 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start" 8 verbose node v11.9.0 9 verbose npm v6.5.0 10 error missing script: start

11 verbose exit [ 1, true ]


Mikołaj Smoleński staff answered 5 years ago

Hi Gaojingyu,

I've just tested our Agenda with MDB Vue Pro and there is no conflict. Could You please share Your code with us or write Your installation steps? It would help us to fix that issue.

Best regards


Gaojingyu commented 5 years ago

Thank U for your answer. Today I try again in accordance with this page【https://mdbootstrap.com/docs/vue/getting-started/quick-start/】, and There was no problem.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 4.8.2
  • Device: npm v6.5.0
  • Browser: chrome
  • OS: win10
  • Provided sample code: No
  • Provided link: No
Tags