-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
default Gulp task hitting an error #582
Comments
@barrars can you tell me the OS (and version) and node/npm version you have? Thanks! |
Win8.1 npm installI had some errors related to needing to install visual studios which I'm doing right now. |
@barrars thanks. i don't have convenient access to a windows machine right now, i'll try and get a VM up and running to investigate. |
I updated to node 4.1.2 and re-ran everything. I'm still getting an error about installing MS visual studio which is going slowly. I'll let you know. I also don't understand the directions to map the localhost .... |
hmm might not need to do that part, i didnt have to do that for mac osx either |
still getting [11:33:35] Finished 'watch' after 221 ms [11:33:35] Starting 'default'... [11:33:35] Finished 'default' after 9.29 μs fs.js:902 return binding.symlink(preprocessSymlinkDestination(destination, type, path), ^ Error: EPERM: operation not permitted, symlink '.\1444674815295' -> 'C:\Users\scott\Desktop\localProject\amphtm l\dist.3p\current' at Error (native) at Object.fs.symlinkSync (fs.js:902:18) at DestroyableTransform. (C:\Users\scott\Desktop\localProject\amphtml\gulpfile.js:293:12) at emitNone (events.js:72:20) at DestroyableTransform.emit (events.js:166:7) at C:\Users\scott\Desktop\localProject\amphtml\node_modules\gulp\node_modules\vinyl-fs\node_modules\through2\node_modules\readable-stream\lib\_stream_readable.js:965:16 at doNTCallback0 (node.js:408:9) at process._tickCallback (node.js:337:13) PS C:\Users\scott\Desktop\localProject\amphtml> |
probably related nodejs/node-v0.x-archive#6342
|
Doh, running with admin seems to have fixed it. Does gulpstart a localhost ? here is my stdput. It just says finished. PS C:\Users\scott\Desktop\localProject\amphtml> gulp [11:42:07] Using gulpfile ~\Desktop\localProject\amphtml\gulpfile.js [11:42:07] Starting 'watch'... Bundling amp-anim Bundling amp-audio Bundling amp-carousel Bundling amp-fit-text Bundling amp-iframe Bundling amp-image-lightbox Bundling amp-instagram Bundling amp-lightbox Bundling amp-slides Bundling amp-twitter Bundling amp-youtube Processing ads.amp.html Processing article.amp.html Processing article-metadata/json-ld.amp.html Processing article-metadata/microdata.amp.html Processing everything.amp.html Processing instagram.amp.html Processing released.amp.html Processing twitter.amp.html Recompiling CSS. Processing 3p/frame.max.html [11:42:08] Finished 'watch' after 234 ms [11:42:08] Starting 'default'... [11:42:08] Finished 'default' after 7.82 µs |
Update actually....I just ran tests and it seems to have passed. I can't run http-server -p 8000 -c-1though. The error says that task is not in the gulpfile. How do I launch a server for demos? |
sorry, my reply got lost or something. so you'll need to run |
thanks for being patient btw, i'll try and update the docs or feel free to submit a PR to fix the docs :) |
Awesome, thank you sir. I may include a little windows perspective later haha. |
@barrars yeah that would be terrific 👯 if i can get my new gaming rig i can start testing on windows lol |
@barrars closing this, feel free to submit a PR! |
NPM install / gulp then error:
[09:24:53] Using gulpfile ~\amphtml\gulpfile.js
[09:24:53] Starting 'watch'...
Bundling amp-anim
Bundling amp-audio
Bundling amp-carousel
Bundling amp-fit-text
Bundling amp-iframe
Bundling amp-image-lightbox
Bundling amp-instagram
Bundling amp-lightbox
Bundling amp-slides
Bundling amp-twitter
Bundling amp-youtube
Processing ads.amp.html
Processing article.amp.html
Processing article-metadata/json-ld.amp.html
Processing article-metadata/microdata.amp.html
Processing everything.amp.html
Processing instagram.amp.html
Processing released.amp.html
Processing twitter.amp.html
Recompiling CSS.
Processing 3p/frame.max.html
[09:24:53] Finished 'watch' after 215 ms
[09:24:53] Starting 'default'...
[09:24:53] Finished 'default' after 18 μs
fs.js:848
return binding.symlink(preprocessSymlinkDestination(destination, type),
^
Error: EPERM, operation not permitted '\amphtml\dist.3p\current'
at Error (native)
at Object.fs.symlinkSync (fs.js:848:18)
at DestroyableTransform. (\amphtml\gulpfile.js:293:12)
at DestroyableTransform.emit (events.js:129:20)
at \amphtml\node_modules\gulp\node_modules\vinyl-fs\node_modules\through
2\node_modules\readable-stream\lib_stream_readable.js:965:16
at process._tickCallback (node.js:355:11)
The text was updated successfully, but these errors were encountered: