Skip to content
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

Unable to run tests with version 4 or 5 #610

Open
bmaehr opened this issue Oct 9, 2024 · 0 comments
Open

Unable to run tests with version 4 or 5 #610

bmaehr opened this issue Oct 9, 2024 · 0 comments
Labels

Comments

@bmaehr
Copy link

bmaehr commented Oct 9, 2024

Not able to run

ember test --launch Chrome

with a version newer than 3.0.0. With 3.0.0 there is no problem.

webpack: 5.94.0

Entrypoint app [big] 1.95 MiB = chunk.vendors-node_modules_popperjs_core_lib_index_js-node_modules_ember-focus-trap_dist_modifiers_-b4f4dd.30260beb523ec532e704.js 1.92 MiB chunk.app.1e88c852137d16226d0f.js 39.2 KiB
Entrypoint tests [big] 3.07 MiB = chunk.vendors-node_modules_popperjs_core_lib_index_js-node_modules_ember-focus-trap_dist_modifiers_-b4f4dd.30260beb523ec532e704.js 1.92 MiB chunk.vendors-node_modules_ember_test-helpers_dist_index_js-node_modules_lodash_castarray_index_js--a531dc.01c6ef12568f8d02e11b.js 1.09 MiB chunk.tests.4a99e04b0c94b59899f9.js 61.3 KiB
runtime modules 7.27 KiB 14 modules
modules by path ./node_modules/ 2.51 MiB
  cacheable modules 2.5 MiB 425 modules
  optional modules 6.47 KiB [optional] 2 modules
modules by path external "@ember/ 504 bytes
  external "@ember/version" 42 bytes [built] [code generated]
  + 11 modules
modules by path external "@glimmer/ 168 bytes
  external "@glimmer/component" 42 bytes [built] [code generated]
  + 3 modules
modules by path ../../../Users/bmaehr/AppData/Local/Temp/broccoli-96400JZ2WSftaP7DT/cache-600-we...(truncated) 3.75 KiB
  ../../../Users/bmaehr/AppData/Local/Temp/broccoli-96400JZ2WSftaP7DT/cache-600-we...(truncated) 50 bytes [built] [code generated]
  + 2 modules
+ 4 modules

ERROR in ../../../Users/bmaehr/AppData/Local/Temp/broccoli-96400JZ2WSftaP7DT/cache-600-webpack_bundler_ember_auto_import_webpack/tests.cjs 20:122-162
Module not found: Error: Can't resolve 'ember-pikaday/helpers/pikaday' in 'C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack'
resolve 'ember-pikaday/helpers/pikaday' in 'C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack'
  Parsed request is a module
  No description file found in C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack or above
  resolve as module
    looking for modules in C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules
      existing directory C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules\ember-pikaday
        using description file: C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules\ember-pikaday\package.json (relative path: .)
          using exports field: ./dist/helpers/pikaday
            using description file: C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules\ember-pikaday\package.json (relative path: ./dist/helpers/pikaday)
              no extension
                Field 'browser' doesn't contain a valid alias configuration
                C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules\ember-pikaday\dist\helpers\pikaday doesn't exist
              .js
                Field 'browser' doesn't contain a valid alias configuration
                C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules\ember-pikaday\dist\helpers\pikaday.js doesn't exist
              .ts
                Field 'browser' doesn't contain a valid alias configuration
                C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules\ember-pikaday\dist\helpers\pikaday.ts doesn't exist
              .json
                Field 'browser' doesn't contain a valid alias configuration
                C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules\ember-pikaday\dist\helpers\pikaday.json doesn't exist
              as directory
                C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\cache-600-webpack_bundler_ember_auto_import_webpack\node_modules\ember-pikaday\dist\helpers\pikaday doesn't exist
    C:\Users\bmaehr\AppData\Local\Temp\broccoli-96400JZ2WSftaP7DT\node_modules doesn't exist or is not a directory
    C:\Users\bmaehr\AppData\Local\Temp\node_modules doesn't exist or is not a directory
    C:\Users\bmaehr\AppData\Local\node_modules doesn't exist or is not a directory
    C:\Users\bmaehr\AppData\node_modules doesn't exist or is not a directory
    C:\Users\bmaehr\node_modules doesn't exist or is not a directory
    C:\Users\node_modules doesn't exist or is not a directory
    C:\node_modules doesn't exist or is not a directory

cleaning up...
Build Error (WebpackBundler)

webpack returned errors to ember-auto-import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants