Tarrask / sails-generate-new-webpack-vue

Generate a new Sails app suitable for webpack and vue.js 2
http://sailsjs.com/documentation/anatomy
MIT License
5 stars 1 forks source link

Error on app creation #7

Open andyrue opened 6 years ago

andyrue commented 6 years ago

sailsjs@0.12.14 sails-generate-new-webpack-vue@0.2

I followed the readme and setup the generator. After running sails new app-name and answering the wizard questions up to the question about running 'npm install'. Choosing either npm or yarn causes the following error.

fs.js:663

return binding.open(pathModule.toNamespacedPath(path), ^

Error: ENOENT: no such file or directory, open 'frontend/package.json'

This seems strange since I don't think anything should be in a 'frontend' folder. The vue app gets installed to a webpack folder. Thanks for your help.

hunterpickett commented 6 years ago

I'm having the same issue on app creation, regardless of choosing Npm or Yarn it will fail out with

sails 0.12.14

Error: ENOENT: no such file or directory, open 'C:\_code\my-app\frontend\package.json'
rfrancois commented 6 years ago

Same problem here