Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

theme_barceloneta wrong Gruntfile.js base path

オープン
#46 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
javascript, python
領域
cli, tooling

調査の方向性

Start by tracing the theme_barceloneta generation used by plonecli add theme_barceloneta and inspect the generated Gruntfile.js setBase value. Regenerate the theme and run the documented npm and grunt commands; done means the path is relative to Gruntfile.js as ./theme and grunt no longer fails with ENOENT.

索引モデルが issue の本文から書いたものです。

説明

  • Plone CLI version: 1.0
  • Python version: 2.7.16
  • Operating System: ArchLinux
Description

Adding a theme_barceloneta to my Plone add-on will generate a Gruntfile.js with the wrong setBase

What I Did
$ pip instal plonecli
$ plonecli create addon my.theme
$ cd my.theme
$ plonecli add theme_barceloneta
$ cd src/my/theme
$ npm install
$ cd theme
$ npm install
$ cd ../
$ grunt
>> Error: ENOENT: no such file or directory, chdir '/workspace/plone/src/my.theme/src/my/theme' -> 'src/my/theme/theme'

$ cat Gruntfile.js | grep setBase
grunt.file.setBase('./src/my/theme/theme');

It should be Gruntfile.js relative:

grunt.file.setBase('./theme');
主要言語
Python
スター
20
フォーク
12
平均マージ
11日 13時間
マージ済み PR(30日)
2

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

plone/plonecli のほかの issue

plone/plonecli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。