1 Answer
1

This is likely due to a breaking change in one of the Vue sample's dependencies.

If you don't have yarn installed, the jss create command will use npm install when installing the sample (and dependencies). Unfortunately, using npm install does not respect the yarn.lock file in the Vue sample. Therefore, the dependencies for the Vue sample aren't guaranteed to be the correct version because npm will follow the version ranges from package.json.

This is already fixed for the JSS GA release, where we've switched all the samples to use npm instead of yarn.

Specifically on this error, setting the babel devDependency in your package.json to "@babel/register": "7.0.0-beta.47", should resolve this (after another npm install). You may also need to remove the ^ in front of other vue dependencies to specify the version is fixed there too.
– Kam FigyOct 15 '18 at 17:12

Switching to yarn fixed the issue. I was unable to resolve making the changes to the package.json as suggested above. Thanks anyway! This gives us enough to begin PoCing.
– Matt PeelOct 16 '18 at 13:37