Yarn test failing in some machines
up vote
0
down vote
favorite
Yarn test is failing. However in other developer machines it successfully running.
● Test suite failed to run
D:xxxconfigjestsetupTests.js:2
import { configure } from 'enzyme';
^^^^^^
SyntaxError: Unexpected token import
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:316:17)
Note: version of node.js and yarn is same across all machines. All node_modules inside global yarn and global node deleted. Still it is failing.
yarn 1.3.2
node v8.9.4
node.js npm jestjs yarnpkg
add a comment |
up vote
0
down vote
favorite
Yarn test is failing. However in other developer machines it successfully running.
● Test suite failed to run
D:xxxconfigjestsetupTests.js:2
import { configure } from 'enzyme';
^^^^^^
SyntaxError: Unexpected token import
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:316:17)
Note: version of node.js and yarn is same across all machines. All node_modules inside global yarn and global node deleted. Still it is failing.
yarn 1.3.2
node v8.9.4
node.js npm jestjs yarnpkg
Is there a.babelrc
file in the project's root on both machines?
– bamse
Jul 26 at 8:02
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Yarn test is failing. However in other developer machines it successfully running.
● Test suite failed to run
D:xxxconfigjestsetupTests.js:2
import { configure } from 'enzyme';
^^^^^^
SyntaxError: Unexpected token import
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:316:17)
Note: version of node.js and yarn is same across all machines. All node_modules inside global yarn and global node deleted. Still it is failing.
yarn 1.3.2
node v8.9.4
node.js npm jestjs yarnpkg
Yarn test is failing. However in other developer machines it successfully running.
● Test suite failed to run
D:xxxconfigjestsetupTests.js:2
import { configure } from 'enzyme';
^^^^^^
SyntaxError: Unexpected token import
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:316:17)
Note: version of node.js and yarn is same across all machines. All node_modules inside global yarn and global node deleted. Still it is failing.
yarn 1.3.2
node v8.9.4
node.js npm jestjs yarnpkg
node.js npm jestjs yarnpkg
edited Nov 7 at 7:53
skyboyer
2,69511027
2,69511027
asked Jul 24 at 11:01
Gupta Sandeepkumar
17417
17417
Is there a.babelrc
file in the project's root on both machines?
– bamse
Jul 26 at 8:02
add a comment |
Is there a.babelrc
file in the project's root on both machines?
– bamse
Jul 26 at 8:02
Is there a
.babelrc
file in the project's root on both machines?– bamse
Jul 26 at 8:02
Is there a
.babelrc
file in the project's root on both machines?– bamse
Jul 26 at 8:02
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51496974%2fyarn-test-failing-in-some-machines%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Is there a
.babelrc
file in the project's root on both machines?– bamse
Jul 26 at 8:02