Giter VIP home page Giter VIP logo

Comments (5)

shouya avatar shouya commented on May 29, 2024 1

@yonas: #48 has been merged, so I'm closing this issue. Feel free to reopen it if you spot any problems or have more to add.

from rss-funnel.

shouya avatar shouya commented on May 29, 2024

This is because the inspector webui requires an extra step to build the front-end assets. Try run cd inspector; npm install; npm run build before you run cargo build.

I will later update README to indicate the extra step.

from rss-funnel.

yonas avatar yonas commented on May 29, 2024

@shouya Thanks, it looks like the inspector doesn't support FreeBSD:

yarn run v1.22.19
warning package.json: No license field
$ rm -rf ./dist/* && parcel build --no-source-maps
Error: Cannot find module './artifacts/index.freebsd-x64.node'
Require stack:
- /custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/source-map/parcel_sourcemap_node/index.js
- /custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/source-map/dist/node.js
- /custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/utils/lib/index.js
- /custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/core/lib/public/Bundle.js
- /custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/core/lib/Parcel.js
- /custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/core/lib/index.js
- /custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/parcel/lib/cli.js
- /custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/parcel/lib/bin.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/source-map/parcel_sourcemap_node/index.js:15:18)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Module.require (node:internal/modules/cjs/loader:1235:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/source-map/parcel_sourcemap_node/index.js',
    '/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/source-map/dist/node.js',
    '/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/utils/lib/index.js',
    '/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/core/lib/public/Bundle.js',
    '/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/core/lib/Parcel.js',
    '/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/@parcel/core/lib/index.js',
    '/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/parcel/lib/cli.js',
    '/custom-packages/yonasBSD/rss-funnel/work/rss-funnel-cc11962/inspector/node_modules/parcel/lib/bin.js'
  ]
}
error Command failed with exit code 1.

Can we add Cargo feature flag that disables the inspector at build time (i.e. not #28)?

from rss-funnel.

shouya avatar shouya commented on May 29, 2024

Can we add Cargo feature flag that disables the inspector at build time

Of course. I'll add the build flag.

Meanwhile, if you like you can just take archive of static assets I just built and extract the files to inspector/dist (tar xzvf inspector-dist.tar.gz -C inspector/) to skip the npm step altogether.

(inspector-dist.tar.gz)

from rss-funnel.

yonas avatar yonas commented on May 29, 2024

@shouya Thanks!

from rss-funnel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.