Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Encounter problem when building CADT from source #54

Open
cdawi opened this issue Feb 26, 2015 · 1 comment
Open

Encounter problem when building CADT from source #54

cdawi opened this issue Feb 26, 2015 · 1 comment

Comments

@cdawi
Copy link

cdawi commented Feb 26, 2015

I want to add custom plugins to CADT. When I'm running build script (on my Windows 7) without any extra plugins specified : createproject.sh ChromeAppDevTool
I recieve error:
(...)
Running: gulp build-dev
[14:11:48] Using gulpfile ~\chrome-app-developer-tool\gulpfile.js
[14:11:48] Starting 'lint:app'...
[14:11:48] Starting 'lint:harness-push'...
[14:11:48] Starting 'webpack:build-dev'...
[14:11:48] Starting 'styles'...
[14:11:48] [webpack:build-dev] Hash: 3de03120719048f2f578
Version: webpack 1.6.0
Time: 279ms
Asset Size Chunks Chunk Names
cca.bundle.js 1999 0 [emitted] cca
cca.bundle.js.map 1999 0 [emitted] cca
chunk {0} cca.bundle.js, cca.bundle.js.map (cca) 28 [rendered]
[0] multi cca 28 {0} [built] [1 error]

ERROR in multi cca
Module not found: Error: Cannot resolve 'file' or 'directory' ....\src\cca.js in C:\Users\xxx\chrome-app-developer-tool/www/cdvah
@ multi cca
[14:11:48] Finished 'webpack:build-dev' after 293 ms
[14:11:48] Finished 'styles' after 448 ms
[14:11:49] Finished 'lint:harness-push' after 874 ms
[14:11:50] Finished 'lint:app' after 2 s
[14:11:50] Starting 'lint'...
[14:11:50] Finished 'lint' after 19 μs
[14:11:50] Starting 'build-dev'...
[14:11:50] Finished 'build-dev' after 19 μs

  • /c/Users/xxxy/chrome-app-developer-tool/node_modules/cordova/bin/cordova create ChromeAppDevTool org.chromium.appdevtool 'Chrome App Developer Tool' --link-to /c/Users/xxx/chrome-app-developer-tool/www
    Creating a new cordova project with name "Chrome App Developer Tool" and id "org.chromium.appdevtool" at location "C:\Users\xxx\chrome-app-developer-tool\ChromeAppDevTool"
    Using custom www assets from c:\Users\xxx\chrome-app-developer-tool\www
  • set +x
    Can't do inplace edit on config.xml: Permission denied.
    Can't open config.xml: No such file or directory.
    Can't open config.xml: No such file or directory.
  • /c/Users/xxx/chrome-app-developer-tool/node_modules/cordova/bin/cordova platform add /c/Users/xxx/chrome-app-developer-tool/node_modules/cca/cordova/cordova-android
    Current working directory is not a Cordova-based project.
  • exit 1
@agrieve
Copy link
Member

agrieve commented Mar 25, 2015

There have been many fixes to the create script in the last little while. Care to try again under your environment?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants