You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
[email protected]
added 242 packages from 170 contributors and audited 44406 packages in 41.326s
found 1 low severity vulnerability
run npm audit fix to fix them, or npm audit for details
✔ Successfully installed plugin: vue-cli-plugin-p11n
🚀 Invoking generator for vue-cli-plugin-p11n... ⚠️ author is undefined in package.json
⠋ Running completion hooks...error: Assignment to property of function parameter 'Vue' (no-param-reassign) at src/index.js:9:3:
7 | */
8 |
Update: Moving vue to dependencies and adding eslint disable in index.js seems to make the project work. Still checking if anything else might be broken.
// eslint-disable-next-line no-param-reassign
Vue.prototype.$add = (a, b) => a + b;
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I got the errors below while trying to "vue add p11n" to a newly created project with @vue/cli 4.0.5
─▪ vue add p11n
WARN There are uncommited changes in the current repository, it's recommended to commit or stash them first.
? Still proceed? Yes
📦 Installing vue-cli-plugin-p11n...
added 242 packages from 170 contributors and audited 44406 packages in 41.326s
found 1 low severity vulnerability
run
npm audit fix
to fix them, ornpm audit
for details✔ Successfully installed plugin: vue-cli-plugin-p11n
🚀 Invoking generator for vue-cli-plugin-p11n...
⚠️ author is undefined in package.json
⠋ Running completion hooks...error: Assignment to property of function parameter 'Vue' (no-param-reassign) at src/index.js:9:3:
7 | */
8 |
error: 'vue' should be listed in the project's dependencies, not devDependencies (import/no-extraneous-dependencies) at src/main.js:1:1:
error: 'vue' should be listed in the project's dependencies, not devDependencies (import/no-extraneous-dependencies) at src/plugin.js:6:1:
4 | */
5 |
3 errors found.
The text was updated successfully, but these errors were encountered: