You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to test an addon, I would like to include a test dependency which indirectly requires an optional package not specified as a dependency.
I am getting the error:
Error: Cannot find module 'WNdb' from '/Volumes/Macintosh_HD/Users/shauncutts/src/ember-column-index/node_modules/natural/lib/natural/wordnet'
at /Volumes/Macintosh_HD/Users/shauncutts/src/ember-column-index/node_modules/browser-resolve/node_modules/resolve/lib/async.js:46:17
at process (/Volumes/Macintosh_HD/Users/shauncutts/src/ember-column-index/node_modules/browser-resolve/node_modules/resolve/lib/async.js:173:43)
at ondir (/Volumes/Macintosh_HD/Users/shauncutts/src/ember-column-index/node_modules/browser-resolve/node_modules/resolve/lib/async.js:188:17)
at load (/Volumes/Macintosh_HD/Users/shauncutts/src/ember-column-index/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
at onex (/Volumes/Macintosh_HD/Users/shauncutts/src/ember-column-index/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
at /Volumes/Macintosh_HD/Users/shauncutts/src/ember-column-index/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:111:15)
I tried adding
browserify: {
ignore: ['WNdb'],
}
To tests/dummy/config/environment.js. However, it has no effect. Is there a way to get ember-browserify to ignore a file?
The text was updated successfully, but these errors were encountered:
Is the correct syntax. Unfortunately it seems that ember-browserify can't load modules in addons unless they are specified as dependencies (even for testing?)... which I don't want to do because of addon bloat.
In order to test an addon, I would like to include a test dependency which indirectly requires an optional package not specified as a dependency.
I am getting the error:
I tried adding
To
tests/dummy/config/environment.js
. However, it has no effect. Is there a way to get ember-browserify to ignore a file?The text was updated successfully, but these errors were encountered: