|
With 4.X
$ yarn build
yarn run v1.22.4
$ yarn run dev && yarn run prod
$ vue-cli-service build --mode developement
ERROR Error loading vue.config.js:
ERROR Error: Cannot find module 'rtlcss'
Require stack:
- /mnt/data/shnoulle/nginx/www/master/assets/packages/meta/LSRTLPlugin/LSRTLPlugin.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/vue.config.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/node_modules/@vue/cli-service/lib/Service.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/node_modules/@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'rtlcss'
Require stack:
- /mnt/data/shnoulle/nginx/www/master/assets/packages/meta/LSRTLPlugin/LSRTLPlugin.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/vue.config.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/node_modules/@vue/cli-service/lib/Service.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/node_modules/@vue/cli-service/bin/vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/mnt/data/shnoulle/nginx/www/master/assets/packages/meta/LSRTLPlugin/LSRTLPlugin.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
|
|
Its possible to build the package adminsidepanel in the latest lts. There is no error message in the terminal. So I can not reproduce this issue. |
|
|
Its possible to build the package adminsidepanel in the latest lts. There is no error message in the terminal. So I can not reproduce this issue.
Not for me … |
|
|
$ yarn -vv
1.22.4 |
|
|
I fixed this issue in latest master. There was a wrong entry point for the RTLPlugin in /meta/ |
|
|
Thanks but …still not … :(
https://bin.shnoulle.net/?f492d94e4f76fdd8#8o4qLQztU7nXs5a29dkTQg5NaXxv5HRuZLZ6yY7mLkpE
[shnoulle@poledra adminsidepanel]$ rm -Rf node_modules/
[shnoulle@poledra adminsidepanel]$ yarn
yarn install v1.22.4
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > sass-loader@7.3.1" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
[4/4] Building fresh packages...
Done in 8.22s.
[shnoulle@poledra adminsidepanel]$ yarn build
yarn run v1.22.4
$ yarn run dev && yarn run prod
$ vue-cli-service build --mode developement
ERROR Error loading vue.config.js:
ERROR Error: Cannot find module 'rtlcss'
Require stack:
- /mnt/data/shnoulle/nginx/www/master/assets/packages/meta/LSRTLPlugin/LSRTLPlugin.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/vue.config.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/node_modules/@vue/cli-service/lib/Service.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/node_modules/@vue/cli-service/bin/vue-cli-service.js
Error: Cannot find module 'rtlcss'
Require stack:
- /mnt/data/shnoulle/nginx/www/master/assets/packages/meta/LSRTLPlugin/LSRTLPlugin.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/vue.config.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/node_modules/@vue/cli-service/lib/Service.js
- /mnt/data/shnoulle/nginx/www/master/assets/packages/adminsidepanel/node_modules/@vue/cli-service/bin/vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/mnt/data/shnoulle/nginx/www/master/assets/packages/meta/LSRTLPlugin/LSRTLPlugin.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
|
|
You have to try the yarn command in meta/LSRTLPlugin too. |
|
|
You have to try the yarn command in meta/LSRTLPlugin too.
\o/ Thank you !
A lot of warning but builded :) |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30235 |
|
|
Fixed in Release 4.3.3+200707 |
|