-
-
Notifications
You must be signed in to change notification settings - Fork 441
Description
For starters my environment is windows 11 and I am presently using PHP 8.2.12 with XAMPP.
The following is output from the command php -m:
C:\Windows\System32>php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
random
readline
Reflection
session
SimpleXML
SPL
standard
tidy
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
Currently, using npm run build does not give me error messages that are useful. Here is the message that I get when I run it:
$ npm run build
> [email protected] build
> cd build; ./make.sh build
The system cannot find the path specified.
I will refer to the ./make.sh build command in the build/ directory which gives me relevant errors.
Running this command produces the following error:
$ ./make.sh build
DataTables build () - branch: master
Error: php's xml module is not installed and is required to build the examples.
Install with 'sudo apt install php-xml' or similar for your platform
XML is already loaded as a module. I understand that XML comes with PHP by default and is no longer required to be an extension. See: https://www.php.net/manual/en/xml.installation.php
If I comment out the check for the XML extension (code) I get the following error:
$ ./make.sh build
DataTables build () - branch: master
Error: php's mbstring module is not installed and is required to build the examples.
Install with 'sudo apt install php-mbstring' or similar for your platform
This module was listed in the output for php -m.
If I additionally comment out the check for the mbstring extension (code) I get the following:
$ ./make.sh build
DataTables build () - branch: master
Error: php's curl module is not installed and is required to build the examples.
Install with 'sudo apt install php-curl' or similar for your platform
Curl was also listed as one of the loaded modules.
If I additionally comment out the check for the curl module (code), I will get the following warning:
$ ./make.sh build
DataTables build () - branch: master
Warning: php's tidy module is not installed and is used to clean up build the examples.
Install with 'sudo apt install php-tidy' or similar for your platform
Warning: Neither Chrome nor Chromium is installed, and is used for the unit tests.
Install with 'sudo apt install chromium-browser' or similar for your platform
However, the build script will run and produce the output files. A bunch of SASS warnings will show up too, but that doesn't break the output script. Also a number of these warnings too:
Path - Empty to (E:/Projects/Forks/DataTablesSrc/build/../built/examples/server_side/pipeline.html)