export Babel_ENV=default fails - Babel not transpiling due to environment variable issue - please advise

6 views
Skip to first unread message

Derek Williams

unread,
Dec 17, 2018, 5:07:41 PM12/17/18
to Vagrant
PS C:\Users\Developer\pixfunder.co> npm restart

> @ start C:\Users\Developer\pixfunder.co
> vagrant up && export BABEL_ENV=default && node server.js

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/xenial64' is up to date...
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
'export' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: `vagrant up && export BABEL_ENV=default && node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start 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\Developer\AppData\Roaming\npm-cache\_logs\2018-12-17T22_00_46_274Z-debug.log

Alvaro Miranda Aguilera

unread,
Dec 25, 2018, 4:31:58 PM12/25/18
to vagra...@googlegroups.com
this command:

 vagrant up && export BABEL_ENV=default && node server.js

is the same as

vagrant up
export BABEL_ENV=default
node server.js

you sure thart will work?

you want to run that in your windows shell ?

error here:
'export' is not recognized as an internal or external command,

so far, not a vagrant issue

alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/925d4077-97fa-47b5-af55-f50e39e75287%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages