Giter VIP home page Giter VIP logo

Comments (2)

qq253498229 avatar qq253498229 commented on July 28, 2024

我也遇到了这个问题

/Users/wangbin/src/git/vue/tmagic-editor/magic-admin/server/node_modules/ts-node/src/index.ts:434
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
src/index.ts:26:9 - error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.

26 const { PORT } = process.env;
           ~~~~

    at createTSError (/Users/wangbin/src/git/vue/tmagic-editor/magic-admin/server/node_modules/ts-node/src/index.ts:434:12)
    at reportTSError (/Users/wangbin/src/git/vue/tmagic-editor/magic-admin/server/node_modules/ts-node/src/index.ts:438:19)
    at getOutput (/Users/wangbin/src/git/vue/tmagic-editor/magic-admin/server/node_modules/ts-node/src/index.ts:578:36)
    at Object.compile (/Users/wangbin/src/git/vue/tmagic-editor/magic-admin/server/node_modules/ts-node/src/index.ts:775:32)
    at Module.m._compile (/Users/wangbin/src/git/vue/tmagic-editor/magic-admin/server/node_modules/ts-node/src/index.ts:858:43)
    at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/wangbin/src/git/vue/tmagic-editor/magic-admin/server/node_modules/ts-node/src/index.ts:861:12)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
[nodemon] app crashed - waiting for file changes before starting...

from tmagic-editor.

khuntoriia avatar khuntoriia commented on July 28, 2024

请pull最新的代码试试

from tmagic-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.