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
I got the following error while trying to install the package:
/foo/node_modules/graphql_ppx/copyPlatformBinaryInPlace.js:41fs.copyFileSync(filename,'ppx');^TypeError: fs.copyFileSyncisnotafunctionatObject.<anonymous> (/foo/node_modules/graphql_ppx/copyPlatformBinaryInPlace.js:41:8)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:383:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:496:3
I had Node v6.11.4, which doesn't support fs.copyFileSync (Added in: v8.5.0).
I got the following error while trying to install the package:
I had Node v6.11.4, which doesn't support
fs.copyFileSync
(Added in: v8.5.0).graphql_ppx/copyPlatformBinaryInPlace.js
Line 41 in 3d78a2e
Since the error message isn't really helpful, I would suggest to either check the Node version or use some kind of polyfill.
The text was updated successfully, but these errors were encountered: