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
99% [Working]
99% [Working]
Ign:14 https://deb.nodesource.com/node_8.x xenial/main Sources
Ign:15 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
Ign:14 https://deb.nodesource.com/node_8.x xenial/main Sources
Ign:15 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
Hit:14 https://deb.nodesource.com/node_8.x xenial/main Sources
Hit:15 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
Fetched 323 kB in 11min 42s (459 B/s)
Reading package lists... Done
W: The repository 'https://deb.nodesource.com/node_8.x xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libfreetype6 libuv1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
m4 is already the newest version (1.4.17-5).
ocaml-nox is already the newest version (4.02.3-5ubuntu2).
opam is already the newest version (1.2.2-4).
The following packages were automatically installed and are no longer required:
libfreetype6 libuv1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[WARNING] Running as root is not recommended
OPAM has already been initialized.User configuration:
~/.ocamlinit is already up-to-date.
~/.bashrc is already up-to-date.
Global configuration:
~/.opam/opam-init/init.sh is already up-to-date.
~/.opam/opam-init/init.zsh is already up-to-date.
~/.opam/opam-init/init.csh is already up-to-date.
~/.opam/opam-init/init.fish is already up-to-date.
[WARNING] Running as root is not recommended
Updates available for 4.02.3, apply them with 'opam upgrade':
===== ↗ 1 =====
[WARNING] Running as root is not recommended
[WARNING] Running as root is not recommended
[NOTE] Package reason is already installed (current version is 3.0.4).
[WARNING] Running as root is not recommended
[NOTE] Package merlin is already installed (current version is 2.5.4).
Installing the NodeSource Node.js 8.x LTS Carbon repo...
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (8.11.1-1nodesource1).
The following packages were automatically installed and are no longer required:
libfreetype6 libuv1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/root/.npm-global/bin/bsb -> /root/.npm-global/lib/node_modules/bs-platform/lib/bsb
/root/.npm-global/bin/bsrefmt -> /root/.npm-global/lib/node_modules/bs-platform/lib/bsrefmt
/root/.npm-global/bin/bsc -> /root/.npm-global/lib/node_modules/bs-platform/lib/bsc
Error: Cannot find module '/root/.npm-global/lib/node_modules/bs-platform/scripts/install.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bs-platform@3.0.0 postinstall: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bs-platform@3.0.0 postinstall 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/2018-05-14T13_39_04_608Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ocaml-reason-wsl@0.1.1 preinstall: bin\preinstall.bat
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ocaml-reason-wsl@0.1.1 preinstall 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! C:\Users\yu\AppData\Roaming\npm-cache_logs\2018-05-14T13_39_04_793Z-debug.log
The text was updated successfully, but these errors were encountered:
PS C:\Users\yu> npm install -g ocaml-reason-wsl
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [627 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [252 kB]
0% [Working]
0% [Working]
0% [Working]
Ign:7 https://deb.nodesource.com/node_8.x xenial InRelease
0% [Working]
0% [Working]
Ign:8 https://deb.nodesource.com/node_8.x xenial Release
99% [Working]
99% [Working]
99% [Working]
99% [Working]
Ign:9 https://deb.nodesource.com/node_8.x xenial/main Sources.diff/Index
99% [Working]
99% [Working]
Ign:10 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages.diff/Index
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
99% [Working]
99% [Working]
99% [Working]
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
99% [Working]
99% [Working]
99% [Working]
99% [Working]
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
99% [Working]
99% [Working]
Ign:14 https://deb.nodesource.com/node_8.x xenial/main Sources
Ign:15 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
99% [Working]
99% [Working]
99% [Working]
Ign:14 https://deb.nodesource.com/node_8.x xenial/main Sources
Ign:15 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
Ign:14 https://deb.nodesource.com/node_8.x xenial/main Sources
Ign:15 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
Hit:14 https://deb.nodesource.com/node_8.x xenial/main Sources
Hit:15 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
Ign:11 https://deb.nodesource.com/node_8.x xenial/main all Packages
Ign:12 https://deb.nodesource.com/node_8.x xenial/main Translation-en_US
Ign:13 https://deb.nodesource.com/node_8.x xenial/main Translation-en
Fetched 323 kB in 11min 42s (459 B/s)
Reading package lists... Done
W: The repository 'https://deb.nodesource.com/node_8.x xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libfreetype6 libuv1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
m4 is already the newest version (1.4.17-5).
ocaml-nox is already the newest version (4.02.3-5ubuntu2).
opam is already the newest version (1.2.2-4).
The following packages were automatically installed and are no longer required:
libfreetype6 libuv1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[WARNING] Running as root is not recommended
OPAM has already been initialized.User configuration:
~/.ocamlinit is already up-to-date.
~/.bashrc is already up-to-date.
Global configuration:
~/.opam/opam-init/init.sh is already up-to-date.
~/.opam/opam-init/init.zsh is already up-to-date.
~/.opam/opam-init/init.csh is already up-to-date.
~/.opam/opam-init/init.fish is already up-to-date.
[WARNING] Running as root is not recommended
=-=- Updating package repositories =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Processing 1/1: [default: http]
Processing 1/1: [default: http]
[default] synchronized from https://opam.ocaml.org
Updates available for 4.02.3, apply them with 'opam upgrade':
===== ↗ 1 =====
[WARNING] Running as root is not recommended
[WARNING] Running as root is not recommended
[NOTE] Package reason is already installed (current version is 3.0.4).
[WARNING] Running as root is not recommended
[NOTE] Package merlin is already installed (current version is 2.5.4).
Installing the NodeSource Node.js 8.x LTS Carbon repo...
Populating apt-get cache...
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:4 https://deb.nodesource.com/node_8.x xenial InRelease [4,646 B]
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:6 https://deb.nodesource.com/node_8.x xenial/main Sources
Hit:7 https://deb.nodesource.com/node_8.x xenial/main amd64 Packages
Fetched 4,646 B in 9s (508 B/s)
Reading package lists... Done
Confirming "xenial" is supported...
Adding the NodeSource signing key to your keyring...
OK
Creating apt sources list file for the NodeSource Node.js 8.x LTS Carbon repo...
Running
apt-get update
for you...Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:5 https://deb.nodesource.com/node_8.x xenial InRelease
Reading package lists... Done
Run
sudo apt-get install -y nodejs
to install Node.js 8.x LTS Carbon and npmYou may also need development tools to build native addons:
To install the Yarn package manager, run:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (8.11.1-1nodesource1).
The following packages were automatically installed and are no longer required:
libfreetype6 libuv1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/root/.npm-global/bin/bsb -> /root/.npm-global/lib/node_modules/bs-platform/lib/bsb
/root/.npm-global/bin/bsrefmt -> /root/.npm-global/lib/node_modules/bs-platform/lib/bsrefmt
/root/.npm-global/bin/bsc -> /root/.npm-global/lib/node_modules/bs-platform/lib/bsc
module.js:549
throw err;
^
Error: Cannot find module '/root/.npm-global/lib/node_modules/bs-platform/scripts/install.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bs-platform@3.0.0 postinstall:
node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bs-platform@3.0.0 postinstall 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/2018-05-14T13_39_04_608Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ocaml-reason-wsl@0.1.1 preinstall:
bin\preinstall.bat
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ocaml-reason-wsl@0.1.1 preinstall 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! C:\Users\yu\AppData\Roaming\npm-cache_logs\2018-05-14T13_39_04_793Z-debug.log
The text was updated successfully, but these errors were encountered: