Vue project, build OK in Linux environment and report errors in Windows environment

  node.js, question

Vue project was created through vue-cli and npm run dev is Ok in both environments, but npm run build will report an error on Windows.

See code

ERROR in ./~/babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=
Module not found: Error: a dependency to an entry point is not allowed
 @ ./~/babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!
shboard.vue 15:12-33


 <div id="page-wrapper" :class="{open: toggle}" v-cloak>
 <rd-sidebar :toggle.sync="toggle"
 :sites="sidebar.sites" >
 <div id="content-wrapper">
 <div class="page-content">
 <!  -- Header Bar -->
 <!  -- Main Content -->
 import RdSidebar from 'components/RdSidebar.vue'
 import RdHeader from 'components/RdHeader.vue'
 import {sidebar} from '../main.js'
 export default {
 components: {
 RdSidebar, RdHeader
 data () {
 return {
 toggle: true,
 sidebar: {
 title: 'M-CT-SERVER',
 menus: sidebar.menus,
 sites: sidebar.sites

Have you ever encountered this kind of problem? How?

Do you use binary modules, such as node-sass, which are most commonly used? if you do, and Visual studio is not installed locally, there will be compilation problems.
The node 4.2.6 plus vs2013 binary package I used was compiled and passed