Git Product home page Git Product logo

Comments (9)

YorkAARGH avatar YorkAARGH commented on May 24, 2024

@eslachance do you know how to fix this?

from guidebot.

eslachance avatar eslachance commented on May 24, 2024

Would have to follow the install instructions from here: https://enmap.evie.codes/install#pre-requisites

There have been many issues with node-gyp, but unfortunately there's not much we can do beyond "here's the right instrutions".

from guidebot.

Ased2235 avatar Ased2235 commented on May 24, 2024

@eslachance When i do npm i better-sqlite-pool this error came.

`> Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>npm i better-sqlite-pool

[email protected]` install C:\Windows\system32\node_modules\integer
node-gyp rebuild

C:\Windows\system32\node_modules\integer>if not defined npm_config_node_gyp (nod
e "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-
bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Prog
ram Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild
)
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\MJYOUSAF.windows-build-tools\pyt
hon27\python.exe -c import platform; print(platform.python_version());
gyp ERR! stack File "E:\Program Files\Python36-32\Lib\site.py", line 177
gyp ERR! stack file=sys.stderr)
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:275:12)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:346:11)

gyp ERR! stack at emitOne (events.js:116:13)
gyp ERR! stack at Socket.emit (events.js:211:7)
gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:557:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodej
s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Windows\system32\node_modules\integer
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Windows\system32\pac
kage.json'
npm WARN system32 No description
npm WARN system32 No repository field.
npm WARN system32 No README data
npm WARN system32 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\MJYOUSAF\AppData\Roaming\npm-cache_logs\2018-09-05T21_41_
33_452Z-debug.log

C:\Windows\system32>`

from guidebot.

eslachance avatar eslachance commented on May 24, 2024

Ok but what happens when you actually follow https://enmap.evie.codes/install#pre-requisites correctly, step by step, from top to bottom?

from guidebot.

Ased2235 avatar Ased2235 commented on May 24, 2024

When i do npm i enmap@latest
this error came up
C:\Users\I.N.A\Desktop\Mybot\guidebot>npm i enmap@latest

[email protected] install C:\Mybot\guidebot\node_modules\integ
er
node-gyp rebuild

C:\Mybot\guidebot\node_modules\integer>if not defined npm_co
nfig_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-l
ifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) e
lse (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\no
de-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Program Files\Python37\python.EXE -c im
port platform; print(platform.python_version());
gyp ERR! stack Traceback (most recent call last):
gyp ERR! stack File "", line 1, in
gyp ERR! stack File "E:\Program Files\Python36-32\Lib\platform.py", line 116,
in
gyp ERR! stack import sys, os, re, subprocess
gyp ERR! stack File "E:\Program Files\Python36-32\Lib\re.py", line 123, in
gyp ERR! stack import sre_compile
gyp ERR! stack File "E:\Program Files\Python36-32\Lib\sre_compile.py", line 17
, in
gyp ERR! stack assert _sre.MAGIC == MAGIC, "SRE module mismatch"
gyp ERR! stack AssertionError: SRE module mismatch
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:275:12)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:346:11)

gyp ERR! stack at emitOne (events.js:116:13)
gyp ERR! stack at Socket.emit (events.js:211:7)
gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:557:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodej
s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\I.N.A\Desktop\Mybot\guidebot\node_modules\integer
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

?─────────────────────────────────────?
│ │
│ Update available 5.6.0 → 6.4.1 │
│ Run npm i npm to update │
│ │
?─────────────────────────────────────?

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\I.N.A\AppData\Roaming\npm-cache_logs\2018-09-06T12_32_13_
293Z-debug.log

C:\Mybot\guidebot>

from guidebot.

eslachance avatar eslachance commented on May 24, 2024

You will keep getting the same problem until you follow the installation instructions I linked to.
image

from guidebot.

Ased2235 avatar Ased2235 commented on May 24, 2024

i installed that commend, i'm getting error afterword

from guidebot.

Jacquwes avatar Jacquwes commented on May 24, 2024

Same, I tried everything that I found letter by letter. Can you send a compressed file of all the node_modules please ?

from guidebot.

eslachance avatar eslachance commented on May 24, 2024

@JacqueSatan not possible. Modules require to be built on the operating system they will be run on.

from guidebot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.