New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.3 - Can not build new project due to missing App_Resources #763
Comments
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Hi, this should be npm cache issue, please run: |
Working. Running
will create a project with the Ouch, this could be kinda hard to figure out, even for the seasoned developer. Hmm, is it possible to do a clean (or at least a check if clean is needed) as a part of the postinstall of nativescript? |
Yes, we will try to provide fix in next release of {N}. |
This comment was marked as abuse.
This comment was marked as abuse.
Hi @NathanaelA , |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Hi @NathanaelA , Please excuse me for the late reply, somehow I've missed this messages. Once again, please excuse me for the late reply and for the caused inconvenience. |
NPM Cache gets broken in some cases. Make sure to validate the sahsum of the cached package. Also validate specific directories in our `tns` related packages from npm, for example tns runtimes must have "framework" directory in the root of the unpacked dir. Fixes NativeScript/NativeScript#763
NPM Cache gets broken in some cases. Make sure to validate the sahsum of the cached package. Also validate specific directories in our `tns` related packages from npm, for example tns runtimes must have "framework" directory in the root of the unpacked dir. Fixes NativeScript/NativeScript#763
Ok, I've added the fix for this issue in CLI's master branch. Hopefully we'll not face this problem anymore. Feel free to contact us in case you have any problems or concerns. |
@msangapu, Could you please open a new issue following the issue template and providing the information required? Locking conversation here. |
Feel free to move this to the correct repo if needed.
As of 1.3, when creating a new project, it is unbuildable on Android due to missing App_Resources-folder.
When creating a new project:
This fails with:
Reason for this is because there is no
App_Resources
folder (and it's content) in theapp
folder. When copying anApp_Resources
folder from another project, the build works.I'd say this is quite major as new users can not create their first project.
(The project is buildable on iOS as iOS do not need an app icon).
The text was updated successfully, but these errors were encountered: