You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have an error of npm version mismatch while building wasm example.
"ERROR: npm v10.4.0 is known not to run on Node.js v14.21.3. This version of npm supports the following node versions: ^18.17.0 || >=20.5.0. You can find the latest version at https://nodejs.org/."
docker run --rm -it -p 8000:8000 -v $(pwd):/app pdfium_wasm bash
python3 -m pip install -r requirements.txt
python3 make.py build-depot-tools
export PATH=$PATH:$PWD/build/depot-tools
python3 make.py build-emsdk
source "/app/build/emsdk/emsdk_env.sh"
python3 make.py build-pdfium-wasm
python3 make.py patch-wasm
./build/wasm32/pdfium/build/install-build-deps.sh
python3 make.py build-wasm
python3 make.py install-wasm
python3 make.py test-wasm
python3 make.py generate-wasm
"ERROR: npm v10.4.0 is known not to run on Node.js v14.21.3. This version of npm supports the following node versions: ^18.17.0 || >=20.5.0. You can find the latest version at https://nodejs.org/." happens here
Describe the bug
I have an error of npm version mismatch while building wasm example.
"ERROR: npm v10.4.0 is known not to run on Node.js v14.21.3. This version of npm supports the following node versions:
^18.17.0 || >=20.5.0
. You can find the latest version at https://nodejs.org/."To Reproduce
I'm going through https://github.com/paulocoutinhox/pdfium-lib/blob/master/docs/BUILD_WASM.md
with your Dockerfile https://github.com/paulocoutinhox/pdfium-lib/blob/master/docker/wasm/Dockerfile
Steps to reproduce the behavior:
"ERROR: npm v10.4.0 is known not to run on Node.js v14.21.3. This version of npm supports the following node versions:
^18.17.0 || >=20.5.0
. You can find the latest version at https://nodejs.org/." happens hereScreenshots
Additional context
If this row https://github.com/paulocoutinhox/pdfium-lib/blob/master/docker/wasm/Dockerfile#L93 is commented - all works great
The text was updated successfully, but these errors were encountered: