webpack-simple icon indicating copy to clipboard operation
webpack-simple copied to clipboard

Can't create new project on MacOS 10.13.2 (High Sierra)

Open elalienx opened this issue 7 years ago • 1 comments

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 screen shot 2018-02-02 at 10 20 39

elalienx avatar Feb 02 '18 15:02 elalienx

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.

northis avatar Feb 28 '18 15:02 northis