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

Can't install parcel in a fresh ubuntu instalation #4520

Closed
schirrel opened this issue Apr 23, 2020 · 5 comments
Closed

Can't install parcel in a fresh ubuntu instalation #4520

schirrel opened this issue Apr 23, 2020 · 5 comments
Labels
❔ Question ✖️ Non-Parcel bug Bugs related to dependencies or plugins

Comments

@schirrel
Copy link

🐛 bug report

I am trying to install the sudo npm install -g parcel-bundleras the official docs says. And i get the following error message

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node ./build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-23T01_40_01_724Z-debug.log

🎛 Configuration (.babelrc, package.json, cli command)

None, installing globallt as in https://parceljs.org/getting_started.html

🤔 Expected Behavior

To install globaly the parceljs

😯 Current Behavior

Erro at terminal:

npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
/usr/local/bin/parcel -> /usr/local/lib/node_modules/parcel-bundler/bin/cli.js
npm WARN lifecycle The node binary used for scripts is /snap/bin/node but npm is using /snap/node/2494/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> [email protected] install /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync
> node ./build.js

2020/04/22 21:40:01.136728 cmd_run.go:915: WARNING: cannot create user data directory: cannot create "/nonexistent/snap/node/2494": mkdir /nonexistent: permission denied
cannot create user data directory: /nonexistent/snap/node/2494: Permission denied
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/parcel-bundler/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN You are using a pre-release version of node and things may not work as expected
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/abbrev' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/ansi-regex):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/ansi-regex' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.ansi-regex.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/aproba):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/aproba' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.aproba.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/balanced-match' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.balanced-match.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/chownr):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/chownr' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.chownr.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/code-point-at):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/code-point-at' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.code-point-at.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/concat-map' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.concat-map.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/console-control-strings):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/console-control-strings' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.console-control-strings.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/core-util-is):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/core-util-is' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.core-util-is.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/deep-extend):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/deep-extend' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.deep-extend.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/delegates):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/delegates' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.delegates.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/detect-libc):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/detect-libc' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.detect-libc.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/fs.realpath):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/fs.realpath' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.fs.realpath.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/has-unicode):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/has-unicode' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.has-unicode.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/inherits):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/inherits' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.inherits.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/ini):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/ini' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.ini.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/isarray):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/isarray' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.isarray.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/minimist' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/ms):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/ms' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.ms.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/npm-normalize-package-bin):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/npm-normalize-package-bin' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.npm-normalize-package-bin.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/number-is-nan):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/number-is-nan' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.number-is-nan.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/object-assign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/object-assign' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.object-assign.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/os-homedir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/os-homedir' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.os-homedir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/os-tmpdir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/os-tmpdir' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.os-tmpdir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/path-is-absolute):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/path-is-absolute' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.path-is-absolute.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/process-nextick-args):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/process-nextick-args' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.process-nextick-args.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/safe-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/safe-buffer' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.safe-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/safer-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/safer-buffer' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.safer-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/sax):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/sax' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.sax.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/semver):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/semver' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.semver.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/set-blocking):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/set-blocking' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.set-blocking.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/signal-exit):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/signal-exit' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.signal-exit.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/strip-json-comments):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/strip-json-comments' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.strip-json-comments.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/util-deprecate):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/util-deprecate' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.util-deprecate.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/wrappy):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/wrappy' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.wrappy.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/parcel-bundler/node_modules/fsevents/node_modules/yallist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/yallist' -> '/usr/local/lib/node_modules/parcel-bundler/node_modules/fsevents/node_modules/.yallist.DELETE'

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node ./build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-23T01_40_01_724Z-debug.log

🌍 Your Environment

Software Version(s)
Parcel
Node node 13.0.0
npm/Yarn npm 6.14.4
Operating System Ubuntu 20.04
@DeMoorJasper
Copy link
Member

This is an issue with the installation of deasync not really Parcel. deasync has been remove as a dependency in Parcel 1.

@schirrel
Copy link
Author

@DeMoorJasper how can i install next versions? I'm following the docs, and i just look at npm and there is only the 1.x.x version
https://www.npmjs.com/package/parcel-bundler

@mischnic
Copy link
Member

mischnic commented Apr 23, 2020

yarn add parcel@next or yarn add parcel@nightly

Regarding the original problem: admc/wd#586 might be helpful

@mischnic mischnic added the ✖️ Non-Parcel bug Bugs related to dependencies or plugins label Apr 23, 2020
@kashif-ghafoor
Copy link

I am also getting the same problem? did anyone get the solution?

@iamrahulrnair
Copy link

I used yarn instead, it worked, it may be a bug with npm because some package are showing this behaviour and some dont when installed globally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❔ Question ✖️ Non-Parcel bug Bugs related to dependencies or plugins
Projects
None yet
Development

No branches or pull requests

5 participants