nolanlawson / pinafore

Alternative web client for Mastodon (UNMAINTAINED)
https://pinafore.social
GNU Affero General Public License v3.0
1.02k stars 173 forks source link

Error with yarn run dev #2270

Closed nvdaes closed 1 year ago

nvdaes commented 1 year ago

I get the following error:

./webpack/webpack.config.js → ./webpack/webpack.config.cjs...
ERROR: "build-assets" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "before-build" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Environment

Thanks.

nolanlawson commented 1 year ago

Sorry, this is not enough information to debug. Pinafore's build is somewhat OS-dependant, so you may have to debug to figure out what about your environment is causing it to fail. E.g. I use Node v14 but you're using Node v18.

If I had to guess, I'd say it's because you're using Windows. I never made an effort to ensure that Pinafore would build on Windows. You might try Windows Subsystem for Linux to see if that works.

nvdaes commented 1 year ago

Thanks for your reply and advice! It works using Windows Subsystem for Linux with Node v18. You may want to update the documentation. For reference, in case it helps Windows users, I used this resources to prepare my environment:

nolanlawson commented 1 year ago

Thanks!