How to fix " ReferenceError: Proxy is not defined"


#1

Hello ,everyone! my system is Linux thinkpad 4.11.4-100.fc24.x86_64, I install atom from mosquito’s copr,but lately I find I cannot see and manage my packages , and update packages .
it’s only show output:

Fetching featured packages failed.Hide output…
/usr/lib/node_modules/atom-package-manager/lib/fs.js:42
  module.exports = new Proxy({}, {
                       ^

ReferenceError: Proxy is not defined
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/fs.js:42:24)
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/fs.js:51:4)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/apm.js:6:8)
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/apm.js:164:4)

I also try install package from atom.io site, it’s a bit better,I can see my install packages and when update package it’s only show : undefined.
my atom version:

atom --version
Atom    : 1.14.1
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

I think the error is concerned with atom-package-manager,when I use apm in command line ,it also show

/usr/lib/node_modules/atom-package-manager/lib/fs.js:42
  module.exports = new Proxy({}, {
                       ^

ReferenceError: Proxy is not defined
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/fs.js:42:24)
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/fs.js:51:4)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/apm.js:6:8)
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/apm.js:164:4)

how to fix it ? thanks!