-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Description
Consider the following package.json
:
{
"name": "toy-box",
"description": "Toy Box is a simple and efficient DI system based off symfony and other concepts.",
"version": "0.0.1",
"license": "MIT",
"repository": "https://github.com/AdamKyle/Toy-Box",
"dependencies": {
"babelify": "*",
"browserify": "*",
"gulp": "3.9.0",
"vinyl-source-stream": "1.1.0"
},
"devDependencies": {
"babel-jest": "*",
"babel-polyfill": "*",
"jest-cli": "*"
},
"scripts": {
"test": "jest"
}
}
When I run: npm test
I am confronted with:
> [email protected] test /Users/AdamBalan/Documents/toy-box
> jest
Using Jest CLI v0.9.0, jasmine2, babel-jest
Error: Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: acorn
Paths: /Users/AdamBalan/Documents/toy-box/node_modules/acorn-globals/node_modules/acorn/package.json collides with /Users/AdamBalan/Documents/toy-box/node_modules/acorn/package.json
This error is caused by a @providesModule declaration with the same name accross two different files.
This is most likely a setup or configuration issue. To resolve a module name collision, change or blacklist one of the offending modules. See http://facebook.github.io/jest/docs/api.html#config-modulepathignorepatterns-array-string
npm ERR! Test failed. See above for more details.
I do not understand the instructions at: http://facebook.github.io/jest/docs/api.html#config-modulepathignorepatterns-array-string In order to understand what to do.
Is there a fix for this?
NathanBWaters and vcarl
Metadata
Metadata
Assignees
Labels
No labels