Comments (2)
PS D:\Download\Dorisoy.Pan-main\UI> npm run start
[email protected] start
SET NODE_OPTIONS=--openssl-legacy-provider && ng serve✔ Browser application bundle generation complete.
Initial Chunk Files | Names | Size vendor.js | vendor | 2.09 MB styles.css, styles.js | styles | 979.73 kB scripts.js | scripts | 814.72 kB runtime.js | runtime | 6.62 kB main.js | main | 5.80 kB
| Initial Total | 4.35 MB
Build at: 2023-11-28T02:08:56.622Z - Hash: 210982faa80de4897796 - Time: 4727ms
./src/main.ts:3:0-45 - Error: Module not found: Error: Can't resolve './app/app.module' in 'D:\Download\Dorisoy.Pan-main\UI\src'
Error: src/main.ts:4:27 - error TS2307: Cannot find module './app/app.module' or its corresponding type declarations.
4 import { AppModule } from './app/app.module'; ~~~~~~~~~~~~~~~~~~
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
终止批处理操作吗(Y/N)? y PS D:\Download\Dorisoy.Pan-main\UI> npm run build
[email protected] build
SET NODE_OPTIONS=--openssl-legacy-provider && ng build✔ Browser application bundle generation complete.
./src/main.ts:3:0-45 - Error: Module not found: Error: Can't resolve './app/app.module' in 'D:\Download\Dorisoy.Pan-main\UI\src'
Error: src/main.ts:4:27 - error TS2307: Cannot find module './app/app.module' or its corresponding type declarations.
4 import { AppModule } from './app/app.module'; ~~~~~~~~~~~~~~~~~~
PS D:\Download\Dorisoy.Pan-main\UI>
Please compare your node environment,this is my local situation and it works perfectly. you can refer to it....
node -v
v16.15.0
npm version
{
npm: '8.5.5',
node: '16.15.0',
v8: '9.4.146.24-node.20',
uv: '1.43.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.18.1',
modules: '93',
nghttp2: '1.47.0',
napi: '8',
llhttp: '6.0.4',
openssl: '1.1.1n+quic',
cldr: '40.0',
icu: '70.1',
tz: '2021a3',
unicode: '14.0',
ngtcp2: '0.1.0-DEV',
nghttp3: '0.1.0-DEV'
}
ng version
@angular-devkit/architect 0.1502.4
@angular-devkit/core 15.2.4
@angular-devkit/schematics 15.2.4
@schematics/angular 15.2.4
npm view typescript version
5.3.2
PS D:\Git\Dorisoy.Pan\UI> npm run start
Debugger attached.
[email protected] start
ng serve
Debugger attached.
✔ Browser application bundle generation complete.
Initial Chunk Files | Names | Size
vendor.js | vendor | 7.96 MB
styles.css, styles.js | styles | 979.73 kB
main.js | main | 823.50 kB
scripts.js | scripts | 814.72 kB
polyfills.js | polyfills | 510.55 kB
runtime.js | runtime | 12.55 kB
| Initial Total | 11.02 MB
Lazy Chunk Files | Names | Size
default-node_modules_angular_material_fesm2015_datepicker_js.js | - | 322.06 kB
src_app_home_home_module_ts.js | - | 252.31 kB
default-node_modules_angular_material_fesm2015_table_js.js | - | 199.92 kB
src_app_user_user_module_ts.js | - | 121.54 kB
default-node_modules_angular_material_fesm2015_input_js.js | - | 62.86 kB
src_app_n-log_n-log_module_ts.js | - | 61.56 kB
src_app_email-smtp-setting_email-smtp-setting_module_ts.js | - | 54.56 kB
src_app_shared-file_shared-file_module_ts.js | - | 48.24 kB
default-node_modules_angular_material_fesm2015_sort_js.js | - | 47.93 kB
src_app_email-send_email-send_module_ts.js | - | 46.55 kB
src_app_starred-file_starred-file_module_ts.js | - | 45.64 kB
src_app_email-template_email-template_module_ts.js | - | 43.35 kB
src_app_notification_notification_module_ts.js | - | 42.38 kB
src_app_recent-activity_recent-activity_module_ts.js | - | 39.71 kB
default-node_modules_angular_material_fesm2015_slide-toggle_js.js | - | 39.11 kB
src_app_dashboard_dashboard_module_ts.js | - | 38.81 kB
src_app_deleted-file_deleted-file_module_ts.js | - | 36.40 kB
src_app_login-audit_login-audit_module_ts.js | - | 36.22 kB
src_app_login_login_module_ts.js | - | 31.71 kB
common.js | common | 3.24 kB
Build at: 2023-11-29T03:16:10.091Z - Hash: 96222c6c412ee026b7c0 - Time: 29829ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
√ Compiled successfully.
from dorisoy.pan.
PS D:\Download\Dorisoy.Pan-main\UI> node -v
v18.13.0
PS D:\Download\Dorisoy.Pan-main\UI> npm version
{
npm: '8.19.3',
node: '18.13.0',
v8: '10.2.154.23-node.21',
uv: '1.44.2',
zlib: '1.2.13',
brotli: '1.0.9',
ares: '1.18.1',
modules: '108',
nghttp2: '1.51.0',
napi: '8',
llhttp: '6.0.10',
uvwasi: '0.0.13',
openssl: '3.0.7+quic',
cldr: '42.0',
icu: '72.1',
tz: '2022f',
unicode: '15.0',
ngtcp2: '0.8.1',
nghttp3: '0.7.0'
}
PS D:\Download\Dorisoy.Pan-main\UI> ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / | | | | |/ _
| '__| | | | | | |
/ ___ | | | | (| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/
Node: 18.13.0 (Unsupported)
OS: win32 x64
Angular: 12.2.7
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, material, platform-browser, platform-browser-dynamic
... router
Package Version
@angular-devkit/architect 0.1202.7
@angular-devkit/build-angular 12.2.7
@angular-devkit/core 10.2.3
@angular-devkit/schematics 10.2.3
@schematics/angular 9.1.15
rxjs 6.6.7
typescript 4.3.5
Warning: The current version of Node (18.13.0) is not supported by Angular.
PS D:\Download\Dorisoy.Pan-main\UI> npm view typescript version
5.3.2
PS D:\Download\Dorisoy.Pan-main\UI> npm run start
[email protected] start
SET NODE_OPTIONS=--openssl-legacy-provider && ng serve
✔ Browser application bundle generation complete.
Initial Chunk Files | Names | Size
vendor.js | vendor | 2.09 MB
styles.css, styles.js | styles | 979.73 kB
scripts.js | scripts | 814.72 kB
polyfills.js | polyfills | 510.55 kB
runtime.js | runtime | 6.62 kB
main.js | main | 5.80 kB
| Initial Total | 4.35 MB
Build at: 2023-11-29T03:41:41.154Z - Hash: 210982faa80de4897796 - Time: 4490ms
./src/main.ts:3:0-45 - Error: Module not found: Error: Can't resolve './app/app.module' in 'D:\Download\Dorisoy.Pan-main\UI\src'
Error: src/main.ts:4:27 - error TS2307: Cannot find module './app/app.module' or its corresponding type declarations.
4 import { AppModule } from './app/app.module';
~~~~~~~~~~~~~~~~~~
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
终止批处理操作吗(Y/N)? y
PS D:\Download\Dorisoy.Pan-main\UI>
from dorisoy.pan.
Related Issues (20)
- 请问[email protected]、[email protected]的密码是什么? HOT 1
- VS2022上运行,无法进行数据库的还原操作,执行Update-Database后会提示:Your startup project 'Dorisoy.Pan.API' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Ensure your startup project is correct, install the package, and try again. HOT 1
- 我的runtime是dotnet 8.0,vs是2022,无法编译以及跑起程序。 HOT 2
- 无法上传文件,上传失败,请问怎么处理? HOT 3
- hh
- 前端始终无法运行,肯请指出问题,非常感谢 HOT 1
- 可以正确执行的mysql迁移脚本 HOT 1
- node版本问题
- 演示环境的账号密码是更换了嘛 HOT 2
- 如何切换至SQLSERVER HOT 4
- 登录UI和截屏的不一样,上传文件失败 HOT 1
- Dorisoy.PanClient lost some ref projects HOT 1
- 演示环境登录报错 HOT 1
- 调用新建文件夹和上传文件接口都失败? HOT 1
- Client缺少Dorisoy.PanClient.Common HOT 3
- Dorisoy.Pan.Client 这里面的桌面程序无法运行 HOT 1
- Unable to create a 'DbContext' of type ''. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions' HOT 1
- 体验账号登录失败 HOT 1
- 无法上传,桌面端干脆编译不过去
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dorisoy.pan.