javascript - Error with polymer build -


i triying learn how use new app-toolbox. in local, works fine; when use:

polymer build 

i these errors:

c:\users\marcos\documents\poly2>polymer build info: building application... info: generating build/unbundled... info: generating build/bundled... error: uncaught exception: error: file path not in root: c:/users/marcos/documents/poly2/index.html (c:\users\marcos\documents\poly2) error: error: file path not in root: c:/users/marcos/documents/poly2/index.html (c:\users\marcos\documents\poly2) @ streamanalyzer.urlfrompath (c:\users\marcos\appdata\roaming\npm\node_modules\polymer-cli\lib\build\analyzer.js:91:19) @ streamanalyzer.addfile (c:\users\marcos\appdata\roaming\npm\node_modules\polymer-cli\lib\build\analyzer.js:81:29) @ streamanalyzer._transform (c:\users\marcos\appdata\roaming\npm\node_modules\polymer-cli\lib\build\analyzer.js:48:14) @ streamanalyzer.transform._read (_stream_transform.js:167:10) @ streamanalyzer.transform._write (_stream_transform.js:155:12) @ dowrite (_stream_writable.js:301:12) @ writeorbuffer (_stream_writable.js:287:5) @ streamanalyzer.writable.write (_stream_writable.js:215:11) @ passthrough.ondata (c:\users\marcos\appdata\roaming\npm\node_modules\polymer-cli\node_modules\readable-stream\lib_stream_readable.js:531:20) @ emitone (events.js:95:20)

i using windows 10.

i got same problem. deleting npm-cache @ c:\users\%user_name%\appdata\roaming\npm-cache , re-installing nodejs , polymer-cli fixed me. currently, i'm using windows 10 nodejs v4.4.5, npm v2.15.5 , polymer-cli v0.11.0 (i notice they've updated polymer-cli v0.10.0 v0.11.0)

hope help.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -