Closed sailei1 closed 6 years ago
<script src="https://cdn.snipcart.com/scripts/2.0/snipcart.js" id="snipcart" data-api-key="xxx"></script>
<link href="https://cdn.snipcart.com/themes/2.0/base/snipcart.min.css" type="text/css" rel="stylesheet">
remove
work fine
dz-activity@1.0.0 build /Users/zhangsailei/duozhuan/git/dz-activity
(node:81930) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
/Users/zhangsailei/duozhuan/git/dz-activity/node_modules/prerender-spa-plugin/lib/compile-to-html.js:82 if (error) throw stdout ^ WARNING: JavaScript error while prerendering: /index Error: Loading chunk 0 failed.
phantomjs://code/phantom-page-render.js:26 in onError
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! dz-activity@1.0.0 build:
node build/build.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the dz-activity@1.0.0 build 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! /Users/zhangsailei/.npm/_logs/2018-02-06T07_36_23_625Z-debug.log
Process finished with exit code 1