Termux node -v
v12.13.0
npm -v
6.14.4
I’m trying to set up a Phaser 3 development environment in Termux with Node.js, npm and the Phaser 3 Template (ES6) but after installing the template ‘npm start’ returned ‘no start script’.
When I installed the template I got a warning about no repository field and a notice about the availability of an npm patch (6.14.5).
node_modules cd phaser3
ls
node_modules package.json
package-lock.json npm run
Lifecycle scripts included in phaser3:
test
echo "Error: no test specified" && exit 1
I cloned the GitHub phaser3-template-project to my_project directory but when I did npm install from within the template directory I got a big list of files that could not be found:
npm WARN tar ENOENT: no such file or directory, open ‘/data/data/com.termux/files/home/my_project/phaser3-project-template/node_modules/.staging/lodash-56c654b5/fp/wrapperLodash.js’ npm WARN tar ENOENT: no such file or directory, open ‘/data/data/com.termux/files/home/my_project/phaser3-project-template/node_modules/.staging/lodash-c2adcc47/fp/wrapperLodash.js’ npm WARN tar ENOENT: no such file or directory, open ‘/data/data/com.termux/files/home/my_project/phaser3-project-template/node_modules/.staging/lodash-84bfd61a/fp/wrapperAt.js’ npm WARN tar ENOENT: no such file or directory, open ‘/data/data/com.termux/files/home/my_project/phaser3-project-template/node_modules/.staging/lodash-7f255b9b/fp/wrap.js’ npm WARN tar ENOENT: no such file or directory, open ‘/data/data/com.termux/files/home/my_project/phaser3-project-template/node_modules/.staging/lodash-970bbe6c/fp/wrapperChain.js’
Etc…
The node modules file is empty.
my_project phaser3 storage cd my_project
ls
phaser3-project-template cd phaser3-project-template ls
LICENSE node_modules src README.md package-lock.json webpack index.html package.json $