Skip to content
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

polar init . issues #102

Open
udit-gulati opened this issue Jan 15, 2023 · 0 comments
Open

polar init . issues #102

udit-gulati opened this issue Jan 15, 2023 · 0 comments

Comments

@udit-gulati
Copy link
Member

(env) uditgulati@uditgulati-Swift-SF313-52:~/Documents/osmosis-on-sn$ npx polar init .
★ Welcome to polar v0.10.1
Initializing new project in /home/uditgulati/Documents/osmosis-on-sn.
Error PE17: Polar project file was detected: 'README.md'. Move the file or use an empty directory.

For more info run polar with --show-stack-traces or add --help to display task-specific help.
(env) uditgulati@uditgulati-Swift-SF313-52:~/Documents/osmosis-on-sn$ ls
Cargo.lock  Cargo.toml  LICENSE  README.md
(env) uditgulati@uditgulati-Swift-SF313-52:~/Documents/osmosis-on-sn$ rm -rf README.md 
(env) uditgulati@uditgulati-Swift-SF313-52:~/Documents/osmosis-on-sn$ npx polar init .
★ Welcome to polar v0.10.1
Initializing new project in /home/uditgulati/Documents/osmosis-on-sn.
Error PE17: Polar project file was detected: 'Cargo.lock'. Move the file or use an empty directory.

For more info run polar with --show-stack-traces or add --help to display task-specific help.
(env) uditgulati@uditgulati-Swift-SF313-52:~/Documents/osmosis-on-sn$ ls
Cargo.lock  Cargo.toml  LICENSE
(env) uditgulati@uditgulati-Swift-SF313-52:~/Documents/osmosis-on-sn$ rm -rf Cargo.lock Cargo.toml 
(env) uditgulati@uditgulati-Swift-SF313-52:~/Documents/osmosis-on-sn$ npx polar init .
★ Welcome to polar v0.10.1
Initializing new project in /home/uditgulati/Documents/osmosis-on-sn.

★ Project created ★

You need to install these dependencies to run the sample project:
  npm install --global --save-dev chai

Success! Created project at /home/uditgulati/Documents/osmosis-on-sn.
Begin by typing:
  cd .
  polar help
  polar compile

Init should not add any files is an error such as README.md exists error shows up. Should move README.md to README.md.old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant