Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build issue: ERROR in Can't find self.__WB_MANIFEST in your SW source #1

Closed
DrYSG opened this issue Feb 19, 2020 · 1 comment
Closed

Comments

@DrYSG
Copy link

DrYSG commented Feb 19, 2020

D:\CRIME\reason-app-shell-starter-kit>npm install

npm WARN deprecated [email protected]: This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained.
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

> [email protected] postinstall D:\CRIME\reason-app-shell-starter-kit\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> [email protected] postinstall D:\CRIME\reason-app-shell-starter-kit\node_modules\ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> [email protected] postinstall D:\CRIME\reason-app-shell-starter-kit\node_modules\bs-platform

> node scripts/install.js

ninja binary is copied from pre-distribution
checkoutput: BuckleScript 7.1.1 ( Using OCaml:4.06.1+BS )
 ocaml version 4.06.1+BS
Prebuilt compiler works good
Cleaning... 0 files.
[315/315] stdlib-406/unixLabels.ml -> stdlib-406/unixLabels.cmj
Build finished
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">= 10.13.0"} (current: {"node":"10.9.0","npm":"6.13.7"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 968 packages from 539 contributors and audited 11071 packages in 185.752s

26 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities


D:\CRIME\reason-app-shell-starter-kit>npm start

> [email protected] start D:\CRIME\reason-app-shell-starter-kit
> npm-run-all --parallel start:*


> [email protected] start:webpack D:\CRIME\reason-app-shell-starter-kit
> webpack-dev-server


> [email protected] start:bsb D:\CRIME\reason-app-shell-starter-kit
> bsb -clean-world -make-world -w

Cleaning... 46 files.
[37/37] ?[34mBuilding?[39m ?[2msrc\ReactDOMRe.cmj?[22m
>>>> Start compiling
[34/34] ?[34mBuilding?[39m ?[2msrc\Index-ReasonCarousel.cmj?[22m
>>>> Finish compiling 722 mseconds
i 「wds」: Project is running at http:https://localhost:8080/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from D:\CRIME\reason-app-shell-starter-kit
× 「wdm」: Hash: 4ff74a3bfa4254510afa
Version: webpack 4.41.6
Time: 1091ms
Built at: 02/19/2020 11:30:24 AM
                                            Asset       Size  Chunks                         Chunk Names
icon_400x400.891778b57a460ec20cd6c717511aeb5d.png   21.8 KiB          [emitted]
                                       index.html   1.04 KiB          [emitted]
                     main.319c78ab3f78a2eeab60.js   1.82 MiB    main  [emitted] [immutable]  main
   manifest.60ba7c5f5cbd169e6bcf4128016b6ed6.json  365 bytes          [emitted]
                                            sw.js   3.88 KiB          [emitted]
Entrypoint main = main.319c78ab3f78a2eeab60.js
[0] multi (webpack)-dev-server/client?http:https://localhost:8080 ./lib/es6/src/Index.bs.js 40 bytes {main} [built]
[./lib/es6/src/App.bs.js] 8.27 KiB {main} [built]
[./lib/es6/src/Index.bs.js] 1.14 KiB {main} [built]
[./lib/es6/src/Router.bs.js] 2.92 KiB {main} [built]
[./node_modules/react/index.js] 190 bytes {main} [built]
[./node_modules/reason-react/lib/es6/src/ReactDOMRe.js] 2.43 KiB {main} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {main} [built]
[./node_modules/styled-components/dist/styled-components.browser.esm.js] 61.9 KiB {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http:https://localhost:8080] (webpack)-dev-server/client?http:https://localhost:8080 4.29 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {main} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {main} [built]
    + 85 hidden modules

ERROR in Can't find self.__WB_MANIFEST in your SW source.
Child InjectManifest:
    Asset      Size          Chunks             Chunk Names
    sw.js  3.88 KiB  InjectManifest  [emitted]  InjectManifest
    Entrypoint InjectManifest = sw.js
    [./src/sw.js] 126 bytes {InjectManifest} [built]
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
    [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] 1.14 KiB {0} [built]
    [./node_modules/lodash/lodash.js] 528 KiB {0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: Failed to compile.
@persianturtle
Copy link
Owner

We've removed the PWA related code for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants