我試圖做模板初始化時出現此錯誤。 可能未處理的拒絕[6] TypeError:在文件中加載「js/bundle」時出錯:/Users/MyUser/Documents/CentricSites/BigCommerce/Capacity/assets/js/bundle.js 評估文件時出錯:/ Users/MyUser/Documents /CentricSites/BigCommerce/Capacity/assets/js/bundle.js 無法在i處讀取未定義的 的屬性'createElement'(文件:/Users/MyUser/Documents/CentricSites/BigCommerce/Capacity/assets/js/bundle.js: 1:17836) at file:/Users/MyUser/Documents/CentricSites/BigCommerce/Capacity/assets/js/bundle.js:2:2295 at file:/ Users/MyUser/Documents/CentricSites/BigCommerce/Capacity/assets /js/bundle.js:2:2989 at t(file:/Users/MyUser/Documents/CentricSites/BigCommerce/Capacity/assets/js/bundle.js:1:3612) at file:/ Users/MyUser /文件/ CentricSites/BIGC ommerce/Capacity/assets/js/bundle.js:1:3617 at file:/Users/MyUser/Documents/CentricSites/BigCommerce/Capacity/assets/js/bundle.js:3:24280 at file:/ Users/MyUser/Documents/CentricSites/BigCommerce/Capacity/assets/js/bundle.js:1:3260 at file:/Users/MyUser/Documents/CentricSites/BigCommerce/Capacity/assets/js/bundle.js:1:3343 在doEval的Object.exports.runInThisContext(vm.js:54:17) (/usr/local/lib/node_modules/@bigcommerce/stencil-cli/node_modules/systemjs/dist/system.src.js:2400:10 ) at __eval(/usr/local/lib/node_modules/@bigcommerce/stencil-cli/node_modules/systemjs/dist/system.src.js:2317:7) at Loader.exec [as __exec](/ usr/local/lib/node_modules/@bigcommerce/stencil-cli/node_modules/systemjs/dist/system.src.js:339:5) at Load er.loader.instantiate(/usr/local/lib/node_modules/@bigcommerce/stencil-cli/node_modules/systemjs/dist/system.src.js:802:14) Loader.loader.instantiate(/ usr/local /lib/node_modules/@bigcommerce/stencil-cli/node_modules/systemjs/dist/system.src.js:1135:30) at Loader.loader.instantiate(/ usr/local/lib/node_modules/@ bigcommerce/stencil-在Loader.loader.instantiate(/ usr/local/lib/node_modules/@ bigcommerce/stencil-cli/node_modules/systemjs/dist/system。)中的cli/node_modules/systemjs/dist/system.src.js:1234:30) 。在Loader.loader.instantiate(/usr/local/lib/node_modules/@bigcommerce/stencil-cli/node_modules/systemjs/dist/system.src.js:1842:32)處的src.js:1534:30) Loader.loader.instantiate(/usr/local/lib/node_modules/@bigcommerce/stencil-cli/node_modules/systemjs-builder/compilers/amd.js:354:36) 位於/ usr /local/lib/node_modules/@bigcommerce/stencil-cli/node_modules/es6-module-loader/dist/es6-module-loader.src.js:1545:33 at tryCatchReject(/ usr/local/lib/node_modules/@ bigcommerce/stencil-cli/node_modules/es6-module-loader/dist/es6-module-loader.src.js:1183:30) runContinuation1(/ usr/local/lib/node_modules/@ bigcommerce/stencil-cli /node_modules/es6-module-loader/dist/es6-module-loader.src.js:1142:4) at Fulfilled.when(/ usr/local/lib/node_modules/@ bigcommerce/stencil-cli/node_modules/es6 -module-loader/dist/es6-module-loader.src.js:930:4) at Pending.run(/ usr/local/lib/node_modules/@ bigcommerce/stencil-cli/node_modules/es6-module-loader /dist/es6-module-loader.src.js:821:13) at Scheduler._drain(/ usr/local/lib/node_modules/@ bigcommerce/stencil-cli/node_modules/es6-module-loader/dist/es6 -module-loader.src.js:97:19) at Scheduler.drain(/usr/local/lib/node_modules/@bigcommerce/stencil-cli/node_modules/es6-module-loader/dist/es6-module-loader.src.js:62:9) at nextTickCallbackWith0Args( node.js:452:9) at process._tickCallback(node.js:381:13)BigCommerce模板INIT錯誤
我甚至不確定我在找什麼。
任何運氣
stencil start
&看到的前端?我有同樣的問題 – Omar還沒有。我一直希望BigCommerce會有人回答。 – Tigerlady
你有前端控制檯錯誤嗎?你在使用模板嗎? '404錯誤:http:// localhost:3000/stencil/theme/3/js/dependency-bundle.js' – Omar