tauri-theia icon indicating copy to clipboard operation
tauri-theia copied to clipboard

warnings during the yarn theia:package phase

Open nothingismagick opened this issue 4 years ago • 0 comments

$ yarn theia:package
yarn run v1.21.1
$ pkg package.json -t node10 --output src-tauri/theia-binaries/theia
> [email protected]
> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  %1: node_modules/drivelist/build/Release/drivelist.node
  %2: path-to-executable/drivelist.node
> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  %1: node_modules/drivelist/scripts/darwin.sh
  %2: path-to-executable/drivelist/darwin.sh
> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  %1: node_modules/drivelist/scripts/linux.sh
  %2: path-to-executable/drivelist/linux.sh
> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  %1: node_modules/drivelist/scripts/win32.bat
  %2: path-to-executable/drivelist/win32.bat
> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  %1: node_modules/drivelist/build/Release/drivelist.node
  %2: path-to-executable/drivelist.node
> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  %1: node_modules/drivelist/scripts/darwin.sh
  %2: path-to-executable/drivelist/darwin.sh
> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  %1: node_modules/drivelist/scripts/linux.sh
  %2: path-to-executable/drivelist/linux.sh
> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  %1: node_modules/drivelist/scripts/win32.bat
  %2: path-to-executable/drivelist/win32.bat
> Warning Cannot resolve 'path.resolve(pluginPath, rawGrammar.path)'
tauri-theia/node_modules/@theia/plugin-ext/lib/hosted/node/scanners/grammars-reader.js
  Dynamic require may fail at run time, because the requested file
  is unknown at compilation time and not included into executable.
  Use a string literal as an argument for 'require', or leave it
  as is and specify the resolved file name in 'scripts' option.
> Warning Cannot resolve 'packageJsonPath'
  tauri-theia/node_modules/@theia/plugin-ext/lib/main/node/handlers/plugin-theia-directory-handler.js
  Dynamic require may fail at run time, because the requested file
  is unknown at compilation time and not included into executable.
  Use a string literal as an argument for 'require', or leave it
  as is and specify the resolved file name in 'scripts' option.
✨  Done in 76.21s.

nothingismagick avatar May 24 '20 14:05 nothingismagick