Coder Social home page Coder Social logo

onCreateMenu about ang-jsoneditor HOT 6 CLOSED

mariohmol avatar mariohmol commented on August 15, 2024
onCreateMenu

from ang-jsoneditor.

Comments (6)

mariohmol avatar mariohmol commented on August 15, 2024

Hi!
Thanks for that.. I think you have to make something like this

https://github.com/mariohmol/ang-jsoneditor/blob/master/ang-jsoneditor/src/jsoneditor/jsoneditor.component.ts#L128

from ang-jsoneditor.

amirnourazar avatar amirnourazar commented on August 15, 2024

thanks,
I tried to build the project but I got an error:
[error] TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf ()
at Object.__extends (D:\Projects\ang-jsoneditor-master\node_modules\tslib\tslib.js:65:9)
at D:\Projects\ang-jsoneditor-master\node_modules@angular\compiler-cli\src\ngtsc\indexer\src\template.js:115:17
at D:\Projects\ang-jsoneditor-master\node_modules@angular\compiler-cli\src\ngtsc\indexer\src\template.js:314:6
at D:\Projects\ang-jsoneditor-master\node_modules@angular\compiler-cli\src\ngtsc\indexer\src\template.js:3:17
at Object. (D:\Projects\ang-jsoneditor-master\node_modules@angular\compiler-cli\src\ngtsc\indexer\src\template.js:9:3)
at Module._compile (internal/modules/cjs/loader.js:868:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
at Module.load (internal/modules/cjs/loader.js:731:32)
at Function.Module._load (internal/modules/cjs/loader.js:644:12)
at Module.require (internal/modules/cjs/loader.js:771:19)
at require (internal/modules/cjs/helpers.js:68:18)
at D:\Projects\ang-jsoneditor-master\node_modules@angular\compiler-cli\src\ngtsc\indexer\src\transform.js:20:22
at D:\Projects\ang-jsoneditor-master\node_modules@angular\compiler-cli\src\ngtsc\indexer\src\transform.js:10:17
at Object. (D:\Projects\ang-jsoneditor-master\node_modules@angular\compiler-cli\src\ngtsc\indexer\src\transform.js:16:3)
at Module._compile (internal/modules/cjs/loader.js:868:30)

from ang-jsoneditor.

mariohmol avatar mariohmol commented on August 15, 2024

isnt the typescript version?

check my env

ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 8.1.2
Node: 12.2.0
OS: darwin x64
Angular: 8.1.3
... common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.800.6
@angular-devkit/build-angular     0.800.6
@angular-devkit/build-optimizer   0.800.6
@angular-devkit/build-webpack     0.800.6
@angular-devkit/core              8.0.6
@angular-devkit/schematics        0.6.8
@angular/cli                      8.1.2
@angular/http                     7.2.15
@ngtools/json-schema              1.1.0
@ngtools/webpack                  8.0.6
@schematics/angular               8.1.2
@schematics/update                0.801.2
ng-packagr                        3.0.6
rxjs                              6.5.2
typescript                        3.4.3
webpack                           4.38.0

from ang-jsoneditor.

mariohmol avatar mariohmol commented on August 15, 2024

i;m getting this error here as well https://travis-ci.org/mariohmol/ang-jsoneditor/builds/601796867

from ang-jsoneditor.

mariohmol avatar mariohmol commented on August 15, 2024

included in 1.9.1 , see if that works for u

from ang-jsoneditor.

MichaelPanwenjie avatar MichaelPanwenjie commented on August 15, 2024

In 1.9.1 , it still not found.
Which version should i get?

from ang-jsoneditor.

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.