Skip to content

无法获取module路径问题 #680

@Sam0913

Description

@Sam0913

使用demo里面的__MODULE__,直接报错:Exception in thread "main" com.googlecode.aviator.exception.ExpressionRuntimeException: Could not find variable MODULE.dir
路径无法获取是什么问题?
本地使用绝对路径能读取到module,但是打包jar,无法获取

let q = require('script/v2/module/xxxx_module');

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