Skip to main content
Skip table of contents

Dart-IDE Extension FAQ

1. Install Library is not working

Currently, Dart-IDE use npm package manager for install library to module project. If you have an error message such as the case below, please follow the procedure below.

If there is no error message that you find, please check npm official site.

npm : command not found

Before proceeding, please check if nodejs are installed correctly.

  1. Windows

    1. Open the Control Panel and go to the System.

    2. Go to Advanced System settings and click Environment variables.

    3. Select Path in the system value and click Edit.

    4. At the end of the list, add nodejs installation path. Basically, it is ‘C:\Program Files\nodejs\’.

    5. Restart vscode and try it again.

  2. Mac

    1. Open terminal app.

    2. Run command nano ~/.zshrc.

    3. Add below code in the end of file.

      CODE
      export PATH="$PATH:/usr/local/bin"  #If you install nodejs by installation package
      export PATH="$PATH:/opt/homebrew/bin"  #If you install nodejs by brew
    4. Restart vscode and try it again.

npm.ps1 cannot be loaded because running scripts is disabled on this system. (Window only)

  1. Run Powershell program with Admin.

  2. Check execution policy by run below command.

    CODE
    Get-ExecutionPolicy
  3. If the result is Restricted, run below command to change policy.

    CODE
    Set-ExecutionPolicy RemoteSigned
  4. Now restart vscode and try install library again.

2. UI Preview is not working

For UI Preview, Dart-IDE use yarn package manager for caching module project. If you have an error message such as the case below, please follow the procedure below.

Some peer dependencies are incorrectly met by dependencies

  1. Go to output tab by ViewOUTPUT → Dart-IDE Preview or click Show log button when error popup shown.

    스크린샷 2025-07-24 오후 2.49.55.png
  2. Check peer dependencies and add or update dependencies to package.json, or add it to .yarnrc.yml file. You can see ✘ marks that need to be fixed.
    You can see more information about it in the yarn official website.

Port is already used

  1. Go to the PreferencesSettings menu.

  2. Go to the Extensions Doosan Dart IDE menu.

  3. Change Preview Port to another one. Then, restart UI Preview again.

스크린샷 2025-07-24 오후 3.05.05.png

Preview is running but not shown

  1. Go to the UI Preview site that you see.

  2. Run Development tools in your web browser. Typically, you can run it to press F12.

  3. Now you can see error message about your module. These errors must be resolved in order to turn the module normally.

    스크린샷 2025-07-24 오후 3.11.26.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.