# npm Update

If your Zipy SDK npm is not getting updated to the latest version every time you build your web app, it could most likely be due to the following reasons:

1. Missing “^” icon for the zipyai npm dependency in your package.json file.

Please make sure that there is an “^” icon for the dependency. This will ensure that the latest version of npm is downloaded.

For example, the below snippet from package.json will ensure that the 1.X.Y version getting used is the latest version.

```html
"dependencies": {
       ..other dependencies
       "zipyai": "^1.0.0"
}
```

2. Uncommitted package-lock or yarn-lock file in your workspace.

For every new version of npm, also make sure that the package-lock or yarn-lock file is updated with the latest version and committed into your version control. This is required because the package-lock json file eventually determines which version of npm is downloaded on the npm/yarn install.&#x20;

To understand more about package-lock.json, please take a look at the following short video:

{% embed url="<https://www.loom.com/share/186d09d6e63e4806929e4894cca9002c>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zipy.ai/configure/npm-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
