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

Installing Node Dependencies Error #948

Closed
Ninjas-in-Pajamas opened this issue Jun 19, 2019 · 5 comments

Comments

@Ninjas-in-Pajamas
Copy link

commented Jun 19, 2019

I have tried creating a Probot app on two (Windows) devices now and continously get the same error:

npm ERR! code ENOLOCAL
npm ERR! Could not install from "" as it does not contain a package.json file.

Could not install npm dependencies. Try running npm install yourself

If I install a package.json beforehand, I am able to get past this error but then when I type

npm run dev

I get the error

npm ERR! missing script: dev

@welcome

This comment has been minimized.

Copy link

commented Jun 19, 2019

Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved.

@issue-label-bot

This comment has been minimized.

Copy link

commented Jun 19, 2019

Issue-Label Bot is automatically applying the label bug 🐞 to this issue, with a confidence of 0.62. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug 🐞 label Jun 19, 2019

@gr2m

This comment has been minimized.

Copy link
Contributor

commented Jun 19, 2019

Hello Pajama Ninjas 👋

Did you follow the instructions at https://probot.github.io/docs/development/?

What command do you use to create a new app?

Probot
GitHub Apps to automate and improve your workflow
@Sam-the-Unwise

This comment has been minimized.

Copy link

commented Jun 20, 2019

Yes that's what I was trying to use. I used the command "npx create-probot-app app-name" but it would consistantly give me the errors seen above.

PS:
ISSUE SOLVED
It seems that the Probot app wouldn't create all node dependencies inside your "app-name" file and so, if you are using a windows machine, you have to go into that file and do "npm install" in order to get it working. This was tested out on 5 windows computers and worked for all of them (since they all had these same errors).

@stale

This comment has been minimized.

Copy link

commented Aug 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 19, 2019

@gr2m gr2m closed this Aug 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.