Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Error When Opening Any .js File

    Help wanted · · · – – – · · ·
    2
    2
    1475
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Chris Is Awesome
      Chris Is Awesome last edited by Chris Is Awesome

      I’m trying to switch IDEs from Monodevelop to Notepad++ for use with Unity for my game development. But when I try to open a .js file made in Monodevelop using Unityscript (Unity’s version of Javascript), I get the error “Session file is either corrupted or invalid”. Is this because it’s not true Javascript, as I’ve said, it is actually Unityscript? Either way, .js is a text file, so it should be able to open it, right?

      I’ve tried setting the language to Javascript and that changes nothing. I’ve reinstalled the latest version of N++ and have tried other file formats. It only happens with .js files.

      Any help would be greatly appreciated!

      1 Reply Last reply Reply Quote 0
      • dail
        dail last edited by

        Under Settings > Preferences > Misc. make sure “session file ext” is not set to “js”

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors