Course Content
Create app
Faris Ansari
May 19, 2021

To create our Library Management app, run the following command from the frappe-bench directory:

$ bench new-app library_management
App Title (default: Library Management):
App Description: Library Management System
App Publisher: Faris Ansari
App Email: faris@example.com
App Icon (default 'octicon octicon-file-directory'):
App Color (default 'grey'):
App License (default 'MIT'):
'library_management' created at /Users/farisansari/Tutorial/frappe-bench/apps/library_management

Installing library_management
$ ./env/bin/pip install -q -U -e ./apps/library_management
$ bench build --app library_management
yarn run v1.22.4
$ FRAPPE_ENV=production node rollup/build.js --app library_management
Production mode
✔ Built js/moment-bundle.min.js
✔ Built js/libs.min.js
✨  Done in 1.95s.

You will be prompted with details of your app, fill them up and an app named library_management will be created in the apps folder.

Questions
throw err
FL Francis Loyola
4 months ago
Post
Dismiss

Cannot find module '/bench-frappe/rollup/build.js'

Is the tutorial not updated for 2022 or did I miss something while doing the previous steps?

Want to discuss?
Post it here, our mentors will help you out.