webpack-simple
webpack-simple copied to clipboard
Can't create new project on MacOS 10.13.2 (High Sierra)
Hi, I can't create an empty project using MacOS 10.13.2.
Following this commands:
npm install -g vue-cli \n vue init webpack-simple my-project cd my-project npm install npm run dev
Give the following error:
ERROR in ./node_modules/css-loader?sourceMap!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7ba5bd90","scoped":false,"hasInlineConfig":false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue Error loading PostCSS config: Loading PostCSS Plugin failed: Cannot find module 'postcss-import' @ ./node_modules/vue-style-loader!./node_modules/css-loader?sourceMap!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7ba5bd90","scoped":false,"hasInlineConfig":false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue 4:14-285 13:3-17:5 14:22-293 @ ./src/App.vue @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
I had similar problem, but on Windows. "npm run dev" fails if folder's path contains symbol "!". Try to move the project to another folder.