jas-chen / atom-live-server

Launch a simple development http server with live reload capability.
https://atom.io/packages/atom-live-server
MIT License
121 stars 49 forks source link

Unable to install live-server package giving this error #276

Open AshhaadDawar opened 3 years ago

AshhaadDawar commented 3 years ago

Installing “atom-live-server@2.3.0” failed.Hide output… node:internal/modules/cjs/loader:478 throw e; ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './bin/npm-cli' is not defined by "exports" in /usr/lib/node_modules/npm/package.json at new NodeError (node:internal/errors:329:5) at throwExportsNotFound (node:internal/modules/esm/resolve:337:9) at packageExportsResolve (node:internal/modules/esm/resolve:562:3) at resolveExports (node:internal/modules/cjs/loader:472:36) at Function.Module._findPath (node:internal/modules/cjs/loader:512:31) at Function.node_module._findPath (/usr/lib/node_modules/atom-package-manager/node_modules/asar-require/lib/require.js:141:32) at Function.Module._resolveFilename (node:internal/modules/cjs/loader:909:27) at Function.resolve (node:internal/modules/cjs/helpers:98:19) at new Install (/usr/lib/node_modules/atom-package-manager/lib/install.js:53:34) at Object.run (/usr/lib/node_modules/atom-package-manager/lib/apm-cli.js:240:18) { code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' }

AshhaadDawar commented 3 years ago

i am using manjaro fully up to date.