You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@annotator.apache.org by GitBox <gi...@apache.org> on 2021/07/12 20:11:03 UTC

[GitHub] [incubator-annotator] DellCliff opened a new issue #114: Can't build on windows

DellCliff opened a new issue #114:
URL: https://github.com/apache/incubator-annotator/issues/114


   ```
   
   > build
   > concurrently yarn:build:*
   
   yarn run v1.22.10
   yarn run v1.22.10
   yarn run v1.22.10
   $ tsc --build
   $ lerna exec --parallel -- cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md .
   $ lerna exec --parallel -- babel -d lib -s -x .ts --env-name production --root-mode upward src
   [build:misc] lerna notice cli v3.20.2
   [build:js] lerna notice cli v3.20.2
   [build:misc] lerna info Executing command in 3 packages: "cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md ."
   [build:js] lerna info Executing command in 3 packages: "babel -d lib -s -x .ts --env-name production --root-mode upward src"
   [build:misc] apache-annotator: 'cp' is not recognized as an internal or external command,
   [build:misc] apache-annotator: operable program or batch file.
   [build:misc] lerna ERR! cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md . exited 2 in 'apache-annotator'
   [build:misc] lerna ERR! cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md . stderr:
   [build:misc] 'cp' is not recognized as an internal or external command,
   [build:misc] operable program or batch file.
   [build:misc]
   [build:misc] lerna ERR! cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md . exited 2 in 'apache-annotator'
   [build:misc] lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
   error Command failed with exit code 2.
   [build:misc] yarn run build:misc exited with code 2
   [build:js] apache-annotator: Successfully compiled 2 files with Babel (2140ms).
   [build:types] packages/apache-annotator/src/dom.ts(32,15): error TS7016: Could not find a declaration file for module '@apache-annotator/dom'. 'xxxxx/packages/dom/lib/index.js' implicitly has an 'any' type.
   [build:types]   Try `npm i --save-dev @types/apache-annotator__dom` if it exists or add a new declaration (.d.ts) file containing `declare module '@apache-annotator/dom';`
   [build:types] packages/dom/test/utils.ts(22,31): error TS6305: Output file 'xxxxx/packages/dom/lib/owner-document.d.ts' has not been built from source file 'xxxxx/packages/dom/src/owner-document.ts'.
   [build:types] packages/dom/test/css/describe.test.ts(22,29): error TS6305: Output file 'xxxxx/packages/dom/lib/css.d.ts' has 
   not been built from source file 'xxxxx/packages/dom/src/css.ts'.
   [build:types] packages/dom/test/css/match.test.ts(23,42): error TS6305: Output file 'xxxxxx/packages/dom/lib/css.d.ts' has not been built from source file 'xxxxxx/packages/dom/src/css.ts'.
   [build:types] packages/dom/test/highlight-text/highlight-text.test.ts(22,31): error TS6305: Output file 'xxxxxx/packages/dom/lib/highlight-text.d.ts' has not been built from source file 'xxxxxx/packages/dom/src/highlight-text.ts'.
   [build:types] packages/dom/test/range/cartesian.test.ts(22,27): error TS6305: Output file 'xxxxxx/packages/dom/lib/range/cartesian.d.ts' has not been built from source file 'xxxxxx/packages/dom/src/range/cartesian.ts'.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
   error Command failed with exit code 2.
   [build:types] yarn run build:types exited with code 2
   [build:js] @apache-annotator/selector: Successfully compiled 10 files with Babel (4244ms).
   [build:js] @apache-annotator/dom: Successfully compiled 16 files with Babel (4440ms).
   [build:js] lerna success exec Executed command in 3 packages: "babel -d lib -s -x .ts --env-name production --root-mode upward src"
   Done in 6.79s.
   [build:js] yarn run build:js exited with code 0
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@annotator.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-annotator] BigBlueHat commented on issue #114: Can't build on windows

Posted by GitBox <gi...@apache.org>.
BigBlueHat commented on issue #114:
URL: https://github.com/apache/incubator-annotator/issues/114#issuecomment-880797588


   @DellCliff what shell are you using? PowerShell? CMD? Bash for Windows (which typically installs with `git`)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@annotator.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-annotator] DellCliff commented on issue #114: Can't build on windows

Posted by GitBox <gi...@apache.org>.
DellCliff commented on issue #114:
URL: https://github.com/apache/incubator-annotator/issues/114#issuecomment-880860003


   @BigBlueHat CMD and PowerShell. Same error in both.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@annotator.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org