-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move admin settings to src/ folder #2331
Move admin settings to src/ folder #2331
Conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get this error when building:
ERROR in ./src/views/CollaborationView.vue
Module build failed (from ./node_modules/eslint-loader/dist/cjs.js):
TypeError: Cannot read property 'forEach' of undefined
And make all
and make dev-setup
also won't work:
rm -f js/*
rm: cannot remove 'js/admin': Is a directory
Makefile:44: recipe for target 'clean' failed
make: *** [clean] Error 1
btw I appreoved by mistake xD
Signed-off-by: Joas Schilling <coding@schilljs.com>
the make clean I fixed. For the other thing... no idea what this is. |
|
@nickvergessen Looks like this is an issue of the eslint-plugin-import-webpack package that is for some reason trying to resolve a webpack file in the nextcloud-vue-collections package. Looks related to import-js/eslint-plugin-import#666 I would suggest to just use the nextcloud eslint config (which actually was there already for the vue/ folder but is removed in this PR https://github.com/nextcloud/spreed/blob/1743f056f3e46cf1f4d20ade5345a1bfb07d52d1/vue/.eslintrc.js) Otherwise you could enforce the webpack resolver to just take your apps config into account: diff --git a/.eslintrc.js b/.eslintrc.js
index 02f83b17..833c00ed 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,3 +1,5 @@
+const path = require('path')
+
module.exports = {
root: true,
env: {
@@ -31,7 +33,7 @@ module.exports = {
settings: {
'import/resolver': {
webpack: {
- config: 'webpack.common.js'
+ config: path.resolve('webpack.common.js')
},
node: {
paths: ['src'], |
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Oh right, I just forgot to adjust the eslintrc file after installing the package. That also solves the issue. |
No description provided.