Page MenuHomePhabricator

[SkelJS] TypeError: path.existsSync is not a function
Closed, DeclinedPublic

Description

Running QUnit tests from the command line:

> SkelJS@0.0.1 test /workspace/src/extensions/SkelJS
> grunt qunit

/workspace/src/extensions/SkelJS/node_modules/grunt/lib/util/findup.js:17
  if (path.existsSync(filepath)) { return filepath; }
           ^

TypeError: path.existsSync is not a function
    at findup (/workspace/src/extensions/SkelJS/node_modules/grunt/lib/util/findup.js:17:12)
    at Object.<anonymous> (/workspace/src/extensions/SkelJS/node_modules/grunt/bin/grunt:10:24)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)
npm ERR! Test failed.  See above for more details.

Event Timeline

The extension is obsolete, I will get it obsolete. T196509: Archive the SkelJS extension.

Vvjjkkii renamed this task from [SkelJS] TypeError: path.existsSync is not a function to tkbaaaaaaa.Jul 1 2018, 1:05 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from tkbaaaaaaa to [SkelJS] TypeError: path.existsSync is not a function.Jul 1 2018, 8:14 PM
CommunityTechBot closed this task as Declined.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.