Skip to content

Compiling surfsense_browser_extension requires to install plasmo first yet doesn't build #375

@CoruNethron

Description

@CoruNethron

Tried:

git clone https://github.com/MODSetter/SurfSense
cd SurfSense/surfsense_browser_extension
npm run build
sh: plasmo: command not found

Also:

npm i -g plasmo
#...
npm run build  

> surfsense_browser_extension@0.0.7 build
> plasmo build

🟣 Plasmo v0.90.5
🔴 The Browser Extension Framework
🔵 INFO   | Prepare to bundle the extension...
🔵 INFO   | Building for target: chrome-mv3
🔵 INFO   | Loaded environment variables from: []
🔴 ERROR  | Failed to resolve '../../popup.tsx' from './.plasmo/static/popup.tsx'

Don't know how to dig further, probably need to crawl into some source codes or I'm doing something wrong.
The surfsense_browser_extension README.md only mentions that This is a [Plasmo extension](https://docs.plasmo.com/) project bootstrapped with [plasmo init](https://www.npmjs.com/package/plasmo). but it doesn't help to understand what should I do to get this extension built and installed in my browser.

P.S. sorry for spamming with issue tickets, hope this info will help you to bring step-by-step instructions for dummies (hello) on how to install all the pre-required stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions