tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.12k stars 527 forks source link

Error SSL #2754

Open AlysonTrizotto opened 2 years ago

AlysonTrizotto commented 2 years ago

Hello, I'm trying to use TileMill on Windows 10, however, it returns the following error Capturar

This error appears whenever you open the program. And not with that, he doesn't look for my projects...

Algúem sabe com solucionar??

csytsma commented 2 years ago

Alyson - which version of TileMill are you running? The older executable v0.10.x or the new node install version v1.x?

That seems like an older error from the executable version, which is no longer supported. I'd suggest trying the newer node version.

On Mar 31, 2022, at 6:25 AM, Alyson Trizotto @.***> wrote:

Hello, I'm trying to use TileMill on Windows 10, however, it returns the following error https://user-images.githubusercontent.com/79091765/161065181-a648c27f-43ed-4a80-a6c5-fc8170394150.PNG Algúem sabe com solucionar??

— Reply to this email directly, view it on GitHub https://github.com/tilemill-project/tilemill/issues/2754, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA7ORBDDV7GIQTSPTP4E6LVCWRT3ANCNFSM5SFMCEKA. You are receiving this because you are subscribed to this thread.

AlysonTrizotto commented 2 years ago

So, when I try to install via git, the version of tilemill v1.x I have this return...

`C:\tilemill>npm install npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'tilemill@1.1.0', npm WARN EBADENGINE required: { node: '0.8.x || 0.10.x || 4.x || 8.x' }, npm WARN EBADENGINE current: { node: 'v16.14.2', npm: '8.5.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'bones@1.3.30', npm WARN EBADENGINE required: { node: '0.4 || 0.6 || 0.8 || 0.10' }, npm WARN EBADENGINE current: { node: 'v16.14.2', npm: '8.5.0' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'tilelive@5.14.0', npm WARN EBADENGINE required: { node: '>= 0.6.0 < 0.11.0' }, npm WARN EBADENGINE current: { node: 'v16.14.2', npm: '8.5.0' } npm WARN EBADENGINE } npm WARN deprecated flat@4.1.0: Fixed a prototype pollution security issue in 4.1.0, please upgrade to ^4.1.1 or ^5.0.1. npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated express@2.5.11: express 2.x series is deprecated npm WARN deprecated node-pre-gyp@0.10.3: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'C:\tilemill\node_modules\mapnik', npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\tilemill\node_modules\mapnik'] { npm WARN cleanup errno: -4082, npm WARN cleanup code: 'EBUSY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'C:\tilemill\node_modules\mapnik' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup 'C:\tilemill\node_modules\mapnik', npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\tilemill\node_modules\mapnik'] { npm WARN cleanup errno: -4082, npm WARN cleanup code: 'EBUSY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'C:\tilemill\node_modules\mapnik' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path C:\tilemill\node_modules\sqlite3 npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build npm ERR! node:internal/modules/cjs/loader:361 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module 'C:\tilemill\node_modules\npmlog\log.js'. Please verify that the package.json has a valid "main" entry npm ERR! at tryPackage (node:internal/modules/cjs/loader:353:19) npm ERR! at Function.Module._findPath (node:internal/modules/cjs/loader:566:18) npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27) npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:778:27) npm ERR! at Module.require (node:internal/modules/cjs/loader:1005:19) npm ERR! at require (node:internal/modules/cjs/helpers:102:18) npm ERR! at Object. (C:\tilemill\node_modules\node-pre-gyp\lib\node-pre-gyp.js:16:11) npm ERR! at Module._compile (node:internal/modules/cjs/loader:1103:14) npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10) npm ERR! at Module.load (node:internal/modules/cjs/loader:981:32) { npm ERR! code: 'MODULE_NOT_FOUND', npm ERR! path: 'C:\tilemill\node_modules\npmlog\package.json', npm ERR! requestPath: 'npmlog' npm ERR! }

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\PESSOAL\AppData\Local\npm-cache_logs\2022-04-01T03_33_32_369Z-debug-0.log

C:\tilemill> `

csytsma commented 2 years ago

@AlysonTrizotto Looks like you're using too new (v16.14.2) of a version of Node. You'll want to use the specified required version:

Node.js: (earlier Node.js versions may work, but are not tested)