seanmorris / php-wasm

PHP in Browser, powered by WebAssembly.
https://seanmorris.github.io/php-wasm/
Apache License 2.0
606 stars 32 forks source link

error: Processing of app/initialize.js failed. Error: Could not load module 'php-wasm/PhpWebDrupal' #11

Closed kenorb closed 2 years ago

kenorb commented 2 years ago
docs-source$ npm install
...
docs-source$ sudo npm install -g brunch
docs-source$ brunch build
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
23:46:34 - error: Processing of app/initialize.js failed. Error: Could not load module 'php-wasm/PhpWebDrupal' from 'docs-source/app'. Possible solution: add 'php-wasm' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=1` to see the trace. 
23:46:34 - info: compiled 5 files into 3 files, copied 30 in 3.2 sec

There is no PhpWebDrupal.js file in node_modules/php-wasm/ (0.0.4-b).

seanmorris commented 2 years ago

The npm module now includes the drupal preload data.