You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a sketch plugin and I want to make use of sketch-dev-tools, I found the plugin directly download from release could not work due to compatibility issue, so I turn to clone the repo and try to build by myself.
And I got error log like below:
❯ npm run build
> @skpm/[email protected] build
> skpm-build && (mkdir dev-tools.sketchplugin/Contents/Resources/.scripts || true)
[1/8] 🖨 Copied src/manifest.json in 1ms
[2/8] 🔧 Copied assets/package.json
[3/8] ⚒ Copied assets/build-script.js
[4/8] 🔩 Copied assets/icon.png
[5/8] 🛠 Built ./test-log.js in 800ms
error Error while building ./show-debugger.js
./resources/webview.html
Module build failed (from ./node_modules/_@[email protected]@@skpm/extract-loader/lib/extractLoader.js):
ModuleBuildError: Module build failed (from ./node_modules/_@[email protected]@@skpm/extract-loader/lib/extractLoader.js):
NonErrorEmittedError: (Emitted value instead of an instance of Error) TypeError: require(...) is not a function
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@webpack/lib/NormalModule.js:313:13
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:367:11
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:233:18
at runSyncOrAsync (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:143:3)
at iterateNormalLoaders (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:232:2)
at iterateNormalLoaders (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:221:10)
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:111:13)
at Object.<anonymous> (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@css-loader/lib/loader.js:133:3)
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@css-loader/lib/processCss.js:193:3
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@webpack/lib/NormalModule.js:316:20
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:367:11
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:233:18
at runSyncOrAsync (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:143:3)
at iterateNormalLoaders (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:232:2)
at iterateNormalLoaders (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:221:10)
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:111:13)
at Object.<anonymous> (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@css-loader/lib/loader.js:133:3)
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@css-loader/lib/processCss.js:193:3
@ ./src/show-debugger.js 54:24-60
./node_modules/[email protected]@codemirror/lib/codemirror.css
Module build failed (from ./node_modules/_@[email protected]@@skpm/extract-loader/lib/extractLoader.js):
NonErrorEmittedError: (Emitted value instead of an instance of Error) TypeError: require(...) is not a function
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@webpack/lib/NormalModule.js:313:13
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:367:11
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:233:18
at runSyncOrAsync (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:143:3)
at iterateNormalLoaders (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:232:2)
at iterateNormalLoaders (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:221:10)
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:111:13)
at Object.<anonymous> (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@css-loader/lib/loader.js:133:3)
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@css-loader/lib/processCss.js:193:3
@ ./resources/webview.html ../node_modules/codemirror/lib/codemirror.css
@ ./src/show-debugger.js
./resources/style.css
Module build failed (from ./node_modules/_@[email protected]@@skpm/extract-loader/lib/extractLoader.js):
NonErrorEmittedError: (Emitted value instead of an instance of Error) TypeError: require(...) is not a function
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@webpack/lib/NormalModule.js:313:13
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:367:11
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:233:18
at runSyncOrAsync (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:143:3)
at iterateNormalLoaders (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:232:2)
at iterateNormalLoaders (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:221:10)
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@loader-runner/lib/LoaderRunner.js:111:13)
at Object.<anonymous> (/Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@css-loader/lib/loader.js:133:3)
at /Users/borealin/Documents/inlab/sketch-dev-tools/node_modules/[email protected]@css-loader/lib/processCss.js:193:3
@ ./resources/webview.html ./style.css
@ ./src/show-debugger.js
Could you help me find if it's due to my config or arm architecture?
The text was updated successfully, but these errors were encountered:
I'm developing a sketch plugin and I want to make use of sketch-dev-tools, I found the plugin directly download from release could not work due to compatibility issue, so I turn to clone the repo and try to build by myself.
And I got error log like below:
Could you help me find if it's due to my config or arm architecture?
The text was updated successfully, but these errors were encountered: