Closed heinhoang closed 7 years ago
Hi, have you tried to scaffold project via yo webapp
? What errors do you get when you run this command?
it outputs WARNING
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: is-gif@1.0.0 (node_modules\is-gif):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error: EPERM: operation not permitted, rename 'E:\_toolkit-static-web\bootstrap-scaffolding\bootstrap3\node_modules\.staging\is-gif-160bba7c\package.json.3823358805' -> 'E:\_toolkit-static-web\bootstrap-scaffolding\bootstrap3\node_modules\.staging\is-gif-160bba7c\package.json'
'bower' is not recognized as an internal or external command,
operable program or batch file.
I think generator-webapp upgraded successfully, what does npm ls -g generator-webapp
say?
This bower
error looks like you don't have Bower installed globally. What does bower --version
say?
npm ls -g generator-webapp
C:\Users\Hein Hoang\AppData\Local\npm
`-- generator-webapp@2.3.2
'bower' is not recognized as an internal or external command,
operable program or batch file.
thanks, but why it pulls out above WARNINGS?
To install Bower:
npm install --global bower
I'm not exactly sure about the warnings, though the last warning means you don't have permissions set properly there.
The key question here is: does it work? 😉
wins 8
node -v
v6.9.1npm -v
3.10.9yo --version
1.8.5I try to update generator-webapp to latest version by
npm install -g generator-webapp
but it pulls out