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
I added the latest version myself and modified a view things in the compile function inside the gulp file.
I added the --output param
I added error notification
see below:
const compile = () => {
gulp.src('components/**.js')
.pipe(babel())
.pipe(gulp.dest('lib'))
.on('end', () => exec(
'./node_modules/.bin/mjml index.mjml --output index.html',
(err, stdout, stderr) => {
// NOTE: logs errors of gulp (we think at least)
if (err) {
console.log('ERROR:\n', err); // eslint-disable-line no-console
}
// NOTE: logs the error message of our own code
if (stdout && stdout.trim()) {
console.log('CODE INFO:\n', stdout); // eslint-disable-line no-console
}
if (stderr) {
console.log('CODE ERROR:\n', stderr); // eslint-disable-line no-console
}
}
));
}
when i run npm run build i run into this error:
ERROR:
{ [Error: Command failed: /bin/sh -c node_modules/.bin/mjml index.mjml --output index.html
]
killed: false,
code: 1,
signal: null,
cmd: '/bin/sh -c node_modules/.bin/mjml index.mjml --output index.html' }
CODE INFO:
Error: EISDIR: illegal operation on a directory, open './'
at Error (native)
I saw some changes in the cli, which i think are causing that error, but i couldn't relate them exactly. Maybe the boilerplate has to adapt to the newer version?
The text was updated successfully, but these errors were encountered:
is it possible to run the boilerplate with the latest beta version?
I added the latest version myself and modified a view things in the compile function inside the gulp file.
I added the --output param
I added error notification
see below:
when i run npm run build i run into this error:
I saw some changes in the cli, which i think are causing that error, but i couldn't relate them exactly. Maybe the boilerplate has to adapt to the newer version?
The text was updated successfully, but these errors were encountered: