Advertisement
ayush-AI

error

Mar 13th, 2023
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.49 KB | None | 0 0
  1. [openmrs] Loading dynamic import map ...
  2. [openmrs] Looking in directory "D:\open-source\O3\openmrs-esm-patient-management" ...
  3. cli.js develop
  4.  
  5. Starts a new frontend module development session with the OpenMRS app shell.
  6.  
  7. Options:
  8.   --version              Show version number                           [boolean]
  9.   --help                 Show help                                     [boolean]
  10.   --port                 The port where the dev server should run.
  11.                                                         [number] [default: 8080]
  12.   --host                 The host name or IP for the server to use.
  13.                                                  [number] [default: "localhost"]
  14.   --backend              The backend to proxy API requests to.
  15.                                  [string] [default: "https://dev3.openmrs.org/"]
  16.   --add-cookie           Additional cookies to provide when proxying.
  17.                                                           [string] [default: ""]
  18.   --spa-path             The path of the application on the target server.
  19.                                              [string] [default: "/openmrs/spa/"]
  20.   --api-url              The URL of the API. Can be a path if the API is on the
  21.                          same target server.     [string] [default: "/openmrs/"]
  22.   --open                 Immediately opens the SPA page URL in the browser.
  23.                                                        [boolean] [default: true]
  24.   --config-url           The URL to a valid frontend configuration. Can be used
  25.                          multiple times.                   [array] [default: []]
  26.   --sources              Runs the projects from the provided source directories.
  27.                          Can be used multiple times.    [array] [default: ["."]]
  28. TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
  29.     at validateString (internal/validators.js:124:11)
  30.     at basename (path.js:743:5)
  31.     at getMainBundle (D:\open-source\O3\openmrs-esm-patient-management\node_modules\openmrs\dist\utils\dependencies.js:13:35)
  32.     at runProjectWebpack (D:\open-source\O3\openmrs-esm-patient-management\node_modules\openmrs\dist\utils\importmap.js:93:53)
  33.     at D:\open-source\O3\openmrs-esm-patient-management\node_modules\openmrs\dist\utils\importmap.js:135:17
  34.     at Generator.next (<anonymous>)
  35.     at fulfilled (D:\open-source\O3\openmrs-esm-patient-management\node_modules\openmrs\dist\utils\importmap.js:5:58) {
  36.   code: 'ERR_INVALID_ARG_TYPE'
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement