nstudio / xplat

Cross-platform (xplat) tools for Nx workspaces.
MIT License
366 stars 52 forks source link

Buildung Nativescript failed #268

Closed ReneMueller4P closed 3 years ago

ReneMueller4P commented 3 years ago

I always have the problem that when compiling nativescript apps it also goes into the folders of web projects. For example:

ERROR in ../../libs/xplat/web/features/src/lib/ui/components/radiobutton/radioButton.component.scss Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: Can't find stylesheet to import. ╷ 1 │ @import "_index"; │ ^^^^^^^^ ╵ ..\..\libs\xplat\web\features\src\lib\ui\components\radiobutton\radioButton.component.scss 1:9 root stylesheet

index is configured for the webproject in the workspace with the angular "stylePreprocessorOptions"

And i have this: WARNING in ./node_modules/@nativescript/core/profiling/index.js 126:22-47 Module not found: Error: Can't resolve '~/package.json' in 'C:\Entwicklung\frontend\apps\nativescript-dashboard\node_modules\@nativescript\core\profiling'

Do you have any idea what this is ?