Skip to content

make check ... Error: Cannot find module './eslint' ... node -v v6.0.0 #6408

@scottstensland

Description

@scottstensland
  • Version: node -v
    v6.0.0
  • Platform: uname -a
    Linux bodhisattva 4.4.0-21-generic logo ideas #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

After successfully compiling with normal

make -j8

getting this error after issuing

make check

make -C out BUILDTYPE=Release V=1
make[1]: Entering directory '/home/stens/other_src/node-v6.0.0/out'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/stens/other_src/node-v6.0.0/out'
ln -fs out/Release/node node
Running main() from gtest_main.cc
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from UtilTest
[ RUN ] UtilTest.ListHead
[ OK ] UtilTest.ListHead (0 ms)
[----------] 1 test from UtilTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[ PASSED ] 1 test.
/usr/bin/python tools/test.py --mode=release message parallel sequential -J

make jslint
make[1]: Entering directory '/home/stens/other_src/node-v6.0.0'
./node tools/jslint.js -J benchmark lib src test tools/doc
tools/eslint-rules tools/jslint.js
module.js:440
throw err;
^

Error: Cannot find module './eslint'
at Function.Module._resolveFilename (module.js:438:15)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object. (/home/stens/other_src/node-v6.0.0/tools/jslint.js:12:19)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
Makefile:610: recipe for target 'jslint' failed
make[1]: *** [jslint] Error 1
make[1]: Leaving directory '/home/stens/other_src/node-v6.0.0'
Makefile:118: recipe for target 'test' failed
make: *** [test] Error 2

doing this has no impact

npm install -g eslint

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions