I'm trying to create a disconnected JSS vue app using the quick start guide, by running the following commands:
npm install -g @sitecore-jss/sitecore-jss-cli
jss create jss-app-vue vue
cd jss-app-vue
jss start
When I run the jss start
command I get the following error:
Watching for changes to component factory sources in src/components...
INFO Starting development server...
Enabling Babel 7 transpilation for the manifest...
ReferenceError: Unknown option: .caller. Check out
http://babeljs.io/docs/usage/options/ for more information about options.
at buildUnknownError (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\validation\options.js:113:11)
at Object.keys.forEach.key (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\validation\options.js:99:57)
at Array.forEach (<anonymous>)
at validate (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\validation\options.js:69:21)
at loadPrivatePartialConfig (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\partial.js:38:50)
at loadFullConfig (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\full.js:43:39)
at loadOptions (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\index.js:28:36)
at OptionManager.init (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\index.js:34:12)
at compile (E:\Projects\jss-app-vue\node_modules\@babel\register\lib\node.js:61:42)
at compileHook (E:\Projects\jss-app-vue\node_modules\@babel\register\lib\node.js:102:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:proxy: `node scripts/disconnected-mode-proxy.js` npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start:proxy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
It appears there's an issue running the start:proxy
command.
NOTE: This only appears to affect the vue template. The issue doesn't occur if I create an app using the react template.
Are there any additional steps required to setup an app with the vue template?
For info I'm running node v8.11.3 and npm v5.6.0.
Thanks!