Skip to content
Snippets Groups Projects
Commit 543cefc3 authored by Bucknell, Mary S.'s avatar Bucknell, Mary S.
Browse files

Added additional info about how to handle EINTEGRITY error when using npm install.

parent 5c6e4dd5
No related branches found
No related tags found
1 merge request!405Updated README to include instructions on installing a npm package from gitlab.
...@@ -15,7 +15,13 @@ The package, [@wma/wdfn-vue-components](https://code.usgs.gov/groups/wma/-/packa ...@@ -15,7 +15,13 @@ The package, [@wma/wdfn-vue-components](https://code.usgs.gov/groups/wma/-/packa
//code.usgs.gov/api/v4/packages/npm/:_authToken=<your personal access token> //code.usgs.gov/api/v4/packages/npm/:_authToken=<your personal access token>
``` ```
You may also need to have the following environment variables set to a bundle that includes all certs for your environment including any corporate proxy cert: NPM_CONFIG_CAFILE and NODE_EXTRA_CA_CERTS You may also need to have the following environment variables set to a bundle that includes all certs for your environment including any corporate proxy cert: NPM_CONFIG_CAFILE and NODE_EXTRA_CA_CERTS.
In addition, if someone has deleted the version that you are using and replaced it with a new build, you will likely get an EINTEGRITY error when using npm install. If this happens, uninstall @wma/wdfn-vue-components and then reinstall as follows:
```bash
npm uninstall @wma/wdfn-vue-components
npm install @wma/wdfn-vue-components --save-exact
```
### Installating dependencies using make ### Installating dependencies using make
The repository contains a make target to configure a local development environment: The repository contains a make target to configure a local development environment:
......
...@@ -3559,7 +3559,7 @@ ...@@ -3559,7 +3559,7 @@
"node_modules/@wma/wdfn-vue-components": { "node_modules/@wma/wdfn-vue-components": {
"version": "0.1.0", "version": "0.1.0",
"resolved": "https://code.usgs.gov/api/v4/projects/8428/packages/npm/@wma/wdfn-vue-components/-/@wma/wdfn-vue-components-0.1.0.tgz", "resolved": "https://code.usgs.gov/api/v4/projects/8428/packages/npm/@wma/wdfn-vue-components/-/@wma/wdfn-vue-components-0.1.0.tgz",
"integrity": "sha1-TcKbpPmYqwM9CiPZCDXTgh56K0k=", "integrity": "sha1-AOR2GoxyQLop1KnAaP7RFBHJUdU=",
"dependencies": { "dependencies": {
"@uswds/uswds": "3.0.1", "@uswds/uswds": "3.0.1",
"vue": "3.2.37" "vue": "3.2.37"
...@@ -19967,7 +19967,7 @@ ...@@ -19967,7 +19967,7 @@
"@wma/wdfn-vue-components": { "@wma/wdfn-vue-components": {
"version": "0.1.0", "version": "0.1.0",
"resolved": "https://code.usgs.gov/api/v4/projects/8428/packages/npm/@wma/wdfn-vue-components/-/@wma/wdfn-vue-components-0.1.0.tgz", "resolved": "https://code.usgs.gov/api/v4/projects/8428/packages/npm/@wma/wdfn-vue-components/-/@wma/wdfn-vue-components-0.1.0.tgz",
"integrity": "sha1-TcKbpPmYqwM9CiPZCDXTgh56K0k=", "integrity": "sha1-AOR2GoxyQLop1KnAaP7RFBHJUdU=",
"requires": { "requires": {
"@uswds/uswds": "3.0.1", "@uswds/uswds": "3.0.1",
"vue": "3.2.37" "vue": "3.2.37"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment