ATMSeer
ATMSeer copied to clipboard
Running in Windows
Do you have any shell scripts or mechanisms that will run in windows? Or do I need to do this in a linux system?
Disregard...sorry Pilot error....i thought I had ran vagrant up and had not....sorry
Question...have you ever had an issue creating the /vagrant/venv/bin/activate directory? That is where I do fail
And now I get
Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => C:/atmseer/ATMSeer
==> default: Machine already provisioned. Run vagrant provision
or use the --provision
==> default: flag to force provisioning. Provisioners marked to run always willstill run.
Preparing to unpack .../python_2.7.12-1~16.04_amd64.deb ...
default: Unpacking python (2.7.12-1~16.04) ...
default: Selecting previously unselected package nodejs.
default: Preparing to unpack .../nodejs_12.4.0-1nodesource1_amd64.deb ...
default: Unpacking nodejs (12.4.0-1nodesource1) ...
default: Processing triggers for man-db (2.7.5-1) ...
default: Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.4) ...
default: Setting up python2.7 (2.7.12-1ubuntu0~16.04.4) ...
default: Setting up libpython-stdlib:amd64 (2.7.12-1~16.04) ...
default: Setting up python (2.7.12-1~16.04) ...
default: Setting up nodejs (12.4.0-1nodesource1) ...
default: npm
default:
default: WARN
default:
default: optional
default: SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
default: npm
default:
default: WARN
default:
default: notsup
default: SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
default: npm
default:
default: ERR!
default: Maximum call stack size exceeded
default:
default: npm
default: ERR!
default: A complete log of this run can be found in:
default: npm ERR! /root/.npm/_logs/2019-06-12T14_29_00_343Z-debug.log
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'ubuntu/xenial64' version '20190605.0.0' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Vagrant has detected a configuration issue which exposes a
==> default: vulnerability with the installed version of VirtualBox. The
==> default: current guest is configured to use an E1000 NIC type for a
==> default: network adapter which is vulnerable in this version of VirtualBox.
==> default: Ensure the guest is trusted to use this configuration or update
==> default: the NIC type using one of the methods below:
==> default:
==> default: https://www.vagrantup.com/docs/virtualbox/configuration.html#default-nic-type
==> default: https://www.vagrantup.com/docs/virtualbox/networking.html#virtualbox-nic-type
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 7777 (guest) => 7777 (host) (adapter 1)
default: 7779 (guest) => 7779 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => C:/atmseer/ATMSeer
==> default: Machine already provisioned. Run vagrant provision
or use the --provision
==> default: flag to force provisioning. Provisioners marked to run always willstill run.
==> default: Running provisioner: vagrantstart (shell)...
default: Running: C:/Users/username/AppData/Local/Temp/vagrant-shell20190612-11896-1d7aofm.sh
default: sh: 1: cross-env: not found
default: npm
default: ERR! file sh
default: npm ERR!
default:
default: code ELIFECYCLE
default: npm ERR! errno
default: ENOENT
default: npm
default: ERR! syscall
default: spawn
default: npm ERR! [email protected] start: cross-env PORT=7779 react-scripts-ts start
default: npm ERR! spawn ENOENT
default: npm ERR!
default:
default: npm
default: ERR! Failed at the [email protected] start script.
default: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
default: npm
default: ERR!
default: A complete log of this run can be found in:
default: npm
default: ERR! /root/.npm/_logs/2019-06-12T14_29_52_616Z-debug.log
default: * Serving Flask app "server" (lazy loading)
default: * Environment: development
default: * Debug mode: on
default: [INFO] [14:29:58:werkzeug] * Running on http://0.0.0.0:7777/ (Press CTRL+C to quit)
default: [INFO] [14:29:58:werkzeug] * Restarting with stat
default: Traceback (most recent call last):
default: File "server/atm_server/server.py", line 97, in
I am receiving the same error when following the installation instructions on a Windows 10 machine.
After I see the error the virtual machine is up and running however I am unable to access the app from my browser. Installing cross-env
on the vagrant machine manually by the first using vagrant ssh
and then sudo npm install --global cross-env
brings me a new error without the app running still.
Cleaned out the whole ATMSeer directory, removed the VM and did a clean install. Now I do not even get the correct files on the VM...for example start.sh is no longer there along with no vagrant environment. Interesting
I now got to the same error with cross environment error...