Ionic Pro: Build failed :Error: Node Sass does not yet support your current environment:

Hello there,
When upload my application, I give an error below:

/usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass/lib/binding.js:13
_ throw new Error(errors.unsupportedEnvironment());_
_ ^_

Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (57)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.5.0
_ at module.exports (/usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass/lib/binding.js:13:13)_
_ at Object. (/usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass/lib/index.js:14:35)_
_ at Module.compile (module.js:569:30)
_ at Object.Module.extensions…js (module.js:580:10)
_ at Module.load (module.js:503:32)_
_ at tryModuleLoad (module.js:466:12)_
_ at Function.Module.load (module.js:458:3)
_ at Module.require (module.js:513:17)_
_ at require (internal/module.js:11:18)_
_ at Object. (/usr/src/app/node_modules/@ionic/app-scripts/dist/core/bundle-components.js:6:16)_
npm info lifecycle maestro3@1.0.0~build: Failed to exec build script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! maestro3@1.0.0 build: ionic-app-scripts build
npm ERR! Exit status 1
_npm ERR! _
npm ERR! Failed at the maestro3@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
_npm ERR! /home/gitlab-runner/.npm/logs/2017-10-10T07_50_04_065Z-debug.log
npm run build failed
Ionic 1 app detected so assuming everthing is ok.
Uploading build…
Uploaded build successfully.
Running after script…
$ clean-up
Cleaning up files…
Successful clean up
Job succeeded

I used node-sass V4.5.0 and node-sass(4.5.3) (latest version) but error did not change
Please support me

regards

What does that mean?

Post your ionic info output please.

Thnk you for your response:

details are below

cli packages: (C:\Users\Umut Aktaş\development\ionic\biyone-master\biyone\node_modules)

@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1

local packages:

@ionic/app-scripts : 1.3.7
Cordova Platforms  : android 6.2.3 ios 4.4.0
Ionic Framework    : ionic-angular 3.4.2

System:

Node : v6.11.4
npm  : 3.10.10
OS   : Windows 10

Misc:

backend : pro

Super old, update.

Please also describe what you mean by

I want said "when i had push my ionic applicaiton with git " :slight_smile:

how can i update “@ionic/app-scripts : 1.3.7”?

i’m using “npm install -g ionic@latest” command for update.
is that not enough?

Hi again,
I could update ionic/app-scripts. ionic info is below
cli packages: (C:\Users\Umut Aktaş\development\ionic\biyone-master\biyone\node_modules)

@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1

local packages:

@ionic/app-scripts : 3.0.0
Cordova Platforms  : android 6.2.3 ios 4.4.0
Ionic Framework    : ionic-angular 3.4.2

System:

Node : v6.11.4
npm  : 3.10.10
OS   : Windows 10

Misc:

backend : pro

but compile take same error. This compile log:

Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on Prod Snapshot Builds 1 (c9648220)
Using Shell executor…
Running on ip-10-2-50-5…
Cloning repository…
Cloning into ‘/home/gitlab-runner/builds/c9648220/2/project-1’…
Checking out ad4ca87f as master…
Skipping Git submodules setup
$ fetch-updates
Checking for build process updates…
$ build-app
Fetching build dependencies…
Detected www/ directory commited to version control. Assuming Ionic 1 app.
Running: npm install
up to date in 3.777s
npm install succeeded
Running: npm run build
npm info it worked if it ends with ok
npm info using npm@5.3.0
npm info using node@v8.2.1
npm info lifecycle maestro3@1.0.0~prebuild: maestro3@1.0.0
npm info lifecycle maestro3@1.0.0~build: maestro3@1.0.0

maestro3@1.0.0 build /usr/src/app
ionic-app-scripts build

/usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass/lib/binding.js:13
** throw new Error(errors.unsupportedEnvironment());**
** ^**

Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (57)
For more information on which environments are supported please see:
Release v4.5.0 · sass/node-sass · GitHub
at module.exports (/usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass/lib/binding.js:13:13)
at Object. (/usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:569:30)
at Object.Module._extensions…js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/usr/src/app/node_modules/@ionic/app-scripts/dist/core/bundle-components.js:6:16)
npm info lifecycle maestro3@1.0.0~build: Failed to exec build script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! maestro3@1.0.0 build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the maestro3@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitlab-runner/.npm/_logs/2017-10-10T11_25_48_573Z-debug.log
npm run build failed
Ionic 1 app detected so assuming everthing is ok.
Uploading build…
Uploaded build successfully.
Running after script…
$ clean-up
Cleaning up files…
Successful clean up
Job succeeded

remove android and ios platform from your app then try to upload

Ok, then this is an Ionic Pro thing:

Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these:

You can - and should - contact support at Support

Please edit your post, it is not very readable at the moment.
Use the </> button above the input field to format your code, command line output or error message (select the text first, then click the button or wrap it in ``` manually). Check the preview if it looks better. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.