airbnb / react-sketchapp

render React components to Sketch ⚛️💎
http://airbnb.io/react-sketchapp/
MIT License
14.94k stars 821 forks source link

Issue #462

Closed ziggygou closed 4 years ago

ziggygou commented 4 years ago

Hello, i've an issue at 'cd react-sketchapp/examples/basic-setup && npm install'

Capture d’écran 2019-12-09 à 11 40 00
mathieudutour commented 4 years ago

Could you provide more information? What's written above (looks like that where the error is written)? What's in the log shown in the output? etc.

yuchuanxi commented 4 years ago

emmm, You can install @skpm/builder@0.4, and try again @ziggygou

briazzi64 commented 4 years ago

I am also getting the same error. Here is what terminal says. I have Sketch open, Sketch version 61 and I'm running NPM 6.9.0


> npm run build && skpm-link

> basic-setup@1.0.0 build /Users/briazzi/projects/react-sketchapp/examples/basic-setup
> skpm-build

[1/2] 🖨  Copied src/manifest.json in 3ms
error Error while building ./my-command.js
./node_modules/react-sketchapp/lib/jsonUtils/models.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/jsonUtils)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/jsonUtils/models.js 14:32-75
 @ ./node_modules/react-sketchapp/lib/symbol.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
./node_modules/react-sketchapp/lib/jsonUtils/textLayers.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/jsonUtils)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/jsonUtils/textLayers.js 6:32-75
 @ ./node_modules/react-sketchapp/lib/sharedStyles/TextStyles.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
./node_modules/react-sketchapp/lib/jsonUtils/style.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/jsonUtils)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/jsonUtils/style.js 6:32-75
 @ ./node_modules/react-sketchapp/lib/jsonUtils/textLayers.js
 @ ./node_modules/react-sketchapp/lib/sharedStyles/TextStyles.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
./node_modules/react-sketchapp/lib/jsonUtils/borders.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/jsonUtils)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/jsonUtils/borders.js 6:32-75
 @ ./node_modules/react-sketchapp/lib/renderers/ImageRenderer.js
 @ ./node_modules/react-sketchapp/lib/renderers/index.js
 @ ./node_modules/react-sketchapp/lib/flexToSketchJSON.js
 @ ./node_modules/react-sketchapp/lib/render.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
./node_modules/react-sketchapp/lib/jsonUtils/shapeLayers.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/jsonUtils)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/jsonUtils/shapeLayers.js 6:32-75
 @ ./node_modules/react-sketchapp/lib/renderers/ImageRenderer.js
 @ ./node_modules/react-sketchapp/lib/renderers/index.js
 @ ./node_modules/react-sketchapp/lib/flexToSketchJSON.js
 @ ./node_modules/react-sketchapp/lib/render.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
./node_modules/react-sketchapp/lib/jsonUtils/layerGroup.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/jsonUtils)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/jsonUtils/layerGroup.js 6:32-75
 @ ./node_modules/react-sketchapp/lib/renderers/SketchRenderer.js
 @ ./node_modules/react-sketchapp/lib/renderers/TextRenderer.js
 @ ./node_modules/react-sketchapp/lib/renderers/index.js
 @ ./node_modules/react-sketchapp/lib/flexToSketchJSON.js
 @ ./node_modules/react-sketchapp/lib/render.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
./node_modules/react-sketchapp/lib/jsonUtils/nodeImpl/makeSvgLayer.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/nodeImpl'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/nodeImpl'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/jsonUtils/nodeImpl)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/nodeImpl/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/nodeImpl/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/jsonUtils/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/jsonUtils/nodeImpl/makeSvgLayer.js 6:32-75
 @ ./node_modules/react-sketchapp/lib/jsonUtils/svgLayer.js
 @ ./node_modules/react-sketchapp/lib/renderers/SvgRenderer.js
 @ ./node_modules/react-sketchapp/lib/renderers/index.js
 @ ./node_modules/react-sketchapp/lib/flexToSketchJSON.js
 @ ./node_modules/react-sketchapp/lib/render.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
./node_modules/react-sketchapp/lib/renderers/ImageRenderer.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/renderers'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/renderers'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/renderers)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/renderers/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/renderers/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/renderers/ImageRenderer.js 6:32-75
 @ ./node_modules/react-sketchapp/lib/renderers/index.js
 @ ./node_modules/react-sketchapp/lib/flexToSketchJSON.js
 @ ./node_modules/react-sketchapp/lib/render.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
./node_modules/react-sketchapp/lib/renderers/ArtboardRenderer.js
Module not found: Error: Can't resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/renderers'
resolve '@sketch-hq/sketch-file-format-ts' in '/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/renderers'
  Parsed request is a module
  using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/package.json (relative path: ./lib/renderers)
    Field 'sketch' doesn't contain a valid alias configuration
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/renderers/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/examples/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/react-sketchapp/node_modules doesn't exist or is not a directory
      /Users/briazzi/projects/node_modules doesn't exist or is not a directory
      /Users/briazzi/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
      looking for modules in /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules
        using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules)
          Field 'sketch' doesn't contain a valid alias configuration
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/package.json (relative path: ./node_modules/@sketch-hq/sketch-file-format-ts)
            no extension
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
            .sketch.js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js doesn't exist
            .js
              Field 'sketch' doesn't contain a valid alias configuration
              Field 'browser' doesn't contain a valid alias configuration
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js doesn't exist
            as directory
              /Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts doesn't exist
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/renderers/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/lib/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/react-sketchapp/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/node_modules]
[/Users/briazzi/projects/react-sketchapp/node_modules]
[/Users/briazzi/projects/node_modules]
[/Users/briazzi/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@sketch-hq/sketch-file-format-ts.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.sketch.js]
[/Users/briazzi/projects/react-sketchapp/examples/basic-setup/node_modules/@skpm/builder/node_modules/@sketch-hq/sketch-file-format-ts.js]
 @ ./node_modules/react-sketchapp/lib/renderers/ArtboardRenderer.js 6:32-75
 @ ./node_modules/react-sketchapp/lib/renderers/index.js
 @ ./node_modules/react-sketchapp/lib/flexToSketchJSON.js
 @ ./node_modules/react-sketchapp/lib/render.js
 @ ./node_modules/react-sketchapp/lib/index.js
 @ ./src/my-command.js
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! basic-setup@1.0.0 build: `skpm-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the basic-setup@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/briazzi/.npm/_logs/2019-12-10T15_57_00_064Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! basic-setup@1.0.0 postinstall: `npm run build && skpm-link`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the basic-setup@1.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/briazzi/.npm/_logs/2019-12-10T15_57_00_097Z-debug.log```
mathieudutour commented 4 years ago

thanks, should be fixed in 3.0.5

briazzi64 commented 4 years ago

Thanks @mathieudutour !

yuchuanxi commented 4 years ago

I run npm install -S @sketch-hq/sketch-file-format-ts manual