diff --git a/docs/docs/development.md b/docs/docs/development.md index ade40c96..840b7597 100644 --- a/docs/docs/development.md +++ b/docs/docs/development.md @@ -95,6 +95,15 @@ $ npx gulp compile $ npx gulp init ``` +If there are issues with `npm install`, try this instead: + +```bash +$ npm i --ignore-scripts +$ npm install +$ npx gulp compile +$ npx gulp init +``` + Now the environment is set up and the front end can be run with the following command: ```bash diff --git a/mlte/frontend/nuxt-app/package.json b/mlte/frontend/nuxt-app/package.json index 619ab9d0..a21ab860 100644 --- a/mlte/frontend/nuxt-app/package.json +++ b/mlte/frontend/nuxt-app/package.json @@ -18,7 +18,7 @@ "eslint-plugin-n": "^16.0.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-vue": "^9.15.1", - "nuxt": "^3.4.2" + "nuxt": "^3.9.3" }, "dependencies": { "@babel/eslint-parser": "^7.22.9", diff --git a/mlte/frontend/nuxt-app/pages/report.vue b/mlte/frontend/nuxt-app/pages/report.vue index dfa37594..32494b33 100644 --- a/mlte/frontend/nuxt-app/pages/report.vue +++ b/mlte/frontend/nuxt-app/pages/report.vue @@ -442,12 +442,9 @@ async function fetchArtifact( ); // TODO(Kyle): Error handling. - // Alex: Accessing status._value causes a weird error where it doesn't show any error, but the findings don't populate - // Commenting this out "fixes" that. Only seems to happen on my machine which is very odd. But status isn't an actual - // return from useFetch so error handling with have to happen differently - // if (status._value !== "success") { - // return null; - // } + if (status._value !== "success") { + return null; + } return data._value; }