You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior
Clone a new repository. After npm i run npm run build.ios. This will create bundle.js file in the ./nativescript/platforms/ios/nativescript/app/ folder but removes all the files after.
Expected behavior
The bundle files should be generated and be able to run on IOS simulater and original device.
Minimal reproduction of the problem with instructions
As defined in the Current behavior section
What is the motivation / use case for changing the behavior?
To make the app more optimized.
Please tell us about your environment: node v8.9.4 npm v5.6.0 Mac OS Sierra Version 10.12.6
The problem is caused by nativescript-dev-sass. If you go to the ./nativescript/node_modules/nativescript-dev-sass/lib/converter.js file. And comment out the line saying
var sass = spawn(process.execPath, nodeArgs, { env: env });
The build process will throw an error but you will be able to see the bundle files are generated. But after running this command they are deleted.
The text was updated successfully, but these errors were encountered:
I'm submitting a
bug Report
Current behavior
Clone a new repository. After
npm i
runnpm run build.ios
. This will create bundle.js file in the./nativescript/platforms/ios/nativescript/app/
folder but removes all the files after.Expected behavior
The bundle files should be generated and be able to run on IOS simulater and original device.
Minimal reproduction of the problem with instructions
As defined in the Current behavior section
What is the motivation / use case for changing the behavior?
To make the app more optimized.
Please tell us about your environment:
node v8.9.4
npm v5.6.0
Mac OS Sierra Version 10.12.6
nativescript/Package.json
Debugging so far.
The problem is caused by
nativescript-dev-sass
. If you go to the./nativescript/node_modules/nativescript-dev-sass/lib/converter.js
file. And comment out the line sayingvar sass = spawn(process.execPath, nodeArgs, { env: env });
The build process will throw an error but you will be able to see the bundle files are generated. But after running this command they are deleted.
The text was updated successfully, but these errors were encountered: