TeamMaestro / angular-native-seed

Build web apps and NativeScript applications from one codebase using the AngularCLI.
265 stars 71 forks source link

Clean install errors #13

Closed Dutchboy closed 7 years ago

Dutchboy commented 7 years ago

Hi!! I just did a

git clone
cd angular-native-seed
npm i
cd nativescript
npm i

And on the last npm i it errored at nativescript-dev-webpack post install. I'm seeing that the whole subdir undernpm_modules doesn't exist. I also see not-so-up-to-date versions in the package.json, maybe thats the cause?

I did it on both a Windows10 and a macOS (Sierra) machine, same results.

donburgess commented 7 years ago

Thanks, I found the issue was that the script is trying to create a file in the nonexistent app directory during install. If you create an empty app folder in your nativescript folder your install will be successful. I'll update master to include this folder.

sean-perkins commented 7 years ago

@db3dev Also note the symlink script has a flaw on Windows that's addressed in #12. The script references an invalid file name when it was copied from Nathan's seed.

donburgess commented 7 years ago

15 solves the clean install issue where nativescript-dev-webpack was not able to successfully install.