Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yarn start --backend http://localhost/openmrs/
- [openmrs] Loading dynamic import map ...
- [openmrs] Looking in directory "D:\open-source\O3\openmrs-esm-patient-management" ...
- [openmrs] No "webpack.config.json" found in directory "D:\open-source\O3\openmrs-esm-patient-management". Trying to use default config ...
- cli.js develop
- Starts a new frontend module development session with the OpenMRS app shell.
- Options:
- --version Show version number [boolean]
- --help Show help [boolean]
- --port The port where the dev server should run.
- [number] [default: 8080]
- --host The host name or IP for the server to use.
- [number] [default: "localhost"]
- --backend The backend to proxy API requests to.
- [string] [default: "https://dev3.openmrs.org/"]
- --add-cookie Additional cookies to provide when proxying.
- [string] [default: ""]
- --spa-path The path of the application on the target server.
- [string] [default: "/openmrs/spa/"]
- --api-url The URL of the API. Can be a path if the API is on the
- same target server. [string] [default: "/openmrs/"]
- --open Immediately opens the SPA page URL in the browser.
- [boolean] [default: true]
- --config-url The URL to a valid frontend configuration. Can be used
- multiple times. [array] [default: []]
- --sources Runs the projects from the provided source directories.
- Can be used multiple times. [array] [default: ["."]]
- --shared-dependencies The additional shared dependencies besides the ones
- from the app shell. [array] [default: []]
- --importmap The import map to use. Can be a path to a valid import
- map to be taken literally, an URL, or a fixed JSON
- object. [string] [default: "importmap.json"]
- TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
- at validateString (internal/validators.js:124:11)
- at basename (path.js:743:5)
- at getMainBundle (D:\open-source\O3\openmrs-esm-patient-management\node_modules\openmrs\dist\utils\dependencies.js:13:35)
- at runProjectWebpack (D:\open-source\O3\openmrs-esm-patient-management\node_modules\openmrs\dist\utils\importmap.js:93:53)
- at D:\open-source\O3\openmrs-esm-patient-management\node_modules\openmrs\dist\utils\importmap.js:131:17
- at Generator.next (<anonymous>)
- at fulfilled (D:\open-source\O3\openmrs-esm-patient-management\node_modules\openmrs\dist\utils\importmap.js:5:58) {
- code: 'ERR_INVALID_ARG_TYPE'
- }
Advertisement
Add Comment
Please, Sign In to add comment