Written by:
LearnPack is a product that has had many hours of work invested in it, so to have a better user experience, here are some of the most frequently asked questions about the interface and common errors.
To open the LearnPack interface, you have several options:
Ctrl + C to stop LearnPacklearnpack start againIf you have the LearnPack extension installed in your code editor, the instructions should open automatically.
command palette:
F1 or Ctrl + Shift + PLearnPackLearnPack: Open Instructions optionTo open the terminal, you can generally do any of the following:
Ctrl + J in your code editorCtrl + ` (backtick) in your editorCtrl + Shift + P to open the command palette, then type Terminal: Create New Terminal and select the option.If you are using VSCode, you can open a second terminal in the following ways:
Terminal.New Terminal.Using keyboard shortcuts:
Ctrl + Shift + (backtick) to open a new terminal.Using the command palette:
F1 or Ctrl + Shift + P to open the command palette.Terminal: Create New Terminal and select the option.These options will allow you to open a second terminal in your VSCode editor.
The connection lost error occurs when the LearnPack interface cannot communicate with the LearnPack server running on your machine. To resolve it, you should ensure that LearnPack is running in a terminal.
learnpack start and wait a few seconds for the interface to reconnect automatically.Reload button that the connection lost modal shows you.This message may be different depending on your operating system.
If LearnPack is not installed on your system, the command learnpack start and any learnpack command won't work. To solve this issue, just install LearnPack on your system with the following command: npm i -g @learnpack/learnpack. This will install the latest version of LearnPack from the npm registry globally on your system.
1To execute LearnPack locally, you must have Node (> 14) installed.
💡 You can check if LearnPack is installed with the following command:
npm ls -g @learnpack/learnpack