RAILS_ENV=production bundle exec rails assets:precompile /home/pageflow/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:938: warning: constant Tilt::Cache is deprecated yarn install v1.22.19 $ bundle exec rake pageflow_scrolled:create_bundle_symlinks_for_yarn Creating symlinks for .bundle entries in package.json: .bundle/for-yarn/pageflow -> /home/pageflow/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/pageflow-16.0.0 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning "pageflow-scrolled > react-tooltip@3.11.6" has incorrect peer dependency "react@>=^16.0.0". warning "pageflow-scrolled > react-tooltip@3.11.6" has incorrect peer dependency "react-dom@>=^16.0.0". warning "pageflow-scrolled > use-context-selector@1.4.4" has unmet peer dependency "scheduler@>=0.19.0". [4/4] Building fresh packages... Done in 6.62s. yarn install v1.22.19 $ bundle exec rake pageflow_scrolled:create_bundle_symlinks_for_yarn Creating symlinks for .bundle entries in package.json: .bundle/for-yarn/pageflow -> /home/pageflow/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/pageflow-16.0.0 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning "pageflow-scrolled > react-tooltip@3.11.6" has incorrect peer dependency "react@>=^16.0.0". warning "pageflow-scrolled > react-tooltip@3.11.6" has incorrect peer dependency "react-dom@>=^16.0.0". warning "pageflow-scrolled > use-context-selector@1.4.4" has unmet peer dependency "scheduler@>=0.19.0". [4/4] Building fresh packages... Done in 6.79s. Compiling... Compilation failed: Hash: ae02a022756b70250ed9 Version: webpack 4.47.0 Time: 30728ms Built at: 04/17/2024 2:15:05 PM 144 assets Entrypoint active_admin = js/runtime-1f7dddb51b84ea12f835.js js/runtime-1f7dddb51b84ea12f835.js.map js/vendors~active_admin-aa24d0cd9a22e2daf148.chunk.js js/vendors~active_admin-aa24d0cd9a22e2daf148.chunk.js.map css/active_admin-83aa03ce.chunk.css js/active_admin-d6023c1359d2d12351d6.chunk.js js/active_admin-d6023c1359d2d12351d6.chunk.js.map Entrypoint active_admin/print = js/runtime-1f7dddb51b84ea12f835.js js/runtime-1f7dddb51b84ea12f835.js.map css/active_admin/print-627fa8bc.chunk.css js/active_admin/print-4108874581829ab87c1c.chunk.js js/active_admin/print-4108874581829ab87c1c.chunk.js.map Entrypoint fonts/sourceSansPro = js/runtime-1f7dddb51b84ea12f835.js js/runtime-1f7dddb51b84ea12f835.js.map css/fonts/sourceSansPro-199f0609.chunk.css js/fonts/sourceSansPro-90b59692e1b9d921a9a2.chunk.js js/fonts/sourceSansPro-90b59692e1b9d921a9a2.chunk.js.map Entrypoint pageflow-scrolled-editor = js/runtime-1f7dddb51b84ea12f835.js js/runtime-1f7dddb51b84ea12f835.js.map js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server~pageflow-scroll~3387efca-f25f8eecc44d494f24d1.chunk.js js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server~pageflow-scroll~3387efca-f25f8eecc44d494f24d1.chunk.js.map js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server-ac574071397da381d209.chunk.js js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server-ac574071397da381d209.chunk.js.map js/pageflow-scrolled-editor-7b4494d0c5fb4a195572.chunk.js js/pageflow-scrolled-editor-7b4494d0c5fb4a195572.chunk.js.map Entrypoint pageflow-scrolled-frontend = js/runtime-1f7dddb51b84ea12f835.js js/runtime-1f7dddb51b84ea12f835.js.map js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server~pageflow-scroll~3387efca-f25f8eecc44d494f24d1.chunk.js js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server~pageflow-scroll~3387efca-f25f8eecc44d494f24d1.chunk.js.map js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server-ac574071397da381d209.chunk.js js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server-ac574071397da381d209.chunk.js.map css/pageflow-scrolled-frontend-1ac4d2fd.chunk.css js/pageflow-scrolled-frontend-477bc74f89d3318648ba.chunk.js js/pageflow-scrolled-frontend-477bc74f89d3318648ba.chunk.js.map Entrypoint pageflow-scrolled-server = js/runtime-1f7dddb51b84ea12f835.js js/runtime-1f7dddb51b84ea12f835.js.map js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server~pageflow-scroll~3387efca-f25f8eecc44d494f24d1.chunk.js js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server~pageflow-scroll~3387efca-f25f8eecc44d494f24d1.chunk.js.map js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server-ac574071397da381d209.chunk.js js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server-ac574071397da381d209.chunk.js.map js/pageflow-scrolled-server-5b6ea487f3615464eaab.chunk.js js/pageflow-scrolled-server-5b6ea487f3615464eaab.chunk.js.map Entrypoint pageflow-scrolled/widgets/defaultNavigation = js/runtime-1f7dddb51b84ea12f835.js js/runtime-1f7dddb51b84ea12f835.js.map js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server~pageflow-scroll~3387efca-f25f8eecc44d494f24d1.chunk.js js/vendors~pageflow-scrolled-editor~pageflow-scrolled-frontend~pageflow-scrolled-server~pageflow-scroll~3387efca-f25f8eecc44d494f24d1.chunk.js.map css/vendors~pageflow-scrolled/widgets/defaultNavigation-ebbfefa0.chunk.css js/vendors~pageflow-scrolled/widgets/defaultNavigation-8796a3949eaf979e13e8.chunk.js js/vendors~pageflow-scrolled/widgets/defaultNavigation-8796a3949eaf979e13e8.chunk.js.map js/pageflow-scrolled/widgets/defaultNavigation-2279080179a5ac8e027d.chunk.js js/pageflow-scrolled/widgets/defaultNavigation-2279080179a5ac8e027d.chunk.js.map [7] ./app/assets/javascripts/pageflow/editor.js 441 bytes {6} [built] [11] external "jQuery" 42 bytes {3} {6} {7} {8} {9} [built] [14] external "_" 42 bytes {6} [built] [15] ./node_modules/pageflow/frontend.js + 1 modules 836 KiB {1} [built] | 2 modules [17] external "Backbone.Marionette" 42 bytes {6} [built] [27] external "Backbone" 42 bytes {6} [built] [404] ./app/javascript/packs/active_admin.js 161 bytes {3} [built] [405] ./app/javascript/stylesheets/active_admin.scss 39 bytes {3} [built] [423] ./app/javascript/packs/active_admin/print.scss 39 bytes {4} [built] [424] ./app/javascript/packs/fonts/sourceSansPro.css 39 bytes {5} [built] [539] ./app/javascript/packs/pageflow-scrolled-frontend.js 238 bytes {7} [built] [542] ./app/javascript/pageflow-scrolled/themes sync ^\.\/.*$ 5.3 KiB {7} [built] [768] ./app/javascript/packs/pageflow-scrolled/widgets/defaultNavigation.js 108 bytes {9} [built] [770] ./app/javascript/packs/pageflow-scrolled-editor.js + 35 modules 586 KiB {6} [built] | ./app/javascript/packs/pageflow-scrolled-editor.js 133 bytes [built] | + 35 hidden modules [771] ./app/javascript/packs/pageflow-scrolled-server.js + 1 modules 11 KiB {8} [built] | ./app/javascript/packs/pageflow-scrolled-server.js 145 bytes [built] | + 1 hidden module + 927 hidden modules WARNING in ./node_modules/react_ujs/react_ujs/src/reactDomClient.js Module not found: Error: Can't resolve 'react-dom/client' in '/home/pageflow/pageflow_daad/node_modules/react_ujs/react_ujs/src' @ ./node_modules/react_ujs/react_ujs/src/reactDomClient.js @ ./node_modules/react_ujs/react_ujs/src/renderHelpers.js @ ./node_modules/react_ujs/react_ujs/index.js @ ./node_modules/pageflow-scrolled/frontend-server.js @ ./app/javascript/packs/pageflow-scrolled-server.js ERROR in ./node_modules/@tanstack/virtual-core/dist/esm/index.js 424:57 Module parse failed: Unexpected token (424:57) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | }; | this.resizeItem = (item, size) => { > const itemSize = this.itemSizeCache.get(item.key) ?? item.size; | const delta = size - itemSize; | if (delta !== 0) { @ ./node_modules/@tanstack/react-virtual/dist/esm/index.js 3:0-164 4:0-39 4:0-39 21:14-25 34:4-22 35:4-24 36:16-29 43:24-41 44:26-45 45:16-28 @ ./node_modules/@headlessui/react/dist/components/combobox/combobox.js @ ./node_modules/@headlessui/react/dist/headlessui.esm.js @ ./node_modules/pageflow-scrolled/editor.js @ ./app/javascript/packs/pageflow-scrolled-editor.js Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--5-1!node_modules/postcss-loader/src/index.js??ref--5-2!app/javascript/packs/fonts/sourceSansPro.css: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??ref--5-2!./app/javascript/packs/fonts/sourceSansPro.css 20.1 KiB {0} [built] + 30 hidden modules Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--5-1!node_modules/postcss-loader/src/index.js??ref--5-2!node_modules/pageflow-scrolled/contentElements-frontend.css: Entrypoint mini-css-extract-plugin = * 2 modules Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--5-1!node_modules/postcss-loader/src/index.js??ref--5-2!node_modules/pageflow-scrolled/frontend/index.css: Entrypoint mini-css-extract-plugin = * 2 modules Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--5-1!node_modules/postcss-loader/src/index.js??ref--5-2!node_modules/pageflow-scrolled/widgets/defaultNavigation.css: Entrypoint mini-css-extract-plugin = * 2 modules Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--6-1!node_modules/postcss-loader/src/index.js??ref--6-2!node_modules/sass-loader/dist/cjs.js??ref--6-3!app/javascript/packs/active_admin/print.scss: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/src??ref--6-2!./node_modules/sass-loader/dist/cjs.js??ref--6-3!./app/javascript/packs/active_admin/print.scss 24.2 KiB {0} [built] + 1 hidden module Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--6-1!node_modules/postcss-loader/src/index.js??ref--6-2!node_modules/sass-loader/dist/cjs.js??ref--6-3!app/javascript/stylesheets/active_admin.scss: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/src??ref--6-2!./node_modules/sass-loader/dist/cjs.js??ref--6-3!./app/javascript/stylesheets/active_admin.scss 136 KiB {0} [built] + 1 hidden module Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-transform-class-properties. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-property-in-object", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/pageflow-scrolled-frontend.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-methods since the "loose" mode option was set to "true" for @babel/plugin-transform-private-property-in-object. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-methods", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/pageflow-scrolled-frontend.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-transform-class-properties. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-property-in-object", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/pageflow-scrolled-server.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-methods since the "loose" mode option was set to "true" for @babel/plugin-transform-private-property-in-object. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-methods", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/pageflow-scrolled-server.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-transform-class-properties. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-property-in-object", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/pageflow-scrolled/widgets/defaultNavigation.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-methods since the "loose" mode option was set to "true" for @babel/plugin-transform-private-property-in-object. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-methods", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/pageflow-scrolled/widgets/defaultNavigation.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-transform-class-properties. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-property-in-object", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/active_admin.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-methods since the "loose" mode option was set to "true" for @babel/plugin-transform-private-property-in-object. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-methods", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/active_admin.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-transform-class-properties. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-property-in-object", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/pageflow-scrolled-editor.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-methods since the "loose" mode option was set to "true" for @babel/plugin-transform-private-property-in-object. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-methods", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/javascript/packs/pageflow-scrolled-editor.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-transform-class-properties. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-property-in-object", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/assets/javascripts/pageflow/editor.js See https://babeljs.io/docs/configuration#print-effective-configs for more info. Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-methods since the "loose" mode option was set to "true" for @babel/plugin-transform-private-property-in-object. The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-transform-private-methods", { "loose": true }] to the "plugins" section of your Babel config. If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration: npx cross-env BABEL_SHOW_CONFIG_FOR=/home/pageflow/pageflow_daad/app/assets/javascripts/pageflow/editor.js See https://babeljs.io/docs/configuration#print-effective-configs for more info.