Skip to content

Error during make test: 'Error: Cannot find module '/node/test/fixtures/nested-index/one' #16357

@Tiriel

Description

@Tiriel

Heyr there,

  • Version: nodejs/node/master, during build
  • Platform: Linux [ laptop identifier ] 4.10.0-37-generic Add a Gitter chat badge to README.md #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  • Subsystem:

I've got this error during make test and couldn't find another issue about it (included: end of test command):

[ ... other tests are green ] 
[----------] Global test environment tear-down
[==========] 62 tests from 7 test cases ran. (1002 ms total)
[  PASSED  ] 62 tests.
/usr/bin/python2.7 tools/test.py --mode=release -J \
	async-hooks \
	default \
	addons addons-napi \
	doctool known_issues
=== release test-require-resolve ===                                           
Path: parallel/test-require-resolve
module.js:510
    throw err;
    ^

Error: Cannot find module '/home/benjamin/dev/javascript/node/test/fixtures/nested-index/one'
    at Function.Module._resolveFilename (module.js:508:15)
    at Function.resolve (internal/module.js:18:19)
    at Object.<anonymous> (/home/benjamin/Dev/javascript/node/test/parallel/test-require-resolve.js:35:11)
    at Module._compile (module.js:607:30)
    at Object.Module._extensions..js (module.js:618:10)
    at Module.load (module.js:526:32)
    at tryModuleLoad (module.js:489:12)
    at Function.Module._load (module.js:481:3)
    at Function.Module.runMain (module.js:648:10)
    at startup (bootstrap_node.js:191:16)
Command: out/Release/node /home/benjamin/Dev/javascript/node/test/parallel/test-require-resolve.js
=== release test-npm-install ===                                               
Path: parallel/test-npm-install
Command: out/Release/node /home/benjamin/Dev/javascript/node/test/parallel/test-npm-install.js
--- TIMEOUT ---
[04:52|%  89|+ 1804|-   2]: Done                                        
Makefile:209 : la recette pour la cible « test » a échouée
make: *** [test] Erreur 1

This happens consistently.
I tried re reunning ./configure and make, but every time make test outputs this error.
For the record, the output of ./configure:

creating ./icu_config.gypi
* Using ICU in deps/icu-small
creating ./icu_config.gypi
{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'asan': 0,
                 'coverage': 'false',
                 'debug_devtools': 'node',
                 'debug_http2': 'false',
                 'debug_nghttp2': 'false',
                 'force_dynamic_crt': 0,
                 'gas_version': 0,
                 'host_arch': 'x64',
                 'icu_data_file': 'icudt59l.dat',
                 'icu_data_in': '../../deps/icu-small/source/data/in/icudt59l.dat',
                 'icu_endianness': 'l',
                 'icu_gyp_path': 'tools/icu/icu-generic.gyp',
                 'icu_locales': 'en,root',
                 'icu_path': 'deps/icu-small',
                 'icu_small': 'true',
                 'icu_ver_major': '59',
                 'node_byteorder': 'little',
                 'node_enable_d8': 'false',
                 'node_enable_v8_vtunejit': 'false',
                 'node_install_npm': 'true',
                 'node_module_version': 59,
                 'node_no_browser_globals': 'false',
                 'node_prefix': '/usr/local',
                 'node_release_urlbase': '',
                 'node_shared': 'false',
                 'node_shared_cares': 'false',
                 'node_shared_http_parser': 'false',
                 'node_shared_libuv': 'false',
                 'node_shared_openssl': 'false',
                 'node_shared_zlib': 'false',
                 'node_tag': '',
                 'node_use_bundled_v8': 'true',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'false',
                 'node_use_lttng': 'false',
                 'node_use_openssl': 'true',
                 'node_use_perfctr': 'false',
                 'node_use_v8_platform': 'true',
                 'node_without_node_options': 'false',
                 'openssl_fips': '',
                 'openssl_no_asm': 0,
                 'shlib_suffix': 'so.59',
                 'target_arch': 'x64',
                 'uv_parent_path': '/deps/uv/',
                 'uv_use_dtrace': 'false',
                 'v8_enable_gdbjit': 0,
                 'v8_enable_i18n_support': 1,
                 'v8_enable_inspector': 1,
                 'v8_no_strict_aliasing': 1,
                 'v8_optimized_debug': 0,
                 'v8_promise_internal_field_count': 1,
                 'v8_random_seed': 0,
                 'v8_trace_maps': 0,
                 'v8_use_snapshot': 'true',
                 'want_separate_host_toolset': 0}}
creating ./config.gypi
creating ./config.mk

make doesn't output any error message, but last line is this one and I don't know if it's supposed to be:

if [ ! -r node -o ! -L node ]; then ln -fs out/Release/node node; fi

Thank you!
Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions