Comments (9)
@eslachance do you know how to fix this?
from guidebot.
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.
@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.
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.
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.
You will keep getting the same problem until you follow the installation instructions I linked to.
from guidebot.
i installed that commend, i'm getting error afterword
from guidebot.
Same, I tried everything that I found letter by letter. Can you send a compressed file of all the node_modules please ?
from guidebot.
@JacqueSatan not possible. Modules require to be built on the operating system they will be run on.
from guidebot.
Related Issues (20)
- cannot change prefix and bot doesnt work at all could be related to prefix.
- Upgrade to d.js v12. HOT 2
- error when trying to start HOT 4
- How to create new settings? HOT 1
- Error: [2021-01-04 09:24:50]: ERROR Uncaught Exception: Error: Cannot find module 'better-sqlite3'
- invalid or corrupt file : cannot read at 0x404BDD HOT 1
- Error in setup.js HOT 7
- Client.loadCommand is not a function. HOT 1
- DM is not working HOT 2
- clean function only censors the client token once
- This is not a issue. More of a question of understanding. HOT 5
- Suggestion HOT 3
- is there a way to create a new role and permission? HOT 2
- modules/Logger.js rename
- Node 16.x or higher is required. Update Node on your system. HOT 9
- I finally ran the bot but it said token invalid, anyone know why? HOT 22
- Not registering slash commands HOT 1
- Not registering Slash Commands HOT 1
- .env isnt available anymore HOT 1
- 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guidebot.