zeppelin / ember-click-outside

A set of tools for detecting click events fired outside an element.
MIT License
93 stars 32 forks source link

Version 6.0.0 doesn't build #263

Closed VincentMolinie closed 1 year ago

VincentMolinie commented 1 year ago

I tried upgrading to ember-click-outside@6.0.0 but I get the following build error:

ERROR in ../../../../private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/app.js 24:62-101
Module not found: Error: Can't resolve 'ember-click-outside/modifier' in '/private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack'
resolve 'ember-click-outside/modifier' in '/private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack'
  Parsed request is a module
  No description file found in /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack or above
  resolve as module
    looking for modules in /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules
      existing directory /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside
        using description file: /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/package.json (relative path: .)
          using exports field: ./dist/modifier.js
            using description file: /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/package.json (relative path: ./dist/modifier.js)
              no extension
                Field 'browser' doesn't contain a valid alias configuration
                /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/dist/modifier.js doesn't exist
              .js
                Field 'browser' doesn't contain a valid alias configuration
                /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/dist/modifier.js.js doesn't exist
              .ts
                Field 'browser' doesn't contain a valid alias configuration
                /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/dist/modifier.js.ts doesn't exist
              .json
                Field 'browser' doesn't contain a valid alias configuration
                /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/dist/modifier.js.json doesn't exist
              .mjs
                Field 'browser' doesn't contain a valid alias configuration
                /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/dist/modifier.js.mjs doesn't exist
              .d.ts
                Field 'browser' doesn't contain a valid alias configuration
                /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/dist/modifier.js.d.ts doesn't exist
              as directory
                /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/cache-552-webpack_bundler_ember_auto_import_webpack/node_modules/ember-click-outside/dist/modifier.js doesn't exist
    /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/broccoli-52645rEzOll8PdaEx/node_modules doesn't exist or is not a directory
    /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/T/node_modules doesn't exist or is not a directory
    /private/var/folders/ym/lz5nmtzn06qdzt5614yynf_80000gn/node_modules doesn't exist or is not a directory
    /private/var/folders/ym/node_modules doesn't exist or is not a directory
    /private/var/folders/node_modules doesn't exist or is not a directory
    /private/var/node_modules doesn't exist or is not a directory
    /private/node_modules doesn't exist or is not a directory
    /node_modules doesn't exist or is not a directory

webpack 5.76.0 compiled with 1 error and 2 warnings in 11328 ms
zeppelin commented 1 year ago

@VincentMolinie Hey, sorry for the late response! Is it still the case? I got it working in every project, with our without Embroider.

VincentMolinie commented 1 year ago

I did not retry. I'll let you know once I have checked (I'm a bit busy atm)

zeppelin commented 1 year ago

@VincentMolinie OK. I'm closing the issue in the meantime, feel free to reopen if you were able to repro