nodeunit icon indicating copy to clipboard operation
nodeunit copied to clipboard

WIP add coffeescript to coffee extension detection

Open cesine opened this issue 5 years ago • 1 comments

CoffeeScript on NPM has moved to coffeescript (no hyphen) https://www.npmjs.com/package/coffee-script

Before

$ yarn link nodeunit
yarn link v1.19.1
success Using linked package for "nodeunit".
✨  Done in 0.07s.
$ npm test

> [email protected] test /Users/gchiodo/git/eco
> nodeunit


OK: 0 assertions (1ms)

After (still not working)

$ npm test

> [email protected] test ~/eco
> nodeunit

e Error: Cannot find module 'coffeescript'
Require stack:
- ~/nodeunit/lib/utils.js
- ~/nodeunit/lib/nodeunit.js
- ~/nodeunit/lib/reporters/tap.js
- ~/nodeunit/lib/reporters/index.js
- ~/nodeunit/bin/nodeunit
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
    at Function.Module._load (internal/modules/cjs/loader.js:690:27)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (~/nodeunit/lib/utils.js:28:20)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Module.require (internal/modules/cjs/loader.js:852:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '~/nodeunit/lib/utils.js',
    '~/nodeunit/lib/nodeunit.js',
    '~/nodeunit/lib/reporters/tap.js',
    '~/nodeunit/lib/reporters/index.js',
    '~/nodeunit/bin/nodeunit'
  ]
}

cesine avatar Jul 20 '20 16:07 cesine

This project is stale and deprecated. Pull requests are not likely to be merged.

mreinstein avatar Jul 20 '20 16:07 mreinstein