问题
I am trying to customize a marketplace theme (Peak Standard). I have followed all of the steps pointed out here. https://stencil.bigcommerce.com/docs/downloading-and-customizing-marketplace-themes
But when I try to run stencil init I get the following errors. Any help would be appreciated.
JavaScript Bundling Started... Potentially unhandled rejection [8] Error: Error loading "js/app" at file:C:/Use rs/Dusten/Desktop/BC-DEV/assets/js/app.js
Error loading "npm:babel-core@5.6.15/browser.js" at file:C:/Users/Dusten/Desktop /BC-DEV/assets/jspm_packages/npm/babel-core@5.6.15/browser.js.js
Error loading "npm:babel-core@5.6.15/browser.js" from "npm:babel-core@5.6.15" at file:C:/Users/Dusten/Desktop/BC-DEV/assets/jspm_packages/npm/babel-core@5.6.15. js
ENOENT, open 'C:\Users\Dusten\Desktop\BC-DEV\assets\jspm_packages\npm\babel-core @5.6.15\browser.js.js' at Error (native)
回答1:
I have faced this error but i managed to avoid this error by editing config.js file. you need to replace this path
" *":" *.js" to " *":"dist/ *.js"Also pleae make sure there is no space. I am facing another issue at local no js is running. if anyone can help
来源:https://stackoverflow.com/questions/40059706/bigcommerce-stencil-init-error-loading