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
Me, in my case, I have yeoman-test installed (for testing) and yeoman-environment for injecting version ^3.0.0 into yeoman-test (as recommended in the README).
For me, mem-fs-editor is being installed here: node_modules/yeoman-environment/node_modules/mem-fs-editor yeoman-test, naturally, is being installed here: node_modules/yeoman-test.
When trying to run yeoman-test I get an error: Cannot find module 'mem-fs-editor'
yeoman-test assumes that mem-fs-editor is located directly in my node_modules folder, but that's not the case for me.
Personally I'd say the problem can be solved by adding mem-fs-editor to the dependencies of yeoman-test. I don't really want to fiddle around with my package-lock.json file
The text was updated successfully, but these errors were encountered:
Since
mem-fs-editor
is not a dependency ofyeoman-test
, this piece of code causes an error sometimes:yeoman-test/lib/run-result.js
Line 4 in af0e8f1
Me, in my case, I have
yeoman-test
installed (for testing) andyeoman-environment
for injecting version^3.0.0
intoyeoman-test
(as recommended in the README).For me,
mem-fs-editor
is being installed here:node_modules/yeoman-environment/node_modules/mem-fs-editor
yeoman-test
, naturally, is being installed here:node_modules/yeoman-test
.When trying to run
yeoman-test
I get an error:Cannot find module 'mem-fs-editor'
yeoman-test
assumes thatmem-fs-editor
is located directly in mynode_modules
folder, but that's not the case for me.Personally I'd say the problem can be solved by adding
mem-fs-editor
to thedependencies
ofyeoman-test
. I don't really want to fiddle around with mypackage-lock.json
fileThe text was updated successfully, but these errors were encountered: