You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
when I deploy webassebly stuidio locally, i found errors in my webbrowser console which list below
Uncaught (in promise) TypeError: Cannot read property 'name' of null
at Function.compileFile (webpack-internal:///./src/service.ts:227)
at Gulpy.eval (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :47:65)
at step (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :34:23)
at Object.eval [as next] (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :15:53)
at eval (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :9:71)
at new Promise ()
at __awaiter (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :5:12)
at Task.eval [as promiseMaker] (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :43:41)
at TaskInstance.makePromise (webpack-internal:///./src/gulpy.ts:38)
at GulpySession.runInstance (webpack-internal:///./src/gulpy.ts:58)
I found that getFile function return null , its parameter is src/main.c with type string
After getImmediateChild called , the return file is null, path[0] was "src". In the getImmedidateChild function ,it just check wheater its children's name was equal to the src.
Actually its childrens file array didn't contain src which is a directory.
Question : some mistake in my descripstion ? Does newProject load src which is a directory as a child
const file = this.getImmediateChild(path[0]);
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when I deploy webassebly stuidio locally, i found errors in my webbrowser console which list below
Uncaught (in promise) TypeError: Cannot read property 'name' of null
at Function.compileFile (webpack-internal:///./src/service.ts:227)
at Gulpy.eval (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :47:65)
at step (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :34:23)
at Object.eval [as next] (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :15:53)
at eval (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :9:71)
at new Promise ()
at __awaiter (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :5:12)
at Task.eval [as promiseMaker] (eval at contextify (webpack-internal:///./src/utils/taskRunner.ts), :43:41)
at TaskInstance.makePromise (webpack-internal:///./src/gulpy.ts:38)
at GulpySession.runInstance (webpack-internal:///./src/gulpy.ts:58)
I found that getFile function return null , its parameter is src/main.c with type string
After getImmediateChild called , the return file is null, path[0] was "src". In the getImmedidateChild function ,it just check wheater its children's name was equal to the src.
Actually its childrens file array didn't contain src which is a directory.
Question : some mistake in my descripstion ? Does newProject load src which is a directory as a child
const file = this.getImmediateChild(path[0]);
The text was updated successfully, but these errors were encountered: