deep-foundation / deepcase-app

https://deep-foundation.github.io/deepcase-app/
The Unlicense
11 stars 6 forks source link

⨯ ../deeplinks/imports/client-handler.tsx: Module parse failed: Unexpected token (8:47) #305

Open Konard opened 2 months ago

Konard commented 2 months ago
7:25:51 PM - Starting compilation in watch mode...
[0] 
[0] > @deep-foundation/deepcase-app@0.1.0-beta.14 dev
[0] > next dev "-p" "3007"
[0] 
[0]    ▲ Next.js 14.1.0
[0]    - Local:        http://localhost:3007
[0] 
[0]  ⚠ Invalid next.config.js options detected: 
[0]  ⚠     Unrecognized key(s) in object: 'allowImportingTsExtensions', 'webpack5', 'future', 'strictMode'
[0]  ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
[0] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[0] This information is used to shape Next.js' roadmap and prioritize features.
[0] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[0] https://nextjs.org/telemetry
[0] 
[0] [
[0]   '.js',   '.mjs',
[0]   '.tsx',  '.ts',
[0]   '.jsx',  '.json',
[0]   '.wasm'
[0] ]
[0] /_next/
[0] [
[0]   '.js',   '.mjs',
[0]   '.tsx',  '.ts',
[0]   '.jsx',  '.json',
[0]   '.wasm'
[0] ]
[0] /_next/
[0] [
[0]   '.js',   '.mjs',
[0]   '.tsx',  '.ts',
[0]   '.jsx',  '.json',
[0]   '.wasm'
[0] ]
[0] /_next/
[0]  ✓ Ready in 9.4s
[0]  ○ Compiling / ...
[0]  ⨯ ../deeplinks/imports/client-handler.tsx
[0] Module parse failed: Unexpected token (8:47)
[0] You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
[0] |  * @returns A promise that resolves to an object with either an error property that contains error or data property that contains result of the handler.
[0] |  */
[0] > export async function evalClientHandler(options: {
[0] |   value: string;
[0] |   deep: DeepClient;
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client-handler.tsx
[0] ../deepcase/imports/client-handler.js
[0] ../deepcase/imports/cyto/editor.js
[0] [
[0]   '.js',   '.mjs',
[0]   '.tsx',  '.ts',
[0]   '.jsx',  '.json',
[0]   '.wasm'
[0] ]
[0] /_next/
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/imports/provider.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 33 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/workspace/dev/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js??ruleSet
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 12 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/dynamic|/workspace/dev/packages/deepcase/node_modules/axios/dist/node/axios.cjs': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 27 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/helpers/toFormData.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 33 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/adapters/http.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 120 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/helpers/fromDataURI.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 13 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/helpers/AxiosTransformStream.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 16 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 4 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/dynamic|/workspace/dev/packages/deepcase/node_modules/lru-cache/dist/commonjs/index.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 6 items } -> ProvidedDependency
[0]  ⨯ ../deeplinks/imports/client-handler.tsx
[0] Module parse failed: Unexpected token (8:47)
[0] You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
[0] |  * @returns A promise that resolves to an object with either an error property that contains error or data property that contains result of the handler.
[0] |  */
[0] > export async function evalClientHandler(options: {
[0] |   value: string;
[0] |   deep: DeepClient;
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client-handler.tsx
[0] ../deepcase/imports/client-handler.js
[0] ../deepcase/imports/cyto/editor.js