ANS-0274 · OTHER

How to Resolve Gulp Compilation Errors After Mont Blanc Installation?

A common issue preventing local compilation of Mont Blanc after initial setup is resolved by adding a specific SASS dependency to the Package.json file.

Short answer

To fix Mont Blanc compilation errors related to SASS after a new installation, add the line "node-sass": "3.4.1" to the Package.json file. This dependency ensures the SASS folder compiles correctly, allowing local development to proceed without crashes.

Scenario

After an initial installation of Mont Blanc, users may encounter compilation failures when attempting to compile the project locally. These errors consistently point to issues within the SASS folder. The root cause is typically a missing dependency declaration in the Package.json file located in the project's root directory.

Solution

To resolve the compilation issue, the following line must be added to the Package.json file:

json
"node-sass": "3.4.1"

This line should be inserted after the existing "ns-uploader": "file:./ns_npm_repository/ns-uploader", entry within the Package.json file.

Expert NetSuite Support

Need help with this NetSuite issue?

Other consulting and configuration support

Talk to a consultant