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

Not working in windows #1

Closed
Apptrion opened this issue Feb 13, 2017 · 3 comments
Closed

Not working in windows #1

Apptrion opened this issue Feb 13, 2017 · 3 comments

Comments

@Apptrion
Copy link

Unable to launch the app in windows. The error message is also not clear, about any missing modules or dependencies.
npm run dev-win

@MacKentoch
Copy link
Owner

Could you check your current version of NodeJS:

node -v

It requires minimum 6.x.x.
This template is not finished so I did not add all details in README like minimum NodeJS version.

If you still need a previous version of node so use nvm to switch to v6 in this project.

When you've installed v6, be sure to drop previous node_modules content:

rm -rf node_modules

Then reinstall with the right version of NodeJS:

npm install

or

yarn install

@Apptrion
Copy link
Author

Sorry, I forgot to add earlier, after going thru the earlier message upgraded the node.

node -v => v6.9.5
npm -v => 3.10.10

C:\react-director-admin-template>npm start-win

Usage: npm

where is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
help, help-search, i, init, install, install-test, it, link,
list, ln, login, logout, ls, outdated, owner, pack, ping,
prefix, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, tag, team, test, tst, un, uninstall,
unpublish, unstar, up, update, v, version, view, whoami

npm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overview

Specify configs in the ini-formatted file:
C:\Users\usrername.npmrc
or on the command line via: npm --key value
Config info can be viewed via: npm help config

npm@3.10.10 C:\Program Files\nodejs\node_modules\npm

I am still getting the above error. Searching further to figure out the error.

@MacKentoch
Copy link
Owner

@Apptrion Ok that is nothing, you just forgot run:

npm run start-win

It should be ok now.

@ksngits ksngits mentioned this issue Mar 4, 2017
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