Updating MapWeave
To update the version of MapWeave, or to update your license, you need to replace your existing MapWeave bundle with the latest version and add it to your project.
First, download the latest MapWeave bundle:
Latest Release
The download contains a package.json
file referencing external dependencies
as well as a pre-built set of bundled dependencies. See the dependencies page
for more information.
Open a new terminal window and access your project's root folder:
cd my-mapweave-app
Move the downloaded package into your project's root folder.
Then remove the old version and install the new bundle as a local package from inside your project's root folder:
- npm
- Yarn
- pnpm
npm uninstall mapweave
npm install file:<<< your_downloaded_file_name >>>
yarn remove mapweave
yarn add file:<<< your_downloaded_file_name >>>
pnpm remove mapweave
pnpm add file:<<< your_downloaded_file_name >>>
To verify the upgrade was successful, you can either ask your package manager which version was installed:
- npm
- Yarn
- pnpm
npm list mapweave
yarn list --pattern "mapweave"
pnpm list mapweave
Or consult the dependencies section of package.json
.
If you can't see the correct version installed or if the map isn't displaying correctly, try clearing the package manager's cache and installing the package again:
- npm
- Yarn
- pnpm
npm cache clean --force
npm install file:<<< your_downloaded_file_name >>>
yarn cache clean --force
yarn add file:<<< your_downloaded_file_name >>>
# This step is not required when using pnpm.
If you need any help with updating please contact support.