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

Issue with Gulp Foreman from Gulp-Jasmine-Browser #38

Open
dan-ator opened this issue Feb 23, 2018 · 0 comments
Open

Issue with Gulp Foreman from Gulp-Jasmine-Browser #38

dan-ator opened this issue Feb 23, 2018 · 0 comments

Comments

@dan-ator
Copy link

I am getting this error message when trying to run gulp-foreman:

/node_modules/gulp-jasmine-browser/node_modules/multipipe/index.js:6
const { PassThrough, Readable } = require('stream')
      ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Module._extensions..js (module.js:422:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/dalexander1/Loglio/loglio/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/dalexander1/Loglio/loglio/node_modules/gulp-jasmine-browser/lib/headless.js:76:18)
    at Module._compile (module.js:413:34)
    at Module._extensions..js (module.js:422:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/dalexander1/Loglio/loglio/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/dalexander1/Loglio/loglio/node_modules/gulp-jasmine-browser/index.js:8:17)
    at Module._compile (module.js:413:34)
    at Module._extensions..js (module.js:422:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/dalexander1/Loglio/loglio/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)

This is for gulp-jasmine-browser 2.0.4, which is installed by pui-react-tools 3.2.2.

My react tools file is basic:

const {Assets, Foreman, Lint, Jasmine} = require('pui-react-tools');
require('../app/components/layout');

Assets.install({
  assets: {
    sass: false,
    html: false
  },
  useAssetsServer: false
});
Foreman.install();
Lint.install();
Jasmine.install();

Using React v16.2.
Is this some known issue I am missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant