-
Notifications
You must be signed in to change notification settings - Fork 199
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
Cannot find module '../../package.json' #4
Comments
A simple workaround is to create a package.json file in the project root. I'll keep this issue open since you'll probably want to drop in a basic package.json file into this project or edit the README. |
I've had the same problem, @hollyschinsky is the package.json a file you use for personal development that didn't make it into the repo? |
Hi guys, I used Ionic to create the basic project which contains a package.json file by default. Are you using Ionic as well? |
At least I am. In this instance I did not start with an standard Ionic project though, I started with your sample project. You excluded the package.json when pushing to this repo? |
Oh ok, yes, I should have clarified that. I usually recommend creating a starter project with Ionic and then replace the www folder with mine from here.
Then add the dependencies... Then it's not limited to versions of things. Does that make sense? |
Yes, makes sense. Thanks :) |
Makes sense - I would recommend adding this to the README :) |
sudo npm install -g ionic@1.7.16 use this version of ionic will solve this issue |
Hi there
When I try to add some of the required dependancies, while located at the project root, I get an error about problem finding package.json, it seems to be expecting it in the project root but it is not there.
Am I missing something?
The text was updated successfully, but these errors were encountered: