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

Using Expo for BlossomApp #32

Open
jmc-codeless opened this issue Oct 20, 2019 · 8 comments
Open

Using Expo for BlossomApp #32

jmc-codeless opened this issue Oct 20, 2019 · 8 comments

Comments

@jmc-codeless
Copy link

jmc-codeless commented Oct 20, 2019

I loaded the Expo app on my iPhone and created an account.
I cannot seem to get npm to properly install exp (more current is expo-cli) on my Windows 10 laptop. After the script runs and I cd to the BlossomApp directory, for both exp publish and expo-cli publish , the script responds with:
Error: node_modules directory is missing. Please run npm install in your project directory.
Couldn't start project. Please fix the errors and restart the project.
I have screen shots of the npm install script and can email the png file if this link doesn't work.
image

@jmc-codeless
Copy link
Author

Hello ... Can anyone please give me some guidance here?

@msgtn
Copy link
Contributor

msgtn commented Nov 5, 2019

Hey jmc,

Did you run npm install in the directory before expo-cli publish?

@jmc-codeless
Copy link
Author

jmc-codeless commented Nov 7, 2019 via email

@msgtn
Copy link
Contributor

msgtn commented Nov 13, 2019

Hi jmc,

I think if you ran npm install, e.g. not npm install -g expo-cli, it should've created the node_modules folder that the error is saying is missing.

@jmc-codeless
Copy link
Author

jmc-codeless commented Nov 16, 2019

Hi psychomugs,
I may have gone a little overboard and missed a few steps. I uninstalled python 2.7 and python 3.7 and installed python3.8 (& changed system PATH). I downloaded and unzipped #33 package from git. Ran 'pip install -r requirements.txt' Created a venv (BTW, my top-level dir is 'blossom-public-master'). went to subdir BlossomApp and ran 'npm install'. I got a lot of warning and errors related to ENOENT missing; npm could not find the file. Here's the screen shot. I have the logfile if that would help.
Warns for no ENOENT

I went ahead and did 'npm install -g expo-cli'. It failed. I attached the logfile. For one thing, this command says Python3 is not supported - I have to use Python2. This is a problem since I am now running Python3.8. Here's the logfile. Your help with npm is greatly appreciated!
2019-11-16T18_27_44_407Z-debug.log

@msgtn
Copy link
Contributor

msgtn commented Nov 18, 2019

Hey jmc,

Unfortunately this seems a little beyond our expertise, as I don't have a Windows machine to test this problem on. We're also getting a bit preoccupied with end-of-semester things so you'll probably find answers faster if you Google the npm-related issues.

Related to #33 , try renaming the top-level directory to just blossom and see if it resolves any issues. This might require you to recreate your virtualenv though.

@jmc-codeless
Copy link
Author

jmc-codeless commented Nov 18, 2019 via email

@msgtn
Copy link
Contributor

msgtn commented Nov 18, 2019

Hey jmc,

The current codebase is designed to work with Python3, and I've been running it with 3.5 or 3.7, so it might be a platform-specific issue. Did you pull the latest changes from ~12 days ago?

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

2 participants