jarrodek / ChromeRestClient

ARC Chrome is deprecated. Please move to https://github.com/advanced-rest-client/arc-electron/
Apache License 2.0
371 stars 98 forks source link

/bower_components/chrome-storage/chrome-storage.html is missing #797

Closed markshao closed 8 years ago

markshao commented 8 years ago

Could not load /bower_components/chrome-storage/chrome-storage.html,it's missing.

jarrodek commented 8 years ago

Hi,

Thank you for issue report. Are you seeing it in the app console? Is that dev version or is it a production version?

markshao commented 8 years ago

I think it's the canary version . What I do as the following steps

  1. git clone the master branch of the project
  2. npm install && bower install
  3. From the chrome extension page , load the unpacked extension and launch it .

I see the error in the inspect console, shows that net, FILE NOT FOUND chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo/bower_components/chrome-storage/chrome-storage.html

I guess it should be the canary version because I see the popup dialog when I first launch the app.

markshao commented 8 years ago

try the build command , find the same issue in the build log

 shaoyuliang@markshaos-MacBook-Pro  ~/xiaohongshu/code/github/ChromeRestClient   develop  gulp build --target beta --build-only
The credantials file not found.
You won  be ablr to publish the app.
[11:12:16] Using gulpfile ~/xiaohongshu/code/github/ChromeRestClient/gulpfile.js
[11:12:16] Starting 'build'...
? Upgrade the version major version? <ok|cancel> : ok
Dir removed for target: build/beta
Creating directory structure.
Directory structure OK
[11:12:20] Starting 'copy'...
[11:12:20] copy all files 5.84 MB
[11:12:20] Finished 'copy' after 675 ms
Vulcanizing
Processing elements.html
ERROR finding /Users/shaoyuliang/xiaohongshu/code/github/ChromeRestClient/app/bower_components/chrome-storage/chrome-storage.html
Error Building canary { Error: ENOENT: no such file or directory, open '/Users/shaoyuliang/xiaohongshu/code/github/ChromeRestClient/app/bower_components/chrome-storage/chrome-storage.html'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/shaoyuliang/xiaohongshu/code/github/ChromeRestClient/app/bower_components/chrome-storage/chrome-storage.html' }
[11:12:20] Finished 'build' after 4.74 s
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
jarrodek commented 8 years ago

Hi, I've updated a dependencies lately and moved chrome-storage to new repository. Please, add following line to the bower.json file, in the dependencies array: "chrome-storage": "advanced-rest-client/chrome-storage#^1.0.2"

or you can also pull changes from the develop branch. There was few issue fixes lately. It should work then.

Can you confirm?

markshao commented 8 years ago

Hey @jarrodek

Everything works for me now . I get some undefined error message when building the package , but it does not matter.

shaoyuliang@markshaos-MacBook-Pro  ~/xiaohongshu/code/github/ChromeRestClient   develop ● 
gulp build --target dev --build-only
The credantials file not found.
You won  be ablr to publish the app.
[21:54:55] Using gulpfile ~/xiaohongshu/code/github/ChromeRestClient/gulpfile.js
[21:54:55] Starting 'build'...
Dir removed for target: build/dev
Bower symlink exists
Creating directory structure.
Directory structure OK
[21:54:56] Starting 'copy'...
[21:54:56] copy all files 5.84 MB
[21:54:56] Finished 'copy' after 708 ms
Vulcanizing
Processing elements.html
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined

Thanks so much for your help !!! Hope I could have some contributions later

jarrodek commented 8 years ago

I hope so too ;)