Closed valgaze closed 3 years ago
@mishkolesnikov Could you perhaps try the command below on your machine and see if you can get a web version booted from scratch? If it works, I'd be curious about your npx envinfo --preset react-native
result
git clone https://github.com/akveo/kittenTricks kittentricks_starter
cd kittentricks_starter
npx yarn
npx yarn start:dev
git clone https://github.com/akveo/kittenTricks kittentricks_starter && cd kittentricks_starter && npx yarn && npx yarn start:dev
Update: I "solved" the problem the loader was complaining about (moving a few directories back) because evidently that's how they're configured in this file here: https://github.com/akveo/kittenTricks/blob/master/env/env.dev.js
These lookups fail:
const path = require('path');
module.exports = {
ENV: 'dev',
UI_KITTEN_PACKAGES_PATH: path.resolve(__dirname, '../../react-native-ui-kitten/src'),
EVA_PACKAGES_PATH: path.resolve(__dirname, '../../eva/packages'),
};
"Fixed" pathing, no fail:
const path = require('path');
module.exports = {
ENV: 'dev',
UI_KITTEN_PACKAGES_PATH: path.resolve(__dirname, '../node_modules/@ui-kitten'),
EVA_PACKAGES_PATH: path.resolve(__dirname, '../node_modules/@eva-design'),
};
Hello @valgaze, Sorry for the confusion. There are DEV_DOCS which are actually cover dev mode.
I guess we need to add this into our readme 🤔 It should be enough to run project quickly
🐛 Bug Report
I'm trying to document the bare-minimum steps to go from zero to a web-browser version of "KittenTricks" with code live-reload. ]
I've encountered some config/build errors. The current blocker is shown below where the application is searching for the
eva/packages/dss
path in a directory that is invalid & several "steps" outside the main repo) and I cannot get a web version bootedTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Link to runnable example or repository (highly encouraged)
Here's a clunky single-liner (including setting "workspaces" to an empty array):
UI Kitten and Eva version
Environment information
Are any of the versions below poor choices to use with this repo? Are there recommended engines/environments?
Same behavior (except workspace array issue) in node 14.7: