Cov txheej txheem:

Kuv yuav ua li cas debug meteor?
Kuv yuav ua li cas debug meteor?

Video: Kuv yuav ua li cas debug meteor?

Video: Kuv yuav ua li cas debug meteor?
Video: Ua Li Ntawv Tsis Yog - David Yang Ft. Keeneng Vang (Official Lyrics Video) 2024, Kaum ib hlis
Anonim

Debugging tus txheej txheem Meteor API Node

  1. Mus rau qhov Debug saib, xaiv qhov ' Meteor : Node' configuration, ces nias F5 los yog nias lub khawm ntsuab ua si.
  2. VS Code yuav tsum tam sim no sim pib koj Meteor app.
  3. Mus tom ntej thiab teem caij so hauv imports/api/tasks. js ntawm kab 25 hauv cov haujlwm. ntxig muaj nuj nqi.

Hais txog qhov no, yuav ua li cas kuv rov pib lub meteor?

Koj tuaj yeem ntaus fg hais kom rov qab mus rau qhov program. Tom qab rov qab mus rau qhov program, koj tuaj yeem kaw nws los ntawm CTRL + C, tom qab ntawd rov pib dua los ntawm huab cua lus txib. Koj tuaj yeem siv sudo killall -9 node hais kom nres tag nrho huab cua tej yaam num thiab tom qab ntawd huab cua pib qhov koj xav tau hauv koj daim nplaub tshev xaiv.

Ib tug kuj nug, yuav ua li cas kuv yuav uninstall meteor pob? 3 Teb

  1. Khiav. mrt tshem tawm package_name.
  2. Xyuas koj tus ntse. json kom pom tias koj pob tau raug tshem tawm ntawm cov pob khoom: {} ntu.
  3. Tshem lub pob / symlink yog tias nws tseem muaj nyob hauv / pob.
  4. Yog tias koj tseem tau txais qhov yuam kev thov lub pob tsis pom tshem tawm ntawm meteor ib yam nkaus. meteor tshem tawm pob_name.

Kuj paub, Kuv yuav ua li cas thiaj li khiav daim ntawv thov meteor?

Bundling thiab khiav Meteor

  1. Kauj ruam 1: Tsim cov pob. Pib tawm los ntawm kev mus rau hauv paus ntawm koj daim ntawv thov nyob rau hauv lub qhov rais davhlau ya nyob twg, thiab khiav cov lus txib no: meteor build /path/to/output/directory.
  2. Kauj ruam 2: Unpack lub pob.
  3. Kauj Ruam 3: Nruab Meteor qhov kev cia siab.
  4. Kauj ruam 4: Khiav Meteor.

Kuv yuav paub li cas yog Meteor ntsia?

Muaj ob qhov chaw uas koj yuav tsum tau kuaj koj Meteor version. Muaj lub ntsiab Meteor cuab yeej, ntsia rau koj lub tsev folder: /Users/nearpoint/. huab cua . Nws muaj auto-updater thiab nws khaws cov ntawv luam Meteor rau txawv versions ntsia.

Pom zoo: