-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
it seems to be not possible to create a new project with the current schematics version #299
Comments
Hello @NathanWalker, as I don't know of which priority this bug currently is for you, I am wondering, if you somewhere might have a demo project available which has a running configuration of an schematics NS7 and Angular 10 project with working SCSS support (without shared webapp), like the one I tried to generate with the above mentioned command? I am still trying to migrate my project without success. I hope a reference project will help me to figure out what is missing. If you could share a link to such a project that would be great and would probably also help others who stumble in the same situation. Thanks a lot! Best regards, |
@cjohn001 thanks for ping - I'm circling back here on Tuesday to see if can assist. I'll be honest I don't use these schematics myself (we use https://github.com/nstudio/xplat which accomplishes same thing with more scalability in mind) and I have been shakey on how much we want to continue supporting these. They require a lot of build hand holding that other approaches don't and most likely is the reason for your troubles. But I know people have invested in these schematics and don't want to leave them hanging; like yourself. So will see what can be done. Just want to be totally transparent and honest here 👍 |
Hello @NathanWalker, when trying to rebuild a minimum example for our discussion, I realized that I actually have not used schematics either to generate my project. It was only build with tns create -> Angular and than I added node-sass. I will come back on you when I managed to prepare a reference example showing the same sass errors. |
Hello @NathanWalker , I have now got a basic project structure working and will now be going to add sources from my project till things brake. Could be that it takes a while till I come back on you. Seems like I have something from which I can start of now :) Thanks for your help. |
@cjohn001 thanks for update - If you run into trouble ping me on Slack and we can try to hop on Zoom together to gain more clarity. |
@NathanWalker, thank you very much for the offer, I will use this chance in case I cannot resolve it. |
Environment
Provide the content of the
package.json
file in the project:Describe the bug
As I am trying to migrate a schematics project to NS7 I tried to generate a new NS7 project with the current schematics. The new project unfortunately does not build after creation. I would expect that a empty default project runs out of the box when generated
To Reproduce
ng new --collection=@nativescript/schematics testapp --prefix ns --style scss
Expected behavior
creates a new project which can be run with ns run ios --emulator --no-hmr --env.aot
Additional context
in tsconfig.json "baseUrl": ".", is missing. When I add it I end up with the next compilation error
cp: no such file or directory: PATH_TO_APP/testapp/App_Resources/iOS/*
The text was updated successfully, but these errors were encountered: