I need to rebuild a old ionic 3 app but during compile I receive some errors:
In order to complete install, I have ignored script
npm install --ignore-scripts
gyp verb `which` succeeded python C:\Python39\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "<string>", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:308:12)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at maybeClose (internal/child_process.js:1048:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "C:\\tools\\nodejs\\node.exe" "C:\\projects\\mgdlab\\ionic\\cartograph-app\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\projects\mgdlab\ionic\cartograph-app\node_modules\node-sass
gyp ERR! node -v v14.16.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
ionic serve
> ionic-app-scripts.cmd serve --address localhost --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser
[app-scripts] C:\projects\mgdlab\ionic\cartograph-app\node_modules\node-sass\lib\binding.js:13
[app-scripts] throw new Error(errors.unsupportedEnvironment());
[app-scripts] ^
[app-scripts] Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (83)
[app-scripts] For more information on which environments are supported please see:
[app-scripts] https://github.com/sass/node-sass/releases/tag/v4.13.1
[app-scripts] at module.exports (C:\projects\mgdlab\ionic\cartograph-app\node_modules\node-sass\lib\binding.js:13:13)
[app-scripts] at Object.<anonymous> (C:\projects\mgdlab\ionic\cartograph-app\node_modules\node-sass\lib\index.js:14:35)
[app-scripts] at Module._compile (internal/modules/cjs/loader.js:1063:30)
[app-scripts] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
[app-scripts] at Module.load (internal/modules/cjs/loader.js:928:32)
[app-scripts] at Function.Module._load (internal/modules/cjs/loader.js:769:14)
[app-scripts] at Module.require (internal/modules/cjs/loader.js:952:19)
[app-scripts] at require (internal/modules/cjs/helpers.js:88:18)
[app-scripts] at Object.<anonymous> (C:\projects\mgdlab\ionic\cartograph-app\node_modules\@ionic\app-scripts\dist\core\bundle-components.js:6:16)
[app-scripts] at Module._compile (internal/modules/cjs/loader.js:1063:30)
Probably there are not compatible release (python or others)
1 post - 1 participant