Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated package.json + added typescript as a devDependencies #30

Merged
merged 1 commit into from
Sep 11, 2022
Merged

updated package.json + added typescript as a devDependencies #30

merged 1 commit into from
Sep 11, 2022

Conversation

Angra974
Copy link
Contributor

Hi all. A small contribution.
Updated in package.json:

@astrolib/seo ^0.2.0 → ^0.2.1
@tailwindcss/typography ^0.5.4 → ^0.5.7
limax ^v2.1.0 → ^v3.0.0
subfont ^6.9.0 → ^6.12.0

Added typescript as a devDependency. ( needed for @typescript-eslint/parser )

@prototypa prototypa merged commit 800f2a4 into onwidget:main Sep 11, 2022
@prototypa
Copy link
Contributor

Thanks @Angra974

In the case of limax, I kept it at ^v2.1.0 due to a bug that is raised on some devices. We have to review this in depth.

✘ [ERROR] No loader is configured for ".node" files: node_modules/@napi-rs/pinyin-darwin-arm64/pinyin.darwin-arm64.node

    node_modules/@napi-rs/pinyin/index.js:89:36:
      89 │             nativeBinding = require('@napi-rs/pinyin-darwin-arm64')
         ╵                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1624
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 1 error:
node_modules/@napi-rs/pinyin/index.js:89:36: ERROR: No loader is configured for ".node" files: node_modules/@napi-rs/pinyin-darwin-arm64/pinyin.darwin-arm64.node
    at failureErrorWithLog (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1624:15)
    at /Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1266:28
    at runOnEndCallbacks (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1046:63)
    at buildResponseToResult (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1264:7)
    at /Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:1377:14
    at /Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:678:9
    at handleIncomingPacket (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:775:9)
    at Socket.readFromStdout (/Users/pixel/Workspace/onwidget/astrowind/node_modules/esbuild/lib/main.js:644:7)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12) {
  errors: [
    {
      detail: undefined,
      id: '',
      location: {
        column: 36,
        file: 'node_modules/@napi-rs/pinyin/index.js',
        length: 30,
        line: 89,
        lineText: "            nativeBinding = require('@napi-rs/pinyin-darwin-arm64')",
        namespace: '',
        suggestion: ''
      },
      notes: [],
      pluginName: '',
      text: 'No loader is configured for ".node" files: node_modules/@napi-rs/pinyin-darwin-arm64/pinyin.darwin-arm64.node'
    }
  ],
  warnings: []
}

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

Successfully merging this pull request may close these issues.

2 participants