-
-
Notifications
You must be signed in to change notification settings - Fork 40
Installation error #111
Comments
The problem is that the seed has a different file structure compared to a nativescript project. The first one has a 'src' folder that contains the 'app' folder. Can you tell me a bit more about your project? Do you have a web application that you want to extend to be a mobile one too or you are using the seed to create just a mobile app? |
Hi @sis0k0, thanks for your interest! I have pretty large web application and need to create mobile apps on this base. In this project Angular templates are being loaded using |
"Angular templates are being loaded using require() function" Do you mean something like the following:
? |
Rather:
and using some custom webpack loader. I'll try it out... |
Great! I would have suggested the approach with a custom loader. If you have any problems with that, feel free to comment and we'll reopen the issue. |
Actually although installation worked, I am unable to execute any nativescript commands as they can't find the project... Even setting --path does not help.
|
@sis0k0, I had to manually add nativescript section into my package.json - I think it should be performed by this installer or at least added to readme, or did I just miss it somewhere? For anyone experiencing this issue, just add the following as top-level property to your app
|
Hi, so I tried to install
nativescript-dev-webpack
into myangular2-webpack-starter
-based project and I got the following error:I have tns configured and use OS X Sierra. npm-debug.log
File app/vendor-platform.android.ts hasn't been created at all so then I did it manually, but result was the same. Any solutions or alternatives to integrate nativescript into my project?
The text was updated successfully, but these errors were encountered: