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
src/PropTypes.js -> lib/PropTypes.js
src/StyleValidator.js -> lib/StyleValidator.js
src/components/A.jsx -> lib/components/A.js
src/components/Box.jsx -> lib/components/Box.js
src/components/Email.jsx -> lib/components/Email.js
src/components/Image.jsx -> lib/components/Image.js
src/components/Item.jsx -> lib/components/Item.js
src/components/Span.jsx -> lib/components/Span.js
src/includeDataProps.js -> lib/includeDataProps.js
src/index.js -> lib/index.js
src/renderEmail.js -> lib/renderEmail.js
'src/supportMatrix.json' -> 'examples/supportMatrix.json'
cp: -r not specified; omitting directory 'lib/'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-html-email@3.0.0 compile: babel -d lib/ src/ && cp -v src/supportMatrix.json lib/ "examples/"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-html-email@3.0.0 compile 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! /home/.../.npm/_logs/2020-06-22T16_18_33_140Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-html-email@3.0.0 prepare: npm run compile "examples/"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-html-email@3.0.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I'm sure this is a simple misunderstanding on my part, but what should I be doing to have Babel compile my component to a static html file without crashing?
Thanks
The text was updated successfully, but these errors were encountered:
Noob here.
I'm just looking for the output from this program. Here's my setup:
In the examples/ folder, I have added a file called simple.jsx, which contains the example given in the readme.
When I run 'npm run prepare' I get:
src/PropTypes.js -> lib/PropTypes.js
src/StyleValidator.js -> lib/StyleValidator.js
src/components/A.jsx -> lib/components/A.js
src/components/Box.jsx -> lib/components/Box.js
src/components/Email.jsx -> lib/components/Email.js
src/components/Image.jsx -> lib/components/Image.js
src/components/Item.jsx -> lib/components/Item.js
src/components/Span.jsx -> lib/components/Span.js
src/includeDataProps.js -> lib/includeDataProps.js
src/index.js -> lib/index.js
src/renderEmail.js -> lib/renderEmail.js
'src/supportMatrix.json' -> 'lib/supportMatrix.json'
...which makes it look like lib/ is the output directory.
src/PropTypes.js -> lib/PropTypes.js
src/StyleValidator.js -> lib/StyleValidator.js
src/components/A.jsx -> lib/components/A.js
src/components/Box.jsx -> lib/components/Box.js
src/components/Email.jsx -> lib/components/Email.js
src/components/Image.jsx -> lib/components/Image.js
src/components/Item.jsx -> lib/components/Item.js
src/components/Span.jsx -> lib/components/Span.js
src/includeDataProps.js -> lib/includeDataProps.js
src/index.js -> lib/index.js
src/renderEmail.js -> lib/renderEmail.js
'src/supportMatrix.json' -> 'examples/supportMatrix.json'
cp: -r not specified; omitting directory 'lib/'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-html-email@3.0.0 compile:
babel -d lib/ src/ && cp -v src/supportMatrix.json lib/ "examples/"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-html-email@3.0.0 compile 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! /home/.../.npm/_logs/2020-06-22T16_18_33_140Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-html-email@3.0.0 prepare:
npm run compile "examples/"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-html-email@3.0.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I'm sure this is a simple misunderstanding on my part, but what should I be doing to have Babel compile my component to a static html file without crashing?
Thanks
The text was updated successfully, but these errors were encountered: