Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: Proxy is not defined #15

Closed
stephentan opened this issue Nov 26, 2016 · 2 comments
Closed

ReferenceError: Proxy is not defined #15

stephentan opened this issue Nov 26, 2016 · 2 comments

Comments

@stephentan
Copy link

Getting this error when running npm test.
I have cloned the project, run npm install then npm test

FAIL src/components/molecules/Field/index.test.js
● Test suite failed to run

ReferenceError: Proxy is not defined
  
  at Object.<anonymous> (test/componentsMock.js:10:32)
  at Object.<anonymous> (src/components/molecules/Field/index.js:5:45)
  at Object.<anonymous> (src/components/molecules/Field/index.test.js:3:35)
  at handle (node_modules/worker-farm/lib/child/index.js:41:8)
  at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:47:3)
  at emitTwo (events.js:87:13)
  at process.emit (events.js:172:7)
  at handleMessage (internal/child_process.js:686:10)
  at Pipe.channel.onread (internal/child_process.js:440:11)

In componentsMock.js
There is a use of Proxy object but it is not imported.

@diegohaz
Copy link
Owner

diegohaz commented Nov 26, 2016 via email

@stephentan
Copy link
Author

Hi diegohaz,

It works fine now after upgrading my node and npm!
So grateful for your quick reply!

-stephen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants