-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newbie problems following README.md setup instructions for development #770
Comments
No longer a problem. github clone https://github.com/evolus/pencil.git -- worked, but it got the Master 3.1.1 npm install -- created many lines of Warnings, and cleanup failed to remove 2 directories, errno: -4048, npm start -- failed,
"star1": ".\node_modules\.bin\electron .", -- was added to package.json in scripts section
I will try a revised start:dev and continue with developing Bezier. |
In a Win10 setting with VSCode, as a beginner, I am having a hard time following this setup sequence.
In 2--which repository is to be cloned? Electron? or Pencil? Can 1 & 2 be combined into one sentence?
The link goes to https://www.electronjs.org/ which has buttons for Releases and GitHub
Why does Electron need to be cloned ? Where in this startup do we make reference to the cloned folder?
Since 6&7 npm install, which includes Electron dependencies, comes directly from "GitCentral".
In 3--How do I make sure nodejs 5 is being used? Is this ES level? or node -v (which is now > 18)?
I can't find any indication of ES level in any node commands. Are all node versions now in 2023 at level 5 ??
In 4 & 5--git : The term 'git' is not recognized as the name of a cmdlet.
Is git required to be installed? Or will github be ok? I am still trying to github the development 3.1.2 version into a folder C:\H_Paul\Pencil312 ... and not finding the right args.
In 6 & 7--do I need to CD (Change Directory) to the Pencil/App folder before installing?
-- from: https://www.stackchief.com/tutorials/npm install | how it works
-- see also: https://docs.npmjs.com/cli/v8/commands/npm-install
When run without arguments, npm install downloads dependencies defined in a package.json file
and generates a node_modules folder with the installed modules.
It's important that npm install is run in the same location as the package.json file.
npm install also generates a package-lock.json file.
In 8 & 9--This runs the "start" property of a package's "scripts" object.
npm start -->runs--> "start": "./node_modules/.bin/electron ./app"
Is this suitable only for Linux, and not for Windows?
When I do npm start, I get these output results
==>terminal==>
npm start
The text was updated successfully, but these errors were encountered: