Skip to content

Uncaught TypeError: Cannot read property 'split' of undefined #1

@Chungy23

Description

@Chungy23

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.43.0 x64
Electron: 4.2.7
OS: "Fedora release
Thrown From: epitech-utils package 1.2.0

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At /home/epitech/.atom/packages/epitech-utils/lib/epitech-utils.js:48

TypeError: Cannot read property 'split' of undefined
    at Object.getFile (/packages/epitech-utils/lib/epitech-utils.js:48:25)
    at Object.insertHeader (/packages/epitech-utils/lib/epitech-utils.js:64:8)
    at HTMLElement.epitechUtilsInsertHeader (/packages/epitech-utils/lib/epitech-utils.js:11:46)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349290)
    at KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:1253549)
    at KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/static/<embedded>:11:1249683)
    at WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/static/<embedded>:11:284496)

Commands

  2x -3:43.9.0 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-always.theme-ubik-hackerman-syntax.theme-aemi-dark-ui.teletype-Authenticated.teletype-Guest)
     -1:21.7.0 core:confirm (input.hidden-input)
     -0:07.1.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -0:05.3.0 epitech-utils:insert-header (input.hidden-input)

Non-Core Packages

aemi-dark-ui 1.0.3 
autocomplete-paths 2.12.2 
epitech-utils 1.2.0 
minimap 4.29.9 
platformio-ide-terminal 2.10.0 
teletype 0.13.4 
ubik-gotham-syntax 1.2.0 
ubik-hackerman-syntax 1.10.0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions