I try to used node-adodb but it didnt work. It works on Windows, but not on MacOS, Linux. Please help.
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for node-adodb#5.0.3: wanted
{"os":"win32"} (current: {"os":"darwin","arch":"arm64"})
npm ERR! notsup Valid OS: win32
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: darwin
npm ERR! notsup Actual Arch: arm64
Related
There is an error when I tried to upgrade my installed pcf-scripts by invoking npm i pcf-scripts#1.7.2. My current pcf-scripts version is 1.5.5. The error is
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents#2.3.2: wanted {"os":"darwin"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
My aim is to update Node.js to the latest.
I followed the instructions on this page.
I got the error when executing npm install -g n:
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for n#6.7.0: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: !win32
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
I don't know what that means.
You can still install newest/needed version of Node.js on Windows by downloading it from: https://nodejs.org/en/download/
Ordinary Err from fsevents when trying to install VueJs project.
I'm using windows 10 as a development platform
I have tried several alternatives without success.
npm install --no-optional (Does not work)
npm install -f (Does not work)
In this case, it would not be just a warning message. An error is issued and it does not finish compiling the complete code and the server "npm run serves" does not up
Could anyone help?.
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents#2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","a
rch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
Add the following to package.json:
"optionalDependencies": {
"fsevents": "1.2.12"
},
Trying to "npm install socket.io" on a Ubuntu EC2 instance and getting this error. Does this mean I cannot use Ubuntu? Or is there a way to fix this?
$ npm install socket.io
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents#1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2018-03-15T00_57_15_115Z-debug.log
$ node --version
v8.9.4
$ npm --version
5.7.1
Here is the debug log it referred to:
https://gist.github.com/lampshade9909/57c631be80a75c1675c315de05e51747
It seems that I may need to install an older version of node. I'm trying 6.10 and it installed.
I am on Ubuntu and get that error all the time. I believe fsevents#1.1.3 is for OS x . Linux system ignores fsevents whereas mac will install it.
I'm trying to update my node using following command
npm cache clean -f
npm install -g n
n stable
while running second command it gives following error
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "n"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: n#2.0.2
npm ERR! notsup Valid OS: !win32
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
As per the documentation of module n:
Note: Does not work on Windows at the moment. Pull Requests are appreciated.
So, they do not support windows OS as of now. And the same issue is reported by the module also when you are trying to install on your machine. Please refer to your error-stack-trace. I am outlining the relevant error-stack-trace as below for your reference:
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: n#2.0.2
npm ERR! notsup Valid OS: !win32
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
Please install the latest node executables for windows from here. And this should help you upgrade node on your system.